/* Cookie Consent Modal Styles */
.cookie-consent-modal {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 100%;
    max-width: 400px;
    background-color: #ffffff;
    padding: 32px 24px 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    z-index: 9999;
    font-family: 'Outfit', sans-serif;
    /* Matching site font */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    display: none;
    /* Hidden by default until JS logic runs */
}

.cookie-consent-modal.visible {
    opacity: 1;
    transform: translateY(0);
}

.cookie-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: #000000;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 4px;
    transition: transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-close-btn:hover {
    transform: scale(1.1);
}

.cookie-close-icon {
    width: 20px;
    height: 20px;
    /* The core SVG is light (#E1E1E6), so we use brightness(0) to make it pure black */
    filter: brightness(0);
    display: block;
}

.cookie-text {
    font-size: 0.95rem;
    color: #000000;
    line-height: 1.5;
    margin-bottom: 16px;
}

.cookie-settings-link {
    display: inline-block;
    font-size: 0.9rem;
    color: #000000;
    text-decoration: underline;
    text-underline-offset: 4px;
    margin-bottom: 24px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.cookie-settings-link:hover {
    opacity: 0.7;
}

.cookie-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cookie-btn {
    width: 100%;
    padding: 12px 16px;
    background-color: #000000;
    color: #ffffff;
    border: 1px solid #000000;
    border-radius: 6px;
    font-family: inherit;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    text-decoration: none;
}

/* Hover effects */
.cookie-btn:hover {
    background-color: #333333;
    border-color: #333333;
    transform: translateY(-1px);
}

/* Optional: Secondary button style if valid for user request (user asked for black buttons white text) */
/* Staying strictly with user request: "botões em preto com texto branco" */

@media (max-width: 480px) {
    .cookie-consent-modal {
        left: 16px;
        right: 16px;
        bottom: 16px;
        width: auto;
        max-width: none;
        padding: 24px 20px 20px;
    }
}