/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(12px);
    border: 1px border rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    z-index: 9999;
    padding: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    display: none;
    animation: slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
    from {
        transform: translateY(100%) opacity(0);
    }

    to {
        transform: translateY(0) opacity(1);
    }
}

.cookie-consent.active {
    display: block;
}

.cookie-consent-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (min-width: 768px) {
    .cookie-consent-container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.cookie-consent-text h4 {
    color: white;
    font-weight: 700;
    margin-bottom: 8px;
}

.cookie-consent-text p {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-consent-text a {
    color: #EE8C2B;
    text-decoration: underline;
}

.cookie-consent-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cookie-consent-btn {
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.2s;
    cursor: pointer;
}

.cookie-consent-btn-accept {
    background: #EE8C2B;
    color: white;
    border: none;
}

.cookie-consent-btn-accept:hover {
    background: #d97706;
    transform: translateY(-2px);
}

.cookie-consent-btn-decline {
    background: rgba(255, 255, 255, 0.05);
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-consent-btn-decline:hover {
    background: rgba(255, 255, 255, 0.1);
}

.cookie-consent-btn-settings {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Modal Styles */
.cookie-settings-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-settings-modal.active {
    display: flex;
}

.cookie-settings-content {
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 32px;
}

.cookie-settings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.cookie-settings-close {
    background: none;
    border: none;
    color: white;
    font-size: 32px;
    cursor: pointer;
}

.cookie-category {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #334155;
    transition: .4s;
    border-radius: 24px;
}

.cookie-toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.cookie-toggle-slider {
    background-color: #EE8C2B;
}

input:checked+.cookie-toggle-slider:before {
    transform: translateX(20px);
}

input:disabled+.cookie-toggle-slider {
    opacity: 0.5;
    cursor: not-allowed;
}