/* ===== COOKIE BANNER STYLES ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(11, 31, 54, 0.98);
    backdrop-filter: blur(20px);
    color: white;
    padding: 1.5rem;
    z-index: 2000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.cookie-icon {
    font-size: 32px;
    color: #fbbf24;
}

.cookie-text {
    flex: 1;
}

.cookie-text h4 {
    margin-bottom: 0.5rem;
    font-size: 20px;
    font-weight: 500;
    color: white;
}

.cookie-text p {
    color: #cbd5e1;
    margin: 0;
    font-size: 16px;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.cookie-btn-primary {
    background: #10b981;
    color: white;
}

.cookie-btn-primary:hover {
    background: #059669;
    transform: translateY(-2px);
}

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

.cookie-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.cookie-btn-decline {
    background: transparent;
    color: #ef4444;
    border: 1px solid #ef4444;
}

.cookie-btn-decline:hover {
    background: #ef4444;
    color: white;
}

/* ===== COOKIE MODAL STYLES ===== */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    z-index: 2001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.cookie-modal.show {
    display: flex;
}

.cookie-modal-content {
    background: white;
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.cookie-modal-header h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #0B1F36;
    margin: 0;
    font-size: 24px;
}

.cookie-modal-close {
    background: none;
    border: none;
    color: #3C3C3C;
    font-size: 20px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.cookie-modal-close:hover {
    color: #0B1F36;
}

.cookie-modal-body {
    padding: 2rem;
}

.cookie-modal-description {
    color: #3C3C3C;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 16px;
}

.cookie-category {
    margin-bottom: 1.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
}

.cookie-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-category-info h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #0B1F36;
    font-size: 18px;
}

.cookie-category-info p {
    color: #3C3C3C;
    font-size: 14px;
    margin: 0;
}

/* Toggle Switch Styles */
.cookie-toggle {
    position: relative;
}

.cookie-toggle input[type="checkbox"] {
    display: none;
}

.toggle-label {
    display: block;
    width: 50px;
    height: 28px;
    background: #e2e8f0;
    border-radius: 14px;
    cursor: pointer;
    position: relative;
    transition: background 0.3s ease;
}

.toggle-label:hover {
    background: #cbd5e1;
}

.toggle-inner {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

input[type="checkbox"]:checked+.toggle-label {
    background: #10b981;
}

input[type="checkbox"]:checked+.toggle-label .toggle-inner {
    transform: translateX(22px);
}

input[type="checkbox"]:disabled+.toggle-label {
    opacity: 0.5;
    cursor: not-allowed;
}

.cookie-policy-link {
    margin-top: 2rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
}

.cookie-policy-link p {
    margin: 0;
    font-size: 14px;
    color: #3C3C3C;
}

.cookie-link {
    color: #8b5cf6;
    text-decoration: none;
}

.cookie-link:hover {
    text-decoration: underline;
}

.cookie-modal-footer {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding: 1rem 2rem 2rem;
    border-top: 1px solid #e2e8f0;
}

/* Floating Cookie Settings Button */
.cookie-settings-float {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 1001;
}

.cookie-float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #8b5cf6;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 24px;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
    transition: all 0.3s ease;
}

.cookie-float-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(139, 92, 246, 0.4);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .cookie-actions {
        width: 100%;
        justify-content: center;
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
        justify-content: center;
    }

    .cookie-settings-float {
        bottom: 1rem;
        left: 1rem;
    }

    .cookie-float-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .cookie-modal {
        padding: 0;
        align-items: flex-end;
    }

    .cookie-modal-content {
        max-height: 90vh;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }
}