/* =========================================================================================
   MÓDULO INFO MODAL - CSS (LEVABOL THEME)
   ========================================================================================= */

/* O botão "i" - Estilo Dark/Neon */
#info-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.3);
    border-radius: 50%;
    font-family: 'Georgia', serif;
    font-weight: bold;
    font-style: italic;
    cursor: pointer;
    margin-left: 0; /* Controlado pelo gap do container pai */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    vertical-align: middle;
    pointer-events: auto;
    transition: all 0.2s ease;
    font-size: 14px;
    line-height: 1;
}

#info-btn:hover {
    transform: scale(1.15);
    background-color: rgba(74, 222, 128, 0.2);
    box-shadow: 0 0 10px rgba(74, 222, 128, 0.4);
    border-color: #4ade80;
    color: #fff;
}

/* 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.7);
    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: #0f172a; /* Dark Slate */
    color: #e2e8f0;
    padding: 30px;
    border-radius: 16px;
    width: 320px;
    position: relative;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.8), 0 0 10px rgba(74, 222, 128, 0.1);
    font-family: 'Segoe UI', sans-serif;
    text-align: left;
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-modal-overlay.active .info-content {
    transform: translateY(0);
}

/* Títulos */
.info-content h3 {
    margin-top: 0;
    color: #f59e0b; /* Gold */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 12px;
    font-size: 1.25rem;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Lista de Regras */
.info-rules {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-rules li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    font-size: 0.95rem;
}

.info-rules li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.rule-label {
    color: #94a3b8;
    font-weight: 500;
}

.rule-value {
    font-weight: 700;
    font-size: 1rem;
}

/* Cores de Destaque */
.highlight-green { color: #4ade80; text-shadow: 0 0 10px rgba(74, 222, 128, 0.3); }
.highlight-blue { color: #60a5fa; text-shadow: 0 0 10px rgba(96, 165, 250, 0.3); }
.highlight-red { color: #ef4444; text-shadow: 0 0 10px rgba(239, 68, 68, 0.3); }

/* Notas e Textos Pequenos */
.info-note {
    font-size: 0.8rem;
    color: #64748b;
    font-style: italic;
    margin-top: 20px;
    text-align: center;
    display: block;
    background: rgba(255, 255, 255, 0.03);
    padding: 8px;
    border-radius: 6px;
}

/* Botão de Fechar (X) */
.close-info {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    font-weight: bold;
    color: #475569;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.close-info:hover {
    color: #ef4444;
}