.quiz-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 1200px;
    width: 100%;
    padding: 40px 40px 30px;
    animation: slideIn 0.5s ease-out;
    min-height: 600px;
    display: flex;
    flex-direction: column;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.progress-container {
    margin-bottom: 30px;
    flex-shrink: 0;
}

.progress-bar {
    height: 8px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50 0%, #8BC34A 100%);
    border-radius: 10px;
    transition: width 0.5s ease;
    width: 0%;
}

.progress-text {
    text-align: center;
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

.quiz-slide {
    display: none;
    animation: fadeIn 0.4s ease;
    flex: 1;
}

.quiz-slide.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Плавное и быстрое появление слайдов */
@keyframes slideInAnimation {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.quiz-slide.slide-in {
    animation: slideInAnimation 0.2s ease-out;
}

@keyframes slideOutAnimation {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(-30px);
    }
}

.quiz-slide.slide-out {
    animation: slideOutAnimation 0.2s ease-in forwards;
}

.quiz-title {
    text-align: center;
    font-size: 28px;
    color: #333;
    margin-bottom: 40px;
    font-weight: 700;
}

.options-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.option-card {
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    position: relative;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.option-card.selected {
    background: #f1f8f4;
}

.option-card.selected::after {
    content: '✓';
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    background: #4CAF50;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.option-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    background: #f5f5f5;
}

.option-image-none {
    width: 100%;
    height: 150px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.option-radio-circle {
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 50%;
    margin: 15px auto 0;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.option-card.selected .option-radio-circle {
    border-color: #4CAF50;
    background: radial-gradient(circle, #4CAF50 0%, #4CAF50 45%, transparent 50%);
}

.option-label {
    padding: 15px;
    text-align: center;
    font-size: 16px;
    color: #333;
}

.slider-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.slider-label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

.slider-input {
    width: 80px;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

.slider-input:focus {
    outline: none;
    border-color: #8BC34A;
    box-shadow: 0 0 0 3px rgba(139, 195, 74, 0.1);
}

.range-slider {
    flex: 1;
    position: relative;
    height: 40px;
    display: flex;
    align-items: center;
}

.range-input {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 10;
    margin: 0;
}

.range-track {
    position: absolute;
    width: 100%;
    height: 8px;
    background: #d4edda;
    border-radius: 10px;
    overflow: hidden;
}

.range-fill {
    height: 100%;
    background: linear-gradient(90deg, #8BC34A 0%, #A5D66A 100%);
    border-radius: 10px;
    transition: width 0.1s ease;
    width: 0%;
}

.range-thumb {
    position: absolute;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #8BC34A 0%, #6B9F3A 100%);
    border-radius: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 8px rgba(139, 195, 74, 0.4);
    transition: left 0.1s ease;
    left: 0%;
    pointer-events: none;
}

.range-thumb::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    opacity: 0.3;
}

.slider-values {
    display: flex;
    justify-content: space-between;
    padding: 0 5px;
}

.slider-min,
.slider-max {
    font-size: 14px;
    color: #999;
    font-weight: 500;
}

.quiz-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: auto;
    padding-top: 30px;
    flex-shrink: 0;
    border-top: 1px solid #f0f0f0;
}

.helper-text {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    font-size: 14px;
    flex: 1;
}

.helper-icon {
    font-size: 24px;
}

.btn-next,
.btn-prev {
    background: linear-gradient(135deg, #4CAF50 0%, #8BC34A 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.btn-prev {
    background: transparent;
    color: #999;
    box-shadow: none;
}

.btn-prev:hover {
    background: transparent;
    color: #666;
    transform: translateY(-2px);
    box-shadow: none;
}

.btn-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.btn-next:active,
.btn-prev:active {
    transform: translateY(0);
}

.btn-next:disabled {
    background: #ccc;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

#gateOptionsContainer .option-card {
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

#gateOptionsContainer .option-card.selected {
    border-color: #4CAF50;
    background: #f1f8f4;
}

#heightOptionsContainer .option-card.selected::after,
#timingOptionsContainer .option-card.selected::after,
#distanceOptionsContainer .option-card.selected::after,
#budgetOptionsContainer .option-card.selected::after,
#gateOptionsContainer .option-card[data-value="none"].selected::after {
    display: none;
}

#heightOptionsContainer .option-card,
#timingOptionsContainer .option-card,
#distanceOptionsContainer .option-card,
#budgetOptionsContainer .option-card {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    min-height: 50px;
    margin-bottom: 15px;
}

#heightOptionsContainer .option-card.selected,
#timingOptionsContainer .option-card.selected,
#distanceOptionsContainer .option-card.selected,
#budgetOptionsContainer .option-card.selected {
    border-color: #4CAF50;
    background: #f1f8f4;
}

#heightOptionsContainer .option-card .option-label,
#timingOptionsContainer .option-card .option-label,
#distanceOptionsContainer .option-card .option-label,
#budgetOptionsContainer .option-card .option-label {
    padding: 0 0 0 10px;
    text-align: left;
    font-size: 14px;
    flex: 1;
}

#heightOptionsContainer .option-radio-circle,
#timingOptionsContainer .option-radio-circle,
#distanceOptionsContainer .option-radio-circle,
#budgetOptionsContainer .option-radio-circle {
    margin: 0;
}

/* Стили для финального слайда с контактами */
#slide-8 {
    display: none;
}

