/**
 * TFISOFT CMS FREE 
 * www.tfisoft.com.br
 * @version 1.0.0
 * @author Moreira / DevKinG 
 * @copyright (c) 2026 TFISFOT, All Rights Reserved
 *
 */
/* TFISOFT | Arena Dark - titulos e componentes unificados */
:root {
    --tfi-panel: #15141d;
    --tfi-panel-raised: #201b23;
    --tfi-border: #624439;
    --tfi-gold: #e9bd7c;
    --tfi-text: #f4eee8;
}
body.arena-theme .arena-main .page-title {
    position: relative;
    margin: 12px 0 24px;
    padding: 28px 12px 22px;
    text-align: center;
    border-bottom: 1px solid #a16a32;
    background: radial-gradient(ellipse at center bottom, rgba(174, 97, 28, 0.15), transparent 65%);
}
body.arena-theme .arena-main .page-title span,
body.arena-theme .arena-main .page-title h1,
body.arena-theme .arena-main .page-title h2 {
    color: #f7cc7e !important;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 900;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    text-shadow:
        0 2px 0 #4d250c,
        0 3px 12px rgba(242, 156, 57, 0.45);
}
body.arena-theme .arena-main .page-title:after {
    content: "✦";
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0 12px;
    background: #141015;
    color: #ffd079;
    font-size: 20px;
}
body.arena-theme .tfi-photo-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
    gap: 14px;
}
body.arena-theme .tfi-photo-card {
    background: linear-gradient(155deg, #211a22, #14121a 72%) !important;
    border: 1px solid #74523e !important;
    border-radius: 12px;
    color: #f4eee8 !important;
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.22);
    min-width: 0;
}
body.arena-theme .tfi-photo-card strong {
    color: #e9bd7c;
    font-weight: 700;
    margin-bottom: 8px;
}
body.arena-theme .tfi-photo-card img {
    border: 2px solid #b78b51;
    background: #141015;
}
body.arena-theme .tfi-photo-card input[type="file"] {
    color: #e6d6c2;
    font-size: 12px;
}
body.arena-theme .tfi-photo-card .btn-success {
    background: #44623a;
    border-color: #b4a35c;
    color: #fff;
}
body.arena-theme .tfi-photo-card .btn-danger {
    background: #9d3038;
    border-color: #b74b4f;
}
body.arena-theme .tfi-photo-card form {
    max-width: 100%;
    min-width: 0;
}
body.arena-theme .tfi-photo-card input[type="file"] {
    max-width: 100%;
}
body.arena-theme .tfi-ticket .panelx {
    background: #19171f;
    border-color: #604c3d;
}
@media (max-width: 650px) {
    body.arena-theme .tfi-photo-grid {
        grid-template-columns: 1fr 1fr;
        gap: 9px;
    }
    body.arena-theme .tfi-photo-card {
        padding: 12px;
    }
    body.arena-theme .arena-main .page-title {
        padding: 22px 8px 18px;
    }
}
@media (max-width: 430px) {
    body.arena-theme .tfi-photo-grid {
        grid-template-columns: 1fr;
    }
}
/* TFISOFT Arena Dark | Correcao de contraste das tabelas de personagens
   Colocar em templates/tfisoft_arena_dark/css/modules/theme-unified.css
   (no FINAL do arquivo) ou carregar este CSS depois dele. */

body.arena-theme .arena-main table.general-table-ui,
body.arena-theme .arena-main table.general-table-ui.table {
    width: 100%;
    background: #15141d !important;
    border: 1px solid #665040 !important;
    color: #f4eee8 !important;
    border-collapse: collapse;
}

body.arena-theme .arena-main table.general-table-ui tr,
body.arena-theme .arena-main table.general-table-ui tr:nth-child(even),
body.arena-theme .arena-main table.general-table-ui tr:nth-child(odd) {
    background: #1c1a23 !important;
}

body.arena-theme .arena-main table.general-table-ui tr:nth-child(even) {
    background: #24202a !important;
}

body.arena-theme .arena-main table.general-table-ui tr:first-child,
body.arena-theme .arena-main table.general-table-ui tr:first-child td {
    background: #17151d !important;
    color: #f4c982 !important;
    font-weight: 700;
}

body.arena-theme .arena-main table.general-table-ui tr td,
body.arena-theme .arena-main table.general-table-ui tr:nth-child(even) td,
body.arena-theme .arena-main table.general-table-ui tr:nth-child(odd) td {
    background: transparent !important;
    color: #f4eee8 !important;
    border-color: #493a36 !important;
    vertical-align: middle;
}

body.arena-theme .arena-main table.general-table-ui tr:first-child td {
    color: #f4c982 !important;
}

body.arena-theme .arena-main table.general-table-ui tr:hover:not(:first-child) {
    background: #30252b !important;
}

body.arena-theme .arena-main table.general-table-ui .btn,
body.arena-theme .arena-main table.general-table-ui button {
    color: #fff !important;
}

body.arena-theme .arena-main table.general-table-ui .btn-primary {
    background: #962d39 !important;
    border-color: #b14b52 !important;
}

body.arena-theme .arena-main table.general-table-ui .btn-primary:hover {
    background: #b23b47 !important;
}

@media (max-width: 600px) {
    body.arena-theme .arena-main table.general-table-ui tr td {
        padding: 7px 4px;
        font-size: 12px;
        overflow-wrap: anywhere;
    }
    body.arena-theme .arena-main table.general-table-ui img {
        max-width: 42px;
        height: auto;
    }
}
/* TFISOFT Arena Dark | Correcao de contraste das tabelas de personagens
   Colocar em templates/tfisoft_arena_dark/css/modules/theme-unified.css
   (no FINAL do arquivo) ou carregar este CSS depois dele. */

body.arena-theme .arena-main table.general-table-ui,
body.arena-theme .arena-main table.general-table-ui.table {
    width: 100%;
    background: #15141d !important;
    border: 1px solid #665040 !important;
    color: #f4eee8 !important;
    border-collapse: collapse;
}

body.arena-theme .arena-main table.general-table-ui tr,
body.arena-theme .arena-main table.general-table-ui tr:nth-child(even),
body.arena-theme .arena-main table.general-table-ui tr:nth-child(odd) {
    background: #1c1a23 !important;
}

body.arena-theme .arena-main table.general-table-ui tr:nth-child(even) {
    background: #24202a !important;
}

body.arena-theme .arena-main table.general-table-ui tr:first-child,
body.arena-theme .arena-main table.general-table-ui tr:first-child td {
    background: #17151d !important;
    color: #f4c982 !important;
    font-weight: 700;
}

body.arena-theme .arena-main table.general-table-ui tr td,
body.arena-theme .arena-main table.general-table-ui tr:nth-child(even) td,
body.arena-theme .arena-main table.general-table-ui tr:nth-child(odd) td {
    background: transparent !important;
    color: #f4eee8 !important;
    border-color: #493a36 !important;
    vertical-align: middle;
}

body.arena-theme .arena-main table.general-table-ui tr:first-child td {
    color: #f4c982 !important;
}

body.arena-theme .arena-main table.general-table-ui tr:hover:not(:first-child) {
    background: #30252b !important;
}

body.arena-theme .arena-main table.general-table-ui .btn,
body.arena-theme .arena-main table.general-table-ui button {
    color: #fff !important;
}

body.arena-theme .arena-main table.general-table-ui .btn-primary {
    background: #962d39 !important;
    border-color: #b14b52 !important;
}

body.arena-theme .arena-main table.general-table-ui .btn-primary:hover {
    background: #b23b47 !important;
}

@media (max-width: 600px) {
    body.arena-theme .arena-main table.general-table-ui tr td {
        padding: 7px 4px;
        font-size: 12px;
        overflow-wrap: anywhere;
    }
    body.arena-theme .arena-main table.general-table-ui img {
        max-width: 42px;
        height: auto;
    }
}

/* TFISOFT - Tabelas da pagina Informacoes */

body.arena-theme .arena-main table.tfi-info-table {
    background: #15141d !important;
    color: #f4eee8 !important;
    border-color: #59473e !important;
}

body.arena-theme .arena-main table.tfi-info-table > thead > tr > th {
    background: #211b23 !important;
    color: #e9bd7c !important;
    border-color: #59473e !important;
}

body.arena-theme .arena-main table.tfi-info-table > tbody > tr > td {
    background: #1b1922 !important;
    color: #f4eee8 !important;
    border-color: #59473e !important;
    box-shadow: none !important;
}

body.arena-theme .arena-main table.tfi-info-table > tbody > tr:nth-child(even) > td {
    background: #26212b !important;
    color: #f4eee8 !important;
}

body.arena-theme .arena-main table.tfi-info-table > tbody > tr:hover > td {
    background: #352a30 !important;
    color: #ffffff !important;
}
