/* ============================================ */
/* GDPR Cookie Consent Banner */
/* ============================================ */

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 -4px 20px rgba(15, 48, 76, 0.15);
    padding: 24px 20px;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.4s ease-in-out;
    border-top: 3px solid #0F304C;
}

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

.cookie-consent.hide {
    transform: translateY(100%);
}

.cookie-consent-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-consent-text {
    flex: 1;
    min-width: 300px;
}

.cookie-consent-text h4 {
    font-family: 'Ysabeau Office', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: #0F304C;
    margin: 0 0 8px 0;
}

.cookie-consent-text p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #333333;
    margin: 0;
}

.cookie-consent-text a {
    color: #A2C614;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.cookie-consent-text a:hover {
    color: #0F304C;
}

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

.cookie-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-family: 'Public Sans', sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: #0F304C !important;
    color: #ffffff !important;
}

.cookie-btn-accept:hover {
    background: #A2C614 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(162, 198, 20, 0.3);
}

.cookie-btn-decline {
    background: transparent;
    color: #0F304C;
    border: 2px solid #0F304C;
}

.cookie-btn-decline:hover {
    background: #0F304C;
    color: #ffffff;
}

.cookie-btn-settings {
    background: transparent;
    color: #333333;
    border: 2px solid #D4D3D4;
    font-size: 0.875rem;
    padding: 10px 20px;
}

.cookie-btn-settings:hover {
    background: #D4D3D4;
    border-color: #D4D3D4;
}

/* Cookie Settings Modal */
.cookie-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 48, 76, 0.8);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

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

.cookie-settings-content {
    background: #ffffff;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 32px;
    position: relative;
}

.cookie-settings-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    font-size: 28px;
    color: #333333;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.cookie-settings-close:hover {
    background: #D4D3D4;
    color: #0F304C;
}

.cookie-settings-content h3 {
    font-family: 'Ysabeau Office', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0F304C;
    margin: 0 0 16px 0;
}

.cookie-settings-content p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #333333;
    margin: 0 0 24px 0;
}

.cookie-category {
    border: 1px solid #D4D3D4;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
}

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

.cookie-category h4 {
    font-family: 'Ysabeau Office', sans-serif;
    font-size: 1.0625rem;
    font-weight: 600;
    color: #0F304C;
    margin: 0;
}

.cookie-category p {
    font-size: 0.875rem;
    color: #333333;
    margin: 0;
}

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

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

.cookie-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 26px;
}

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

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

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

.cookie-toggle input:disabled + .cookie-toggle-slider {
    background-color: #A2C614;
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-settings-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cookie-consent {
        padding: 20px 16px;
    }
    
    .cookie-consent-container {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    
    .cookie-consent-text {
        min-width: 100%;
    }
    
    .cookie-consent-text h4 {
        font-size: 1rem;
    }
    
    .cookie-consent-text p {
        font-size: 0.875rem;
    }
    
    .cookie-consent-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-btn {
        width: 100%;
        text-align: center;
    }
    
    .cookie-settings-content {
        padding: 24px 20px;
    }
    
    .cookie-settings-content h3 {
        font-size: 1.25rem;
        padding-right: 32px;
    }
}

@media (max-width: 480px) {
    .cookie-consent-text h4 {
        font-size: 0.9375rem;
    }
    
    .cookie-consent-text p {
        font-size: 0.8125rem;
    }
    
    .cookie-btn {
        font-size: 0.875rem;
        padding: 10px 20px;
    }
}