#slide-8.active {
    display: block;
}

.contact-title {
    text-align: center;
    font-size: 24px;
    color: #333;
    margin-bottom: 30px;
    font-weight: 700;
    line-height: 1.4;
}

.contact-form-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 0 30px;
}

.contact-form-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 500px;
}

input.input-field {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    color: #333;
    background: #f9f9f9;
    transition: all 0.3s ease;
}

.input-field:focus {
    outline: none;
    border-color: #8BC34A;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(139, 195, 74, 0.1);
}

/* Стили для ошибок валидации */
.input-field.error {
    border-color: #ff4444;
    background: #fff5f5;
    box-shadow: 0 0 0 3px rgba(255, 68, 68, 0.1);
}

.input-field.error:focus {
    border-color: #ff4444;
    box-shadow: 0 0 0 3px rgba(255, 68, 68, 0.15);
}

/* Стили для чекбокса с ошибкой */
#quizAgreement.error {
    outline: 2px solid #ff4444;
    outline-offset: 2px;
    border-radius: 4px;
}

.agreement-container {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
}

.agreement-container input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: #4CAF50;
    cursor: pointer;
    flex-shrink: 0;
}

.agreement-container label {
    font-size: 13px;
    color: #777;
    line-height: 1.5;
    cursor: pointer;
    margin: 0;
}

.agreement-container label a {
    color: #4CAF50;
    text-decoration: underline;
}

.contact-form-right {
    flex: 1;
    padding-left: 20px;
}

.benefits-title {
    font-size: 18px;
    color: #333;
    font-weight: 600;
    margin-bottom: 15px;
}

.benefits-list {
    padding-left: 20px;
    font-size: 15px;
    color: #555;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .quiz-container {
        padding: 25px 15px 20px;
        min-height: auto;
    }

    .quiz-title {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .options-container {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 20px;
    }

    #optionsContainer,
    #gateOptionsContainer {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    #optionsContainer .option-image,
    #gateOptionsContainer .option-image {
        height: 100px;
    }

    #optionsContainer .option-card,
    #gateOptionsContainer .option-card {
        margin-bottom: 0;
    }

    #optionsContainer .option-label,
    #gateOptionsContainer .option-label {
        font-size: 14px;
        padding: 10px;
    }

    #heightOptionsContainer,
    #timingOptionsContainer,
    #distanceOptionsContainer,
    #budgetOptionsContainer {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 20px;
    }

    #heightOptionsContainer .option-card,
    #timingOptionsContainer .option-card,
    #distanceOptionsContainer .option-card,
    #budgetOptionsContainer .option-card {
        margin-bottom: 0;
        min-height: 45px;
    }

    /* Мобильная версия футера */
    .quiz-footer {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid #f0f0f0;
    }

    /* Скрываем helper-text на мобильных */
    .helper-text {
        display: none;
    }

    .btn-prev,
    .btn-next {
        flex: 1;
        padding: 12px 20px;
        font-size: 14px;
        max-width: 150px;
    }

    .btn-prev {
        margin-right: auto;
    }

    .btn-next {
        margin-left: auto;
    }

    .slider-wrapper {
        flex-direction: column;
        align-items: stretch;
    }

    .slider-input {
        width: 100%;
        margin-bottom: 10px;
    }

    .range-slider {
        height: 50px;
    }

    .contact-form-container {
        flex-direction: column;
        gap: 20px;
    }

    .contact-form-right {
        padding-left: 0;
    }

    .contact-title {
        font-size: 16px;
        margin-bottom: 20px;
    }
}

