/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #1f2937;
    color: #ffffff;
    padding: 16px 24px;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    max-height: 80vh;
    overflow-y: auto;
}

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

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

.cookie-text {
    flex: 1;
}

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

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cookie-accept {
    background-color: #2563eb;
    color: #ffffff;
}

.cookie-accept:hover {
    background-color: #1d4ed8;
}

.cookie-reject {
    background-color: transparent;
    color: #d1d5db;
    border: 1px solid #4b5563;
}

.cookie-reject:hover {
    background-color: #374151;
    color: #ffffff;
}

.cookie-customize {
    background-color: #374151;
    color: #ffffff;
    border: 1px solid #6b7280;
}

.cookie-customize:hover {
    background-color: #4b5563;
}

.cookie-link {
    color: #93c5fd;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.cookie-link:hover {
    color: #dbeafe;
    text-decoration: underline;
}

/* Cookie Preferences Panel */
.cookie-preferences {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #4b5563;
}

.cookie-preferences h3 {
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: 600;
}

.cookie-category {
    margin-bottom: 16px;
}

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

.cookie-label input[type="checkbox"] {
    margin-top: 2px;
    width: 16px;
    height: 16px;
    accent-color: #2563eb;
}

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

.cookie-name {
    font-weight: 600;
    font-size: 14px;
    display: block;
    margin-bottom: 4px;
}

.cookie-description {
    font-size: 12px;
    color: #d1d5db;
    line-height: 1.4;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    
    .cookie-text {
        text-align: center;
    }
    
    .cookie-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .cookie-btn {
        flex: 1;
        min-width: 100px;
    }
    
    .cookie-preference-actions {
        flex-direction: column;
    }
    
    .cookie-preference-actions .cookie-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: 12px 16px;
    }
    
    .cookie-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .cookie-btn {
        width: 100%;
    }
    
    .cookie-label {
        flex-direction: column;
        gap: 8px;
    }
    
    .cookie-label input[type="checkbox"] {
        align-self: flex-start;
    }
}