/* Основные стили баннера */
.scc-cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999999;
    max-width: 480px;
    width: calc(100% - 40px);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    padding: 20px 24px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    box-sizing: border-box;
    animation: scc-fade-in 0.4s ease-out;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@keyframes scc-fade-in {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.scc-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.scc-banner-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #1a1a1a;
    flex: 1;
    min-width: 180px;
}

/* Кнопки */
.scc-banner-buttons {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.scc-button {
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    line-height: 1.4;
    font-family: inherit;
    white-space: nowrap;
}

/* Кнопка "Принять" */
.scc-button-accept {
    background-color: #1e3c45;
    color: #ffffff;
}

.scc-button-accept:hover {
    background-color: #152e35;
    color: #ffffff;
}

/* Кнопка "Отклонить" */
.scc-button-reject {
    background-color: transparent;
    color: #1e3c45;
    border: 1px solid #1e3c45;
}

.scc-button-reject:hover {
    background-color: rgba(30, 60, 69, 0.08);
    color: #1e3c45;
}

/* Адаптивность */
@media (max-width: 600px) {
    .scc-cookie-banner {
        bottom: 10px;
        padding: 16px 20px;
    }
    
    .scc-banner-content {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .scc-banner-text {
        text-align: center;
        font-size: 13px;
    }
    
    .scc-banner-buttons {
        justify-content: center;
    }
    
    .scc-button {
        padding: 8px 24px;
        font-size: 13px;
    }
}

/* Анимация закрытия */
.scc-cookie-banner.hiding {
    animation: scc-fade-out 0.3s ease-in forwards;
}

@keyframes scc-fade-out {
    from {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    to {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}