@media (min-width: 769px) and (max-width: 1200px) {
    #optionsContainer,
    #gateOptionsContainer {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }

    #optionsContainer .option-image,
    #gateOptionsContainer .option-image {
        height: 130px;
    }

    #optionsContainer .option-label,
    #gateOptionsContainer .option-label {
        font-size: 15px;
        padding: 12px;
    }

    #heightOptionsContainer,
    #timingOptionsContainer,
    #distanceOptionsContainer,
    #budgetOptionsContainer {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 30px;
    }
}

/*
Popup
*/

body.fencez_popup_body {
    font-family: Montserrat, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.fencez_popup_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.fencez_popup_overlay.active {
    opacity: 1;
    visibility: visible;
}

.fencez_popup_container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 90%;
    padding: 40px;
    position: relative;
    transform: translateY(30px) scale(0.95);
    transition: all 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.fencez_popup_container.active {
    transform: translateY(0) scale(1);
}

.fencez_popup_close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    border: none;
    background: #f0f0f0;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #666;
    z-index: 10;
}

.fencez_popup_close:hover {
    background: #e0e0e0;
    color: #333;
    transform: rotate(90deg);
}

.fencez_popup_title {
    text-align: center;
    font-size: 22px;
    color: #333;
    margin-bottom: 30px;
    font-weight: 700;
    line-height: 1.4;
}

.fencez_popup_form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.fencez_form_group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.fencez_form_group label {
    font-size: 14px;
    color: #555;
    font-weight: 600;
}

input.fencez_form_input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    color: #333;
    background: #f9f9f9;
    transition: all 0.3s ease;
    font-family: inherit;
}

input.fencez_form_input:focus {
    outline: none;
    border-color: #8BC34A;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(139, 195, 74, 0.1);
}

.fencez_checkbox_group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
}

.fencez_checkbox_group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: #4CAF50;
    cursor: pointer;
}

.fencez_checkbox_group label {
    font-size: 13px;
    color: #777;
    line-height: 1.5;
    cursor: pointer;
    margin: 0;
}

.fencez_checkbox_group label a {
    color: #4CAF50;
    text-decoration: underline;
}

