/* Cookie Banner Styles */
.cookie-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cookie-overlay.show {
    opacity: 1;
    visibility: visible;
}

.cookie-banner {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    max-width: 500px;
    width: 90%;
    padding: 32px;
    position: relative;
    transform: translateY(30px);
    transition: transform 0.3s ease;
}

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

.cookie-close-button {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    transition: color 0.2s ease;
}

.cookie-close-button:hover {
    color: #333;
}

.cookie-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.cookie-text {
    font-size: 16px;
    line-height: 1.5;
    color: #666;
    margin-bottom: 24px;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.cookie-link {
    color: #007bff;
    text-decoration: none;
}

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

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

.cookie-button {
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.cookie-button.accept {
    background-color: #333;
    color: white;
    border-color: #333;
}

.cookie-button.accept:hover {
    background-color: #555;
    border-color: #555;
    transform: translateY(-1px);
}

.cookie-button.decline {
    background-color: white;
    color: #333;
    border-color: #ddd;
}

.cookie-button.decline:hover {
    background-color: #f8f9fa;
    border-color: #999;
    transform: translateY(-1px);
}

/* Responsivo */
@media (max-width: 768px) {
    .cookie-banner {
        max-width: 90%;
        width: auto; /* Permite que a largura se ajuste ao conteúdo */
        margin: 0 10px; /* Adiciona um pouco de margem nas laterais */
        padding: 20px; /* Reduz o padding em telas menores */
    }

    .cookie-title {
        font-size: 20px;
    }

    .cookie-text {
        font-size: 14px;
    }

    .cookie-button {
        padding: 12px 20px;
        font-size: 14px;
    }
}

@media (min-width: 480px) {
    .cookie-buttons {
        flex-direction: row;
    }
}

/* Variação para tema escuro (opcional) */
.cookie-banner.dark-theme {
    background: #2d3748;
    color: white;
}

.cookie-banner.dark-theme .cookie-title {
    color: white;
}

.cookie-banner.dark-theme .cookie-text {
    color: #cbd5e0;
}

.cookie-banner.dark-theme .cookie-close-button {
    color: #cbd5e0;
}

.cookie-banner.dark-theme .cookie-close-button:hover {
    color: white;
}

.cookie-banner.dark-theme .cookie-button.decline {
    background-color: transparent;
    color: white;
    border-color: #4a5568;
}

.cookie-banner.dark-theme .cookie-button.decline:hover {
    background-color: #4a5568;
    border-color: #718096;
}

