/* 🍪 Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-top: 3px solid #006994;
    box-shadow: 0 -4px 20px rgba(0, 105, 148, 0.15);
    padding: 20px;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-text {
    flex: 1;
    color: #2c3e50;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-text h5 {
    color: #006994 !important;
    background: none !important;
    -webkit-text-fill-color: #006994 !important;
    margin-bottom: 8px;
    font-weight: 600;
}

.cookie-text p {
    margin: 0;
    color: #666;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-width: 100px;
    justify-content: center;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, #006994, #4fc3f7);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 105, 148, 0.3);
}

.cookie-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 105, 148, 0.4);
    color: white;
}

.cookie-btn-settings {
    background: transparent;
    color: #006994;
    border: 2px solid #006994;
}

.cookie-btn-settings:hover {
    background: #006994;
    color: white;
    transform: translateY(-2px);
}

.cookie-btn-reject {
    background: #f8f9fa;
    color: #666;
    border: 2px solid #ddd;
}

.cookie-btn-reject:hover {
    background: #e9ecef;
    color: #495057;
    transform: translateY(-2px);
}

/* Cookie Settings Modal */
.cookie-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.cookie-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-modal-content {
    background: white;
    border-radius: 15px;
    padding: 30px;
    width: min(100%, 600px);
    max-width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.cookie-modal-title {
    color: #006994 !important;
    background: none !important;
    -webkit-text-fill-color: #006994 !important;
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

.cookie-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.cookie-close:hover {
    background: #f0f0f0;
    color: #666;
}

.cookie-category {
    margin-bottom: 25px;
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
}

.cookie-category:hover {
    border-color: #006994;
    background: #f8fbff;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.cookie-category-title {
    color: #2c3e50;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.cookie-toggle {
    position: relative;
    width: 50px;
    height: 24px;
    background: #ddd;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.cookie-toggle.active {
    background: #006994;
}

.cookie-toggle::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cookie-toggle.active::after {
    transform: translateX(26px);
}

.cookie-category-description {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.cookie-modal-footer {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-banner {
        padding: 15px;
    }
    
    .cookie-banner-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .cookie-btn {
        min-width: 120px;
        padding: 12px 16px;
    }
    
    .cookie-modal-content {
        padding: 20px;
        margin: 20px;
    }
    
    .cookie-modal-footer {
        flex-direction: column;
    }
    
    .cookie-category {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .cookie-text {
        font-size: 13px;
    }
    
    .cookie-btn {
        font-size: 13px;
        padding: 10px 14px;
        min-width: 100px;
    }
    
    .cookie-modal-title {
        font-size: 20px;
    }
}

/* Animation for showing/hiding */
.cookie-banner-hidden {
    transform: translateY(100%);
}

.cookie-banner-visible {
    transform: translateY(0);
}

/* Accessibility */
.cookie-btn:focus,
.cookie-toggle:focus {
    outline: 2px solid #006994;
    outline-offset: 2px;
}

/* Loading state */
.cookie-btn.loading {
    position: relative;
    color: transparent;
}

.cookie-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    transform: translate(-50%, -50%);
    color: white;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Professional enhancements */
.cookie-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #006994, #4fc3f7, #006994);
    background-size: 200% 100%;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Cookie Icon */
.cookie-icon {
    display: inline-block;
    margin-right: 8px;
    font-size: 18px;
    color: #006994;
} 