/* Cookie Consent Styles */
#cookieConsentBanner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-in;
}

.cookie-consent-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.cookie-consent-modal {
    position: relative;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease-out;
}

.cookie-consent-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e9ecef;
}

.cookie-consent-header h3 {
    margin: 0;
    font-size: 1.4rem;
    color: #2C5530;
    font-weight: 600;
}

.cookie-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #6c757d;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.cookie-close:hover {
    background: #f8f9fa;
    color: #495057;
}

.cookie-consent-body {
    padding: 24px;
}

.cookie-consent-body p {
    margin-bottom: 20px;
    color: #495057;
    line-height: 1.6;
}

.cookie-option {
    display: flex;
    align-items: center;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 12px;
    transition: all 0.2s;
}

.cookie-option:hover {
    background: #e9ecef;
}

.cookie-info {
    margin-left: 16px;
    flex: 1;
}

.cookie-info strong {
    display: block;
    color: #2C5530;
    font-size: 1rem;
    margin-bottom: 4px;
}

.cookie-info span {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Cookie Toggle Switch */
.cookie-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 26px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

.cookie-switch input:checked + .cookie-slider {
    background-color: #2C5530;
}

.cookie-switch input:checked + .cookie-slider:before {
    transform: translateX(22px);
}

.cookie-switch input:disabled + .cookie-slider {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Cookie Consent Footer */
.cookie-consent-footer {
    display: flex;
    gap: 12px;
    padding: 0 24px 20px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    min-width: 120px;
}

.cookie-btn-secondary {
    background: #f8f9fa;
    color: #495057;
}

.cookie-btn-secondary:hover {
    background: #e9ecef;
    transform: translateY(-1px);
}

.cookie-btn-primary {
    background: #C19A6B;
    color: white;
}

.cookie-btn-primary:hover {
    background: #a88558;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(193, 154, 107, 0.3);
}

.cookie-btn-success {
    background: #2C5530;
    color: white;
}

.cookie-btn-success:hover {
    background: #1F3D22;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(44, 85, 48, 0.3);
}

/* Cookie Consent Links */
.cookie-consent-links {
    text-align: center;
    padding: 12px 24px;
    border-top: 1px solid #e9ecef;
    font-size: 0.85rem;
}

.cookie-consent-links a {
    color: #C19A6B;
    text-decoration: none;
    margin: 0 8px;
}

.cookie-consent-links a:hover {
    text-decoration: underline;
}

/* Toast Notification */
.cookie-toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #2C5530;
    color: white;
    padding: 14px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s;
    z-index: 100000;
    font-size: 0.95rem;
}

.cookie-toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Mobile Responsive */
@media (max-width: 576px) {
    .cookie-consent-modal {
        width: 95%;
        margin: 10px;
    }
    
    .cookie-consent-header {
        padding: 16px 20px;
    }
    
    .cookie-consent-body {
        padding: 20px;
    }
    
    .cookie-consent-footer {
        flex-direction: column;
        padding: 0 20px 20px;
    }
    
    .cookie-btn {
        width: 100%;
    }
    
    .cookie-option {
        padding: 12px;
    }
    
    .cookie-info strong {
        font-size: 0.95rem;
    }
    
    .cookie-info span {
        font-size: 0.85rem;
    }
}