/* Note: You may need to add Google Fonts to your main HTML file for the 'Inter' font:*/


.cookie-consent-banner {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 1000;
    width: 100%;
    max-width: 420px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.15);
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    transform: translateY(200%); /* Initially hidden */
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    color: #475569;
}

.cookie-consent-banner.active {
    transform: translateY(0); /* Animate in */
}

.cookie-icon {
    flex-shrink: 0;
}

.cookie-icon svg {
    width: 2.5rem;
    height: 2.5rem;
    color: #3b82f6;
}

.cookie-content {
    display: flex;
    flex-direction: column;
}

.cookie-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 0.5rem 0;
}

.cookie-text {
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0 0 1rem 0;
}

.cookie-buttons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cookie-btn {
    border: none;
    border-radius: 8px;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.cookie-btn.accept {
    background-color: #2563eb;
    color: white;
    flex-grow: 1;
}

.cookie-btn.accept:hover {
    background-color: #1d4ed8;
    box-shadow: 0 4px 10px -2px rgba(37, 99, 235, 0.3);
}

.cookie-btn.manage {
    background-color: #f1f5f9;
    color: #334155;
    flex-grow: 1;
}

.cookie-btn.manage:hover {
    background-color: #e2e8f0;
}

.cookie-btn.close {
    background-color: transparent;
    padding: 0.5rem;
    margin-left: auto;
}

.cookie-btn.close svg {
    width: 1.25rem;
    height: 1.25rem;
    color: #94a3b8;
    transition: color 0.2s ease;
}

.cookie-btn.close:hover svg {
    color: #475569;
}

/* Responsive styles for mobile devices */
@media (max-width: 768px) {
    .cookie-consent-banner {
        bottom: 0;
        right: 0;
        left: 0;
        max-width: 100%;
        border-radius: 12px 12px 0 0;
        padding: 1.25rem;
    }

    .cookie-icon {
        display: none; /* Hide icon on mobile for more space */
    }
}