.fencez_submit_btn {
    background: linear-gradient(135deg, #4CAF50 0%, #8BC34A 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    width: 100%;
    margin-top: 5px;
}

.fencez_submit_btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.fencez_submit_btn:active {
    transform: translateY(0);
}

.fencez_submit_btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.fencez_error_message {
    display: none;
    color: #e74c3c;
    font-size: 13px;
    margin-top: 5px;
}

.fencez_error_message.active {
    display: block;
}

.fencez_benefits_list {
    padding-left: 20px;
    font-size: 14px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.fencez_benefits_list li {
    margin-bottom: 5px;
}

@media (max-width: 768px) {
    .fencez_popup_container {
        padding: 30px 20px;
    }

    .fencez_popup_title {
        font-size: 18px;
        margin-bottom: 20px;
    }
}


/* ========== NAVIGATION PANEL ========== */
.fb-nav-panel {
    position: fixed;
    bottom: 16px;
    left: 16px;
    right: 16px;
    z-index: 50;
    display: none;
}

@media (max-width: 768px) {
    .fb-nav-panel {
        display: block;
    }
}

.fb-nav-container {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 12px;
    border: 1px solid rgba(30, 41, 59, 0.8);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    transition: box-shadow 0.3s ease;
}

.fb-nav-container:hover {
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* ========== LEFT SECTION ========== */
.fb-left-section {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 8px;
    flex-shrink: 0;
}

/* ========== STATUS INDICATOR ========== */
.fb-status-indicator {
    position: relative;
    display: flex;
    height: 8px;
    width: 8px;
    flex-shrink: 0;
}

.fb-status-ping {
    position: absolute;
    display: inline-flex;
    height: 100%;
    width: 100%;
    border-radius: 50%;
    background: rgba(52, 211, 153, 0.4);
    animation: fb-ping 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.fb-status-dot {
    position: relative;
    display: inline-flex;
    border-radius: 50%;
    height: 8px;
    width: 8px;
    background: #10b981;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
}

@keyframes fb-ping {
    0% {
        transform: scale(1);
        opacity: 0.75;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* ========== PHONE SECTION ========== */
.fb-phone-wrapper {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.fb-phone-link {
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
    letter-spacing: 0.3px;
}

.fb-phone-link:hover {
    color: #34d399;
}

.fb-online-status {
    display: block;
    font-size: 9px;
    color: #94a3b8;
    font-weight: 400;
    letter-spacing: 0.2px;
}

/* ========== RIGHT SECTION ========== */
.fb-right-section {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* ========== CTA BUTTON ========== */
.fb-cta-button {
    background: #ef4444;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 10px 16px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);
    transition: all 0.25s ease;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.fb-cta-button:hover {
    background: #dc2626;
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.5);
    transform: translateY(-1px);
}

.fb-cta-button:active {
    background: #b91c1c;
    transform: scale(0.96);
}

/* Button shine effect */
.fb-cta-button::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.fb-cta-button:hover::after {
    transform: translateX(100%);
}

/* ========== RESPONSIVE TWEAKS ========== */
@media (max-width: 480px) {
    .fb-nav-container {
        padding: 15px;
        gap: 6px;
    }
    
    .fb-left-section {
        padding-left: 4px;
        gap: 6px;
    }
    
    .fb-phone-link {
        font-size: 14px;
    }
    
    .fb-online-status {
        font-size: 11px;
    }
    
    .fb-cta-button {
        font-size: 10px;
        padding: 8px 12px;
        letter-spacing: 0.08em;
    }
}

@media (max-width: 380px) {
    .fb-phone-link {
        font-size: 12px;
    }
    
    .fb-online-status {
        font-size: 10px;
    }
    
    .fb-cta-button {
        font-size: 11px;
        padding: 6px 10px;
    }
}

    /* ============================================
           ВСЕ КЛАССЫ БАННЕРА С ПРЕФИКСОМ "cookie-"
   ============================================ */

/* Основной контейнер баннера - ПО УМОЛЧАНИЮ СКРЫТ */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 50;
    max-width: 315px;
    width: 100%;
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(4px);
    color: #ffffff;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    
    /* Скрыт по умолчанию */
    transform: translateX(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Показанное состояние */
.cookie-banner.cookie-visible {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

/* Внутренний контейнер */
.cookie-banner-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

/* Текст баннера */
.cookie-banner-text {
    font-size: 11px;
    line-height: 1.5;
    color: #e5e7eb;
    text-align: center;
    margin: 0;
}
.cookie-banner-text a {
    color: #60a5fa;
    text-decoration: underline;
    transition: color 0.2s;
}
.cookie-banner-text a:hover {
    color: #93bbfc;
}

/* Блок с кнопками */
.cookie-banner-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

/* Базовый стиль кнопок */
.cookie-btn {
    display: inline-block;
    padding: 8px 18px;
    font-size: 11px;
    font-weight: 500;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    text-decoration: none;
    text-align: center;
    line-height: 1.2;
}
.cookie-btn:active {
    transform: scale(0.96);
}

/* Кнопка "Отклонить" */
.cookie-btn-decline {
    background: #374151;
    color: #d1d5db;
}
.cookie-btn-decline:hover {
    background: #4b5563;
}

/* Кнопка "Принять всё" */
.cookie-btn-accept {
    background: #059669;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}
.cookie-btn-accept:hover {
    background: #047857;
}

/* ===== Адаптивность для маленьких экранов ===== */
@media (max-width: 400px) {
    .cookie-banner {
        left: 10px;
        right: 10px;
        bottom: 10px;
        max-width: none;
        width: auto;
        border-radius: 12px;
    }
    .cookie-banner-actions {
        flex-direction: column;
        width: 100%;
    }
    .cookie-btn {
        width: 100%;
        justify-content: center;
    }
}
