/**
 * Modal reutilizável - Termos, Privacidade, FAQ, Central de Ajuda, etc.
 * Tema escuro alinhado ao site Black Coins
 */

.modal-info-generic .modal-dialog {
    max-width: 640px;
}

.modal-info-content {
    background: #101014 !important;
    border: 1px solid rgba(219, 0, 0, 0.25);
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
}

.modal-info-header {
    display: flex;
    align-items: center;
    border-radius: 0px;
    justify-content: space-between;
    gap: 1rem;
    background: #18181c;
    border-bottom: 1px solid rgba(219, 0, 0, 0.3) !important;
    padding: 1rem 1.25rem;
    flex-shrink: 0;
}

.modal-info-header .modal-title {
    color: #ffffff;
    
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.02em;
    font-family: 'DIN Next', 'Roboto Condensed', sans-serif;
    flex: 1;
}

.modal-info-header .btn-close-modal {
    background: transparent;
    border: none;
    border-radius: 8px;
    width: 36px;
    height: 36px;
    color: #cbcbcb;
    font-size: 1.4rem;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.modal-info-header .btn-close-modal:hover {
    background: rgba(219, 0, 0, 0.25);
    color: #db0000;
}

.modal-info-body {
    padding: 2rem 2rem !important;
    color: #cbcbcb;
    font-size: 0.95rem;
    padding-top:15px;
    line-height: 1.7;
    max-height: 70vh;
    overflow-y: auto;
}

/* Scrollbar customizada para o body */
.modal-info-body::-webkit-scrollbar {
    width: 6px;
}

.modal-info-body::-webkit-scrollbar-track {
    background: rgba(26, 26, 26, 0.5);
    border-radius: 3px;
}

.modal-info-body::-webkit-scrollbar-thumb {
    background: rgba(219, 0, 0, 0.4);
    border-radius: 3px;
}

.modal-info-body::-webkit-scrollbar-thumb:hover {
    background: rgba(219, 0, 0, 0.6);
}

.modal-info-text p {
    margin-bottom: 0.85em;
}

.modal-info-text p:last-child {
    margin-bottom: 0;
}

.modal-info-text strong {
    color: #f1f3f5;
}

.modal-info-text ul {
    margin: 0.75em 0;
    padding-left: 1.25em;
}

.modal-info-text li {
    margin-bottom: 0.4em;
}

/* FAQ */
.modal-info-faq .faq-item {
    padding: 0.75em 0;
    border-bottom: 1px solid rgba(219, 0, 0, 0.15);
}

.modal-info-faq .faq-item:last-child {
    border-bottom: none;
}

.modal-info-faq .faq-item p {
    margin-bottom: 0.35em;
}

/* Central de Ajuda - canais */
.help-channels {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin: 1.25em 0;
}

.help-channel {
    flex: 1;
    min-width: 180px;
    padding: 1rem;
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid rgba(219, 0, 0, 0.2);
    border-radius: 8px;
    text-align: center;
}

.help-channel i {
    font-size: 2rem;
    color: #db0000;
    margin-bottom: 0.5rem;
}

.help-channel .btn-help {
    display: inline-block;
    margin-top: 0.75rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #db0000 0%, #a00000 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.help-channel .btn-help:hover {
    background: linear-gradient(135deg, #ff0000 0%, #db0000 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(219, 0, 0, 0.4);
}

/* Backdrop do modal */
.modal-info-generic.modal.show .modal-backdrop,
.modal-info-generic ~ .modal-backdrop {
    background-color: rgba(0, 0, 0, 0.75);
}
