/* Кнопка вызова (плавающая) */
#air-quiz-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: #0088cc; /* Цвет Telegram/Бизнеса */
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    cursor: pointer;
    z-index: 9998;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: pulse 2s infinite;
    border: none;
    transition: transform 0.3s;
}
#air-quiz-btn:hover { transform: scale(1.1); }
#air-quiz-btn svg { width: 35px; height: 35px; fill: white; }

/* Модальное окно (фон) */
#air-quiz-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(3px); /* Эффект размытия фона */
}

/* Контент окна */
.air-quiz-content {
    background: white;
    width: 90%;
    max-width: 450px;
    border-radius: 15px;
    padding: 30px;
    position: relative;
    font-family: 'Arial', sans-serif;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Крестик закрытия */
.air-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #aaa;
    line-height: 20px;
}
.air-close:hover { color: #333; }

/* Шаги квиза */
.quiz-step { display: none; animation: fadeIn 0.4s; }
.quiz-step.active { display: block; }

.quiz-header {
    text-align: center;
    margin-bottom: 20px;
}
.quiz-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    line-height: 1.4;
}
.quiz-subtitle {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

/* Опции выбора */
.quiz-options label {
    display: flex;
    align-items: center;
    background: #f4f6f9;
    padding: 12px 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    cursor: pointer;
    border: 1px solid #e1e1e1;
    transition: 0.2s;
}
.quiz-options label:hover {
    background: #eef2f7;
    border-color: #0088cc;
}
.quiz-options input[type="radio"] { margin-right: 12px; transform: scale(1.2); }

/* Кнопки и инпуты */
.quiz-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 14px;
    width: 100%;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 15px;
    font-weight: bold;
    transition: 0.2s;
}
.quiz-btn:hover { background: #218838; }

.quiz-input {
    width: 100%;
    padding: 14px;
    margin-bottom: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
    background: #fafafa;
}
.quiz-input:focus { border-color: #0088cc; outline: none; background: #fff; }

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 136, 204, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(0, 136, 204, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 136, 204, 0); }
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}