#ai-chat {
    position: fixed;
    right: 20px;
    bottom: 70px;
    width: 360px;
    height: 520px;
    background: #111;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    z-index: 999999;
}

.hidden {
    display: none !important;
}

.gpt-fab {
    position: fixed;
    right: 10px;
/*    bottom: 145px; */
    bottom: 15px;

    width: 46px;   /* 55 / 1.5  36px */
    height: 46px;  /* 55 / 1.5  36px */

    border-radius: 50%;
    background: linear-gradient(135deg, #c3c3c3, #040404);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);

    display: flex;
    justify-content: center;
    align-items: center;

    cursor: pointer;
    z-index: 9999999;

    font-size: 22px; /* увеличили внутренний символ */
    color: white;
}

.gpt-fab:hover {
    transform: scale(1.1);
}


#ai-header {
    padding: 12px;
    background: #1f1f1f;
    color: white;
    font-weight: bold;
}

#ai-body {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.msg {
    padding: 10px;
    border-radius: 12px;
    max-width: 80%;
}

.user {
    background: #2b6cff;
    align-self: flex-end;
}

.bot {
    background: #2a2a2a;
    align-self: flex-start;
}

#ai-input {
    display: flex;
    padding: 10px;
    background: #000;
    gap: 8px;
}

#ai-text {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 8px;
    background: #1f1f1f;
    color: white;
}

button {
    background: #2b6cff;
    border: none;
    color: white;
    padding: 10px;
    border-radius: 8px;
}