/* =========================================================================================
   MÓDULO INFO MODAL - CSS
   ========================================================================================= */

/* O botão "i" - Discreto e alinhado */
#info-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 18px;
    height: 18px;
    background-color: transparent;
    color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    font-family: 'Segoe UI', sans-serif;
    font-weight: bold;
    font-style: italic;
    cursor: pointer;
    font-size: 11px;
    line-height: 1;
    transition: all 0.2s ease;
    user-select: none;
    pointer-events: auto;
}

#info-btn:hover {
    color: #fff;
    border-color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

/* O Overlay do Modal (Fundo escuro) */
.info-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(4px);
}

/* Estado Ativo do Modal */
.info-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Conteúdo do Modal */
.info-content {
    background: #1e1e1e;
    color: #ecf0f1;
    padding: 30px;
    border-radius: 12px;
    width: 400px;
    max-width: 90%;
    position: relative;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: left;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    border: 1px solid #444;
}

.info-modal-overlay.active .info-content {
    transform: translateY(0);
}

/* Títulos e Textos dentro do modal */
.info-content h3 {
    margin-top: 0;
    color: #2ecc71;
    /* Verde estilo Sapo */
    border-bottom: 1px solid #444;
    padding-bottom: 15px;
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.info-content p {
    margin: 12px 0;
    line-height: 1.6;
    font-size: 1rem;
    color: #ccc;
}

.info-content strong {
    color: #f1c40f;
    /* Amarelo destaque */
}

/* Lista de regras (opcional se usar ul/li no HTML) */
.info-content ul {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

.info-content li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    color: #ccc;
}

.info-content li::before {
    content: "•";
    color: #2ecc71;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.info-content .small-text {
    font-size: 0.85rem;
    color: #7f8c8d;
    font-style: italic;
    margin-top: 20px;
    display: block;
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 15px;
}

/* Botão de Fechar (X) */
.close-info {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: 300;
    color: #777;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.close-info:hover {
    color: #fff;
}