/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 1.5rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cookie-content h3 {
    color: #27ae60;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.cookie-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
    opacity: 0.9;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-buttons button {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.cookie-buttons .btn-primary {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
}

.cookie-buttons .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.4);
}

.cookie-buttons .btn-secondary {
    background: transparent;
    color: #27ae60;
    border: 2px solid #27ae60;
}

.cookie-buttons .btn-secondary:hover {
    background: #27ae60;
    color: white;
}

.cookie-buttons .btn-tertiary {
    background: #ecf0f1;
    color: #2c3e50;
}

.cookie-buttons .btn-tertiary:hover {
    background: #bdc3c7;
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    padding: 2rem;
}

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

.cookie-modal-content {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.cookie-modal-content h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: center;
}

.cookie-category {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.cookie-category label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: 600;
    color: #2c3e50;
}

.cookie-category input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
    accent-color: #27ae60;
}

.cookie-category input[type="checkbox"]:disabled {
    opacity: 0.6;
}

.cookie-category span {
    font-weight: 400;
    color: #666;
    font-size: 0.9rem;
    margin-top: 0.25rem;
    display: block;
}

.cookie-modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.cookie-modal-buttons button {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.cookie-modal-buttons .btn-primary {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
}

.cookie-modal-buttons .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.4);
}

.cookie-modal-buttons .btn-secondary {
    background: #ecf0f1;
    color: #2c3e50;
}

.cookie-modal-buttons .btn-secondary:hover {
    background: #bdc3c7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-banner {
        padding: 1rem;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
    
    .cookie-buttons button {
        flex: 1;
        min-width: 120px;
    }
    
    .cookie-modal {
        padding: 1rem;
    }
    
    .cookie-modal-content {
        padding: 1.5rem;
    }
    
    .cookie-modal-buttons {
        flex-direction: column;
    }
    
    .cookie-modal-buttons button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .cookie-content {
        gap: 0.75rem;
    }
    
    .cookie-content h3 {
        font-size: 1.1rem;
    }
    
    .cookie-content p {
        font-size: 0.9rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-buttons button {
        width: 100%;
        padding: 12px;
    }
}

/* Cookie consent accepted state */
body.cookies-accepted .cookie-banner {
    display: none;
}

/* Animation for cookie banner */
@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-banner.slide-up {
    animation: slideUp 0.3s ease;
}

/* Cookie status indicator */
.cookie-status {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #27ae60;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: none;
    z-index: 9999;
}

.cookie-status.show {
    display: block;
}

/* Cookie preferences link */
.cookie-preferences-link {
    color: #27ae60;
    text-decoration: underline;
    cursor: pointer;
    font-size: 0.9rem;
}

.cookie-preferences-link:hover {
    color: #2ecc71;
}
