/* Cookie Consent Banner Styles - GDPR Compliant */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.15);
    padding: 20px;
    z-index: 10000;
    border-top: 3px solid #4285f4;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

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

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

.cookie-banner-text h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
}

.cookie-banner-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-banner-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s;
    white-space: nowrap;
}

.cookie-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.cookie-btn-accept {
    background: #4285f4;
    color: white;
}

.cookie-btn-accept:hover {
    background: #3367d6;
}

.cookie-btn-reject {
    background: #f1f3f4;
    color: #5f6368;
}

.cookie-btn-reject:hover {
    background: #e8eaed;
}

.cookie-btn-settings {
    background: #fff;
    color: #4285f4;
    border: 1px solid #4285f4;
}

.cookie-btn-settings:hover {
    background: #f8f9fa;
}

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

.cookie-modal-content {
    background: white;
    max-width: 600px;
    width: 100%;
    padding: 30px;
    border-radius: 8px;
    max-height: 90vh;
    overflow-y: auto;
    animation: fadeIn 0.2s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.cookie-category {
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 4px;
}

.cookie-category-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    margin: 0;
}

.cookie-category-label input[type="checkbox"] {
    margin-top: 2px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

.cookie-category-label input[type="checkbox"]:disabled {
    cursor: not-allowed;
}

.cookie-category-label div {
    flex: 1;
}

.cookie-category-label strong {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
}

.cookie-category-label p {
    margin: 0;
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

/* Floating Cookie Settings Link */
.cookie-settings-link {
    position: fixed;
    bottom: 10px;
    right: 10px;
    background: white;
    padding: 8px 16px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    font-size: 13px;
    z-index: 999;
    text-decoration: none;
    color: #333;
    transition: all 0.2s;
}

.cookie-settings-link:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transform: translateY(-2px);
    text-decoration: none;
    color: #333;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cookie-banner {
        padding: 15px;
    }
    
    .cookie-banner-content {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .cookie-banner-text {
        min-width: auto;
    }
    
    .cookie-banner-buttons {
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-modal-content {
        padding: 20px;
    }
    
    .cookie-settings-link {
        font-size: 12px;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .cookie-banner-text h4 {
        font-size: 14px;
    }
    
    .cookie-banner-text p {
        font-size: 13px;
    }
}

