/* Assistant Chat Bot – стили в единой цветовой гамме сайта */
.assistant-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: var(--gradient);                /* градиент красный-коричневый */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 1000;
    border: none;
    color: #fff;
    font-size: 28px;
}
.assistant-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(231,76,60,0.4);
}
.assistant-chat {
    position: fixed;
    bottom: 95px;
    right: 25px;
    width: 350px;
    max-width: calc(100vw - 50px);
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(231,76,60,0.2);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: 0.2s;
    font-family: 'Inter', sans-serif;
}
.assistant-header {
    background: var(--gradient);               /* градиент как у кнопок */
    padding: 15px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.assistant-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #fff;                               /* белый текст на тёмном фоне */
    font-family: 'Montserrat', sans-serif;
}
.close-chat {
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
}
.close-chat:hover {
    opacity: 1;
}
.assistant-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.assistant-body input,
.assistant-body textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(231,76,60,0.2);
    border-radius: var(--radius);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    background: #fff;
    transition: 0.2s;
}
.assistant-body input:focus,
.assistant-body textarea:focus {
    outline: none;
    border-color: var(--accent-red);
    box-shadow: 0 0 0 2px rgba(231,76,60,0.2);
}
.assistant-body textarea {
    resize: vertical;
    min-height: 100px;
}
.send-assistant {
    background: var(--gradient);               /* градиент как у кнопок */
    border: none;
    padding: 12px;
    color: #fff;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.2s;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.send-assistant:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231,76,60,0.3);
}
.send-assistant:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}
.assistant-status {
    font-size: 0.8rem;
    text-align: center;
    margin-top: 5px;
    color: var(--text-light);
}
.hide {
    display: none;
}
/* Мобильная адаптация */
@media (max-width: 768px) {
    .assistant-chat {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90vw;
        max-width: 400px;
        max-height: 90vh;
        bottom: auto;
        right: auto;
        display: flex;
        flex-direction: column;
    }
    .assistant-body {
        flex: 1;
        overflow-y: auto;
        padding: 20px;
        max-height: calc(90vh - 120px);
    }
    .assistant-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }
}
/* Чекбокс политики в помощнике */
.assistant-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0;
    font-size: 0.85rem;
    line-height: 1.2;
}
.assistant-checkbox input {
    width: auto;
    margin: 0;
    flex-shrink: 0;
    transform: translateY(1px);
}
.assistant-checkbox label {
    margin: 0;
    cursor: pointer;
}
.assistant-checkbox a {
    color: var(--accent-red);
    text-decoration: none;
}
.assistant-checkbox a:hover {
    text-decoration: underline;
}