/* =====================================================================
   Area do cliente 5MHost (cliente.5mhost.com.br)
   Gerado por montar-css.sh: base (este arquivo) + secoes do css/t5m.css do tema 5mhost do WHMCS + 90-portal.css.
   Nao editar portal.css direto.
   ===================================================================== */
*, *:before, *:after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img, svg { max-width: 100%; }
img { height: auto; }
a { text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 10px; line-height: 1.2; }
p { margin: 0 0 12px; }
[hidden] { display: none !important; }
small { font-size: 85%; }
.text-right { text-align: right; }
.form-control { display: block; width: 100%; }
.table { width: 100%; border-collapse: collapse; }
.table > thead > tr > th { text-align: left; }
.table-container, .table-responsive { overflow-x: auto; }
.list-group-item { display: block; position: relative; border: 1px solid; margin-bottom: -1px; }
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; }
.alert { margin-bottom: 18px; }
.help-block { display: block; margin: 6px 0 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---- do tema 5mhost (css/t5m.css) ---- */
:root {
    --t5m-azul: #0083ff;
    --t5m-azul-esc: #006ad1;
    --t5m-azul-claro: #ecf5fe;
    --t5m-azul-borda: #cfe4ff;
    --t5m-marinho: #273f5b;
    --t5m-noite: #121921;
    --t5m-texto: #3d4f66;
    --t5m-sub: #6c84a3;
    --t5m-borda: #e3ebf5;
    --t5m-fundo: #f4f8fd;
    --t5m-branco: #ffffff;
    --t5m-verde: #12b76a;
    --t5m-verde-esc: #067647;
    --t5m-laranja: #f79009;
    --t5m-vermelho: #f04438;
    --t5m-raio: 14px;
    --t5m-raio-p: 10px;
    --t5m-sombra: 0 1px 2px rgba(39, 63, 91, .06), 0 8px 24px rgba(39, 63, 91, .07);
    --t5m-sombra-forte: 0 12px 32px rgba(0, 92, 190, .18);
    --t5m-icon-fill: rgba(0, 131, 255, .14);
    --t5m-lateral: 272px;
    --t5m-max: 1520px;
}
/* ---------------------------------------------------------------- Base */
html { -webkit-text-size-adjust: 100%; }
body.t5m {
    font-family: "Nunito", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--t5m-texto);
    background: var(--t5m-fundo);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.t5m h1, .t5m h2, .t5m h3, .t5m h4, .t5m h5, .t5m h6,
.t5m .h1, .t5m .h2, .t5m .h3, .t5m .h4 { font-family: inherit; color: var(--t5m-marinho); font-weight: 800; letter-spacing: -.01em; }
.t5m a { color: var(--t5m-azul); transition: color .15s; }
.t5m a:hover, .t5m a:focus { color: var(--t5m-azul-esc); text-decoration: none; }
.t5m ::selection { background: rgba(0, 131, 255, .18); }
.t5m-ico { flex: none; display: inline-block; vertical-align: middle; }
.t5m-ico .f { fill: var(--t5m-icon-fill); }
.t5m-nowrap { white-space: nowrap; }

.t5m-strip { display: flex; height: 4px; }
.t5m-strip span { flex: 1; }
.t5m-strip span:nth-child(1) { background: #0083ff; }
.t5m-strip span:nth-child(2) { background: #8cc8ff; }
.t5m-strip span:nth-child(3) { background: #f7a400; }
.t5m-strip span:nth-child(4) { background: #f04848; }
.t5m-strip span:nth-child(5) { background: #1db954; }
.t5m-layout-app > .t5m-strip { position: fixed; top: 0; left: 0; right: 0; z-index: 60; }
.t5m-layout-app .t5m-app-shell { padding-top: 4px; }
.t5m-layout-app .t5m-topbar { top: 4px; }

.t5m-chip { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; background: rgba(255, 255, 255, .18); color: #fff; }
.t5m-chip-claro { background: rgba(255, 255, 255, .2); }

/* ---------------------------------------------------------------- Botoes e formularios */
.t5m .btn, .t5m-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border-radius: var(--t5m-raio-p); font-weight: 700; font-size: 14px; padding: 9px 18px;
    border: 1px solid transparent; transition: background .15s, border-color .15s, box-shadow .15s, transform .15s;
    box-shadow: none; text-shadow: none; line-height: 1.4;
}
.t5m .btn:active, .t5m-btn:active { transform: translateY(1px); }
.t5m .btn-xs { padding: 3px 9px; font-size: 12px; border-radius: 7px; }
.t5m .btn-sm { padding: 6px 12px; font-size: 13px; }
.t5m .btn-lg { padding: 12px 24px; font-size: 16px; }
.t5m .btn-block { display: flex; width: 100%; }
.t5m-btn, .t5m .btn-primary, .t5m .btn-success, .t5m .btn-info {
    background: var(--t5m-azul); color: #fff !important; border-color: var(--t5m-azul);
}
.t5m-btn:hover, .t5m .btn-primary:hover, .t5m .btn-primary:focus, .t5m .btn-info:hover {
    background: var(--t5m-azul-esc); border-color: var(--t5m-azul-esc); color: #fff;
    box-shadow: 0 6px 16px rgba(0, 131, 255, .28);
}
.t5m .btn-success { background: var(--t5m-verde); border-color: var(--t5m-verde); }
.t5m .btn-success:hover { background: #0e9f5c; border-color: #0e9f5c; }
.t5m .btn-danger { background: #fff; color: var(--t5m-vermelho); border-color: #fecdca; }
.t5m .btn-danger:hover { background: #fef3f2; color: #b42318; }
.t5m .btn-warning { background: var(--t5m-laranja); border-color: var(--t5m-laranja); color: #fff; }
.t5m .btn-default, .t5m-btn-suave {
    background: #fff; color: var(--t5m-marinho) !important; border-color: var(--t5m-borda);
}
.t5m .btn-default:hover, .t5m-btn-suave:hover { background: var(--t5m-azul-claro); border-color: var(--t5m-azul-borda); color: var(--t5m-azul) !important; box-shadow: none; }
.t5m-btn-branco { background: #fff; color: var(--t5m-azul) !important; border-color: #fff; }
.t5m-btn-branco:hover { background: #f0f7ff; color: var(--t5m-azul-esc) !important; border-color: #f0f7ff; box-shadow: 0 8px 20px rgba(0, 0, 0, .12); }
.t5m-btn-vazado { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, .55); }
.t5m-btn-vazado:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; box-shadow: none; }
.t5m-btn-claro { display: inline-block; margin-top: 10px; padding: 7px 14px; border-radius: 8px; background: #fff; color: var(--t5m-azul) !important; font-weight: 800; font-size: 13px; }
.t5m-btn-bloco { width: 100%; padding: 12px 18px; font-size: 15px; }

.t5m .form-control {
    height: auto; min-height: 44px; padding: 10px 14px; border-radius: var(--t5m-raio-p);
    border: 1px solid #d5dfeb; background: #fff; color: var(--t5m-marinho); font-size: 15px;
    box-shadow: none; transition: border-color .15s, box-shadow .15s;
}
.t5m textarea.form-control { min-height: 110px; }
.t5m select.form-control { padding-right: 36px; }
.t5m .form-control:focus { border-color: var(--t5m-azul); box-shadow: 0 0 0 4px rgba(0, 131, 255, .14); }
.t5m .form-control::placeholder { color: #9aaec6; }
.t5m label, .t5m .control-label { font-weight: 700; color: var(--t5m-marinho); font-size: 14px; }
.t5m .input-group-addon { border-radius: var(--t5m-raio-p); background: var(--t5m-azul-claro); border-color: #d5dfeb; color: var(--t5m-sub); }
.t5m .input-group .form-control:first-child, .t5m .input-group-addon:first-child { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.t5m .input-group .form-control:last-child, .t5m .input-group-btn:last-child > .btn { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.t5m .input-group-btn > .btn { min-height: 44px; }
.t5m .help-block { color: var(--t5m-sub); font-size: 13px; }

/* ---------------------------------------------------------------- Cartoes, paineis, tabelas */
.t5m .panel, .t5m-card, .t5m .well {
    border: 1px solid var(--t5m-borda); border-radius: var(--t5m-raio); background: #fff;
    box-shadow: var(--t5m-sombra); margin-bottom: 22px; overflow: hidden;
}
.t5m .panel > .panel-heading {
    background: #fff; border-bottom: 1px solid var(--t5m-borda); padding: 16px 20px; color: var(--t5m-marinho);
    border-radius: var(--t5m-raio) var(--t5m-raio) 0 0;
}
.t5m .panel-title { font-size: 15px; font-weight: 800; color: var(--t5m-marinho); }
.t5m .panel-title > i:first-child { color: var(--t5m-azul); }
.t5m .panel-body { padding: 20px; }
.t5m .panel-footer { background: #fbfdff; border-top: 1px solid var(--t5m-borda); padding: 12px 20px; }
.t5m .panel-footer:empty { display: none; }
.t5m-card { padding: 20px; }
.t5m .panel[class*="panel-accent-"] { border-top: 1px solid var(--t5m-borda); }
.t5m .panel-accent-gold .panel-title > i, .t5m .panel-accent-orange .panel-title > i { color: var(--t5m-laranja); }
.t5m .panel-accent-green .panel-title > i, .t5m .panel-accent-emerald .panel-title > i { color: var(--t5m-verde); }
.t5m .panel-accent-red .panel-title > i, .t5m .panel-accent-pomegranate .panel-title > i { color: var(--t5m-vermelho); }

.t5m .list-group { margin-bottom: 0; }
.t5m .list-group-item { border-color: var(--t5m-borda); color: var(--t5m-texto); padding: 12px 20px; }
.t5m .panel .list-group-item { border-left: 0; border-right: 0; }
.t5m .panel .list-group-item:first-child { border-top: 0; }
.t5m a.list-group-item:hover { background: var(--t5m-azul-claro); color: var(--t5m-azul); }
.t5m .list-group-item.active, .t5m .list-group-item.active:hover { background: var(--t5m-azul-claro); color: var(--t5m-azul); border-color: var(--t5m-borda); font-weight: 700; box-shadow: inset 3px 0 0 var(--t5m-azul); }

.t5m .table { color: var(--t5m-texto); margin-bottom: 0; }
.t5m .table > thead > tr > th {
    border-bottom: 1px solid var(--t5m-borda); color: var(--t5m-sub); font-size: 12px; font-weight: 800;
    text-transform: uppercase; letter-spacing: .05em; padding: 12px 14px; background: #fbfdff;
}
.t5m .table > tbody > tr > td, .t5m .table > tfoot > tr > td { border-top: 1px solid #edf2f8; padding: 13px 14px; vertical-align: middle; }
.t5m .table-hover > tbody > tr:hover, .t5m .table-list > tbody > tr:hover > td { background: #f7fbff; }
.t5m .table-list { border-radius: var(--t5m-raio); overflow: hidden; background: #fff; }
.t5m .table-container, .t5m .dataTables_wrapper {
    background: #fff; border: 1px solid var(--t5m-borda); border-radius: var(--t5m-raio); box-shadow: var(--t5m-sombra); padding: 6px 6px 12px;
}
.t5m .dataTables_wrapper .dataTables_filter input, .t5m .dataTables_wrapper .dataTables_length select {
    border: 1px solid #d5dfeb; border-radius: 8px; padding: 6px 10px; height: auto;
}
.t5m .dataTables_wrapper .dataTables_info { color: var(--t5m-sub); }
.t5m .pagination > li > a, .t5m .pagination > li > span { border-color: var(--t5m-borda); color: var(--t5m-texto); margin: 0 2px; border-radius: 8px !important; }
.t5m .pagination > .active > a, .t5m .pagination > .active > span { background: var(--t5m-azul); border-color: var(--t5m-azul); }

/* Selos de status */
.t5m .label, .t5m .status, .t5m-tag {
    display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; line-height: 1.3;
    letter-spacing: .01em; text-transform: none; vertical-align: middle; background: #eef2f6; color: #475467; text-shadow: none;
}
.t5m .label-success, .t5m .status-active, .t5m .status-paid, .t5m .status-completed, .t5m .status-open, .t5m-tag-pago { background: #ecfdf3; color: var(--t5m-verde-esc); }
.t5m .label-danger, .t5m .status-unpaid, .t5m .status-overdue, .t5m .status-suspended, .t5m .status-fraud, .t5m-tag-aberto { background: #fef3f2; color: #b42318; }
.t5m .label-warning, .t5m .status-pending, .t5m .status-customer-reply, .t5m .status-payment-pending { background: #fffaeb; color: #b54708; }
.t5m .label-info, .t5m .status-answered, .t5m .status-in-progress { background: var(--t5m-azul-claro); color: #175cd3; }
.t5m .label-default, .t5m .status-closed, .t5m .status-cancelled, .t5m .status-terminated, .t5m .status-expired, .t5m .status-refunded { background: #f2f4f7; color: #475467; }
.t5m .badge { background: var(--t5m-azul); border-radius: 999px; font-weight: 800; }

.t5m .alert { border-radius: var(--t5m-raio-p); border: 1px solid transparent; padding: 13px 16px; font-weight: 600; }
.t5m .alert-success { background: #ecfdf3; border-color: #abefc6; color: var(--t5m-verde-esc); }
.t5m .alert-danger, .t5m .alert-error { background: #fef3f2; border-color: #fecdca; color: #b42318; }
.t5m .alert-warning { background: #fffaeb; border-color: #fedf89; color: #b54708; }
.t5m .alert-info { background: var(--t5m-azul-claro); border-color: var(--t5m-azul-borda); color: #175cd3; }

.t5m .nav-tabs { border-bottom: 1px solid var(--t5m-borda); }
.t5m .nav-tabs > li > a { border: 0; border-radius: 10px 10px 0 0; color: var(--t5m-sub); font-weight: 700; padding: 11px 16px; }
.t5m .nav-tabs > li > a:hover { background: var(--t5m-azul-claro); color: var(--t5m-azul); }
.t5m .nav-tabs > li.active > a, .t5m .nav-tabs > li.active > a:hover, .t5m .nav-tabs > li.active > a:focus { border: 0; color: var(--t5m-azul); background: transparent; box-shadow: inset 0 -3px 0 var(--t5m-azul); }
.t5m .tab-content.bg-white, .t5m .tab-content.product-details-tab-container { background: #fff; border-radius: 0 0 var(--t5m-raio) var(--t5m-raio); }

.t5m .modal-content { border: 0; border-radius: var(--t5m-raio); box-shadow: 0 24px 60px rgba(16, 24, 40, .25); overflow: hidden; }
.t5m .modal-header.panel-heading { background: var(--t5m-azul); color: #fff; }
.t5m .modal-header .modal-title, .t5m .modal-header .close { color: #fff; opacity: 1; text-shadow: none; }
.t5m .popover { border: 1px solid var(--t5m-borda); border-radius: var(--t5m-raio-p); box-shadow: var(--t5m-sombra); font-family: inherit; }
.t5m .dropdown-menu { border: 1px solid var(--t5m-borda); border-radius: 12px; box-shadow: 0 16px 40px rgba(16, 24, 40, .14); padding: 6px; }
.t5m .dropdown-menu > li > a { border-radius: 8px; padding: 8px 12px; color: var(--t5m-texto); font-weight: 600; }
.t5m .dropdown-menu > li > a:hover { background: var(--t5m-azul-claro); color: var(--t5m-azul); }

/* Cabecalho de pagina (pageheader.tpl) */
.t5m .header-lined { margin: 0 0 22px; }
.t5m .header-lined h1 { font-size: 26px; margin: 0 0 6px; border: 0; padding: 0; }
.t5m .header-lined h1 small { color: var(--t5m-sub); font-weight: 600; font-size: 15px; }
.t5m .header-lined .breadcrumb { background: transparent; padding: 0; margin: 0; font-size: 13px; }
.t5m .breadcrumb > li, .t5m .breadcrumb > li > a { color: var(--t5m-sub); }
.t5m .breadcrumb > .active { color: var(--t5m-marinho); font-weight: 700; }
.t5m .breadcrumb > li + li:before { content: "›"; color: #a9bad0; padding: 0 8px; }

/* Paineis laterais de contexto (filtros, acoes da pagina) */
.t5m .panel-sidebar > .panel-heading { padding: 14px 18px; }
.t5m .panel-sidebar .panel-title { font-size: 14px; }
.t5m .panel-sidebar .panel-minimise { color: #a9bad0; }
.t5m .panel-sidebar .list-group-item { padding: 10px 18px; font-size: 14px; }
.t5m .panel-sidebar .list-group-item > i { color: var(--t5m-azul); width: 18px; }
.t5m .panel-sidebar .list-group-item .badge { background: #eef2f6; color: var(--t5m-marinho); }

/* ---------------------------------------------------------------- Login (auth) */
.t5m-auth { display: flex; min-height: calc(100vh - 4px); background: #fff; }
.t5m-auth-art {
    position: relative; flex: 0 0 46%; max-width: 760px; overflow: hidden; color: #fff;
    background: radial-gradient(120% 90% at 10% 0%, #2a9bff 0%, #0083ff 38%, #0063cf 100%);
    display: flex; align-items: center; justify-content: center; padding: 48px 44px;
}
.t5m-auth-art:before {
    content: ""; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .12) 1.2px, transparent 1.2px); background-size: 22px 22px; opacity: .6;
}
.t5m-auth-art-inner { position: relative; width: 100%; max-width: 560px; }
/* login a esquerda, ilustracao a direita */
.t5m-auth-main { order: 1; }
.t5m-auth-art { order: 2; background: radial-gradient(120% 90% at 90% 0%, #2a9bff 0%, #0083ff 38%, #0063cf 100%); }
.t5m-auth-art-texto h2 { color: #fff; font-size: clamp(28px, 2.6vw, 40px); line-height: 1.15; font-weight: 900; margin: 16px 0 18px; }
.t5m-auth-art-texto h2 em { font-style: normal; color: #bfe0ff; display: block; }
.t5m-auth-art-texto ul { list-style: none; padding: 0; margin: 0 0 26px; }
.t5m-auth-art-texto li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; margin-bottom: 10px; color: #eaf4ff; }
.t5m-auth-art .t5m-ico { --t5m-icon-fill: rgba(255, 255, 255, .22); color: #fff; }
.t5m-auth-ilustra { width: 100%; height: auto; display: block; filter: drop-shadow(0 18px 30px rgba(0, 40, 100, .25)); }
.t5m-foguete { animation: t5mFlutua 4s ease-in-out infinite; }
@keyframes t5mFlutua { 0%, 100% { transform: translate(196px, 40px); } 50% { transform: translate(196px, 30px); } }

.t5m-auth-main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.t5m-auth-box { width: 100%; max-width: 400px; }
.t5m-auth-logo img { height: 46px; width: auto; display: block; margin: 0 auto 30px; }
.t5m-auth-titulo { font-size: 26px; text-align: center; margin: 0 0 6px; }
.t5m-auth-sub { text-align: center; color: var(--t5m-sub); margin: 0 0 26px; }
.t5m-campo { margin-bottom: 16px; }
.t5m-campo label { display: block; margin-bottom: 6px; }
.t5m-senha { position: relative; }
.t5m-senha .form-control { padding-right: 46px; }
.t5m-ver-senha { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: var(--t5m-sub); width: 36px; height: 36px; border-radius: 8px; }
.t5m-ver-senha:hover { background: var(--t5m-azul-claro); color: var(--t5m-azul); }
.t5m-login-linha { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 4px 0 20px; font-size: 14px; }
.t5m-login-linha a { font-weight: 700; }
.t5m-check { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-weight: 600 !important; color: var(--t5m-texto) !important; cursor: pointer; }
.t5m-check input { width: 17px; height: 17px; margin: 0; accent-color: var(--t5m-azul); }
.t5m-captcha { display: flex; justify-content: center; margin-bottom: 18px; }
.t5m-auth-alt { text-align: center; margin: 22px 0 0; color: var(--t5m-sub); }
.t5m-auth-alt a { font-weight: 800; }
.t5m-ou { display: flex; align-items: center; gap: 12px; color: var(--t5m-sub); font-size: 13px; margin: 18px 0; }
.t5m-ou:before, .t5m-ou:after { content: ""; flex: 1; height: 1px; background: var(--t5m-borda); }
.t5m-auth-rodape { text-align: center; color: #9aaec6; font-size: 12px; margin: 34px 0 0; }
.t5m-auth .header-lined { text-align: center; }
.t5m-auth .header-lined h1 { font-size: 24px; }
.t5m-auth .breadcrumb { display: none; }

/* ---------------------------------------------------------------- Area logada (app) */
.t5m-app-shell { display: flex; min-height: calc(100vh - 4px); }
.t5m-sidebar {
    position: fixed; top: 4px; bottom: 0; left: 0; z-index: 50; width: var(--t5m-lateral);
    display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
    background: linear-gradient(180deg, #0a1f36 0%, #102b4a 55%, #0d2540 100%); color: #c9d8ea;
    scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .15) transparent;
}
.t5m-sidebar-top { display: flex; align-items: center; justify-content: space-between; padding: 24px 22px 18px; }
.t5m-sidebar-logo img { height: 38px; width: auto; display: block; }
.t5m-sidebar-close { display: none; border: 0; background: rgba(255, 255, 255, .08); color: #fff; width: 34px; height: 34px; border-radius: 10px; font-size: 22px; line-height: 1; }
.t5m-nav { padding: 6px 14px; flex: 1; }
.t5m-nav ul { list-style: none; margin: 0; padding: 0; }
.t5m-nav-item { margin-bottom: 2px; }
.t5m-nav-link {
    display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 14px; border: 0; border-radius: 12px;
    background: transparent; color: #c9d8ea !important; font-size: 15px; font-weight: 700; text-align: left; transition: background .15s, color .15s;
}
.t5m-nav-link .t5m-ico { color: #7fb8ff; --t5m-icon-fill: rgba(0, 131, 255, .28); }
.t5m-nav-link > span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t5m-nav-link:hover, .t5m-nav-item.t5m-aberto > .t5m-nav-link { background: rgba(255, 255, 255, .06); color: #fff !important; }
.t5m-nav-item.t5m-ativo-pai > .t5m-nav-link { background: var(--t5m-azul); color: #fff !important; box-shadow: 0 8px 20px rgba(0, 131, 255, .35); }
.t5m-nav-item.t5m-ativo-pai > .t5m-nav-link .t5m-ico { color: #fff; --t5m-icon-fill: rgba(255, 255, 255, .25); }
.t5m-caret { font-size: 11px; opacity: .7; transition: transform .2s; }
.t5m-aberto > .t5m-nav-link .t5m-caret { transform: rotate(180deg); }
.t5m-sub { display: none; padding: 4px 0 8px 47px !important; }
.t5m-aberto > .t5m-sub { display: block; }
.t5m-sub a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 12px; border-radius: 9px; color: #9fb4cc !important; font-size: 14px; font-weight: 600; position: relative; }
.t5m-sub a:before { content: ""; position: absolute; left: -14px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: #2d4a6b; }
.t5m-sub a:hover { color: #fff !important; background: rgba(255, 255, 255, .05); }
.t5m-sub a.t5m-ativo { color: #fff !important; }
.t5m-sub a.t5m-ativo:before { background: var(--t5m-azul); box-shadow: 0 0 0 3px rgba(0, 131, 255, .25); }
.t5m-badge { font-style: normal; font-size: 11px; font-weight: 800; padding: 1px 8px; border-radius: 999px; background: rgba(0, 131, 255, .25); color: #cfe6ff; }
.t5m-sidebar-promo {
    margin: 14px 18px; padding: 18px; border-radius: 16px; color: #e6f1ff; font-size: 13px;
    background: linear-gradient(135deg, #0083ff, #0057c2); box-shadow: 0 12px 28px rgba(0, 60, 140, .4);
}
.t5m-sidebar-promo strong { display: block; color: #fff; font-size: 15px; font-weight: 800; margin: 8px 0 2px; }
.t5m-sidebar-promo-ico { width: 46px; height: 46px; border-radius: 12px; background: rgba(255, 255, 255, .16); display: flex; align-items: center; justify-content: center; color: #fff; --t5m-icon-fill: rgba(255, 255, 255, .3); }
.t5m-nav-sair { display: flex; align-items: center; gap: 12px; margin: 0 14px 18px; padding: 11px 14px; border-radius: 12px; color: #ff9b94 !important; font-weight: 700; }
.t5m-nav-sair:hover { background: rgba(240, 68, 56, .12); }
.t5m-nav-sair .t5m-ico { --t5m-icon-fill: rgba(240, 68, 56, .2); }

.t5m-app-main { flex: 1; min-width: 0; margin-left: var(--t5m-lateral); display: flex; flex-direction: column; }
.t5m-topbar {
    position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 16px;
    padding: 14px clamp(16px, 3vw, 40px); background: rgba(244, 248, 253, .86);
    -webkit-backdrop-filter: saturate(160%) blur(10px); backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid rgba(227, 235, 245, .9);
}
.t5m-topbar-menu { display: none; border: 1px solid var(--t5m-borda); background: #fff; color: var(--t5m-marinho); width: 42px; height: 42px; border-radius: 12px; align-items: center; justify-content: center; }
.t5m-topbar-title { flex: 1; min-width: 0; line-height: 1.25; }
.t5m-topbar-hello { display: block; font-size: 18px; font-weight: 800; color: var(--t5m-marinho); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t5m-topbar-sub { display: block; font-size: 13px; color: var(--t5m-sub); }
.t5m-topbar-actions { display: flex; align-items: center; gap: 10px; }
.t5m-topbar-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--t5m-borda); background: #fff; color: var(--t5m-marinho) !important; font-weight: 700; font-size: 14px; }
.t5m-topbar-btn:hover { border-color: var(--t5m-azul-borda); color: var(--t5m-azul) !important; }
.t5m-topbar-icon { width: 42px; padding: 0; justify-content: center; }
.t5m-topbar-cta { background: var(--t5m-azul); border-color: var(--t5m-azul); color: #fff !important; --t5m-icon-fill: rgba(255, 255, 255, .25); }
.t5m-topbar-cta:hover { background: var(--t5m-azul-esc); color: #fff !important; }
.t5m-dot { position: absolute; top: -5px; right: -5px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--t5m-vermelho); color: #fff; font-size: 11px; font-weight: 800; line-height: 19px; text-align: center; border: 2px solid #fff; }
.t5m-user-btn { display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 12px 0 5px; border-radius: 12px; border: 1px solid var(--t5m-borda); background: #fff; color: var(--t5m-marinho) !important; font-weight: 700; }
.t5m-user-btn .fa-chevron-down { font-size: 10px; color: var(--t5m-sub); }
.t5m-avatar { width: 32px; height: 32px; border-radius: 9px; background: linear-gradient(135deg, #0083ff, #0057c2); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; }
.t5m-user-menu { min-width: 250px; margin-top: 8px; }
.t5m-user-menu > li > a { display: flex !important; align-items: center; gap: 10px; }
.t5m-user-menu .t5m-ico { color: var(--t5m-azul); }
.t5m-user-head { padding: 10px 12px 12px; border-bottom: 1px solid var(--t5m-borda); margin-bottom: 6px; }
.t5m-user-head strong { display: block; color: var(--t5m-marinho); }
.t5m-user-head span { display: block; font-size: 12px; color: var(--t5m-sub); word-break: break-all; }
.t5m-user-menu .t5m-sair, .t5m-user-menu .t5m-sair .t5m-ico { color: #d92d20 !important; }

.t5m-content { flex: 1; padding: 28px clamp(16px, 3vw, 40px) 40px; }
.t5m-container { max-width: var(--t5m-max); margin: 0 auto; }
.t5m-contexto { position: sticky; top: 86px; }
.t5m-app-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 18px clamp(16px, 3vw, 40px); color: var(--t5m-sub); font-size: 13px; border-top: 1px solid var(--t5m-borda); }
.t5m-app-footer a { color: var(--t5m-sub); font-weight: 700; }
.t5m-app-backdrop { display: none; }

/* Notificacoes (popover do WHMCS) */
.t5m .client-alerts { list-style: none; margin: 0; padding: 0; max-width: 320px; }
.t5m .client-alerts li a { display: flex; gap: 10px; padding: 10px 6px; color: var(--t5m-texto); border-bottom: 1px solid var(--t5m-borda); }
.t5m .client-alerts li:last-child a { border-bottom: 0; }
.t5m .client-alerts li.none { padding: 10px; color: var(--t5m-sub); }

/* ---------------------------------------------------------------- Painel (home) */
.t5m-hero {
    position: relative; display: flex; align-items: center; gap: 24px; overflow: hidden; margin-bottom: 24px;
    padding: clamp(22px, 3vw, 36px); border-radius: 20px; color: #fff;
    background: radial-gradient(110% 140% at 0% 0%, #2a9bff 0%, #0083ff 45%, #005cc4 100%); box-shadow: var(--t5m-sombra-forte);
}
.t5m-hero:before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .12) 1.2px, transparent 1.2px); background-size: 20px 20px; }
.t5m-hero-texto { position: relative; flex: 1; }
.t5m-hero h1 { color: #fff; font-size: clamp(24px, 2.4vw, 32px); margin: 12px 0 6px; font-weight: 900; }
.t5m-hero p { color: #e2f0ff; font-size: 16px; margin: 0 0 18px; max-width: 560px; }
.t5m-hero-botoes { display: flex; flex-wrap: wrap; gap: 10px; }
.t5m-hero .t5m-ico { --t5m-icon-fill: rgba(0, 131, 255, .15); }
.t5m-hero .t5m-btn-vazado .t5m-ico { --t5m-icon-fill: rgba(255, 255, 255, .2); }
.t5m-hero-arte { position: relative; flex: 0 0 auto; width: clamp(160px, 18vw, 240px); }
.t5m-hero-arte svg { width: 100%; height: auto; display: block; }

.t5m-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; margin-bottom: 22px; }
.t5m-stat {
    position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 16px; align-items: center;
    padding: 20px; border-radius: 18px; background: #fff; border: 1px solid var(--t5m-borda); box-shadow: var(--t5m-sombra);
    color: var(--t5m-texto) !important; transition: transform .2s, box-shadow .2s, border-color .2s; overflow: hidden;
}
.t5m-stat:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(39, 63, 91, .12); border-color: var(--t5m-azul-borda); }
.t5m-stat:after { content: ""; position: absolute; right: -28px; bottom: -28px; width: 96px; height: 96px; border-radius: 50%; background: currentColor; opacity: .04; }
.t5m-stat-ico { grid-row: 1 / 3; width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; }
.t5m-stat-num { font-size: 30px; font-weight: 900; color: var(--t5m-marinho); line-height: 1.1; }
.t5m-stat-rot { font-size: 14px; font-weight: 700; color: var(--t5m-sub); }
.t5m-stat-azul .t5m-stat-ico { background: #e7f2ff; color: #0083ff; --t5m-icon-fill: rgba(0, 131, 255, .2); }
.t5m-stat-verde .t5m-stat-ico { background: #e7f8ef; color: #12a15e; --t5m-icon-fill: rgba(18, 183, 106, .2); }
.t5m-stat-laranja .t5m-stat-ico { background: #fff4e5; color: #e57f00; --t5m-icon-fill: rgba(247, 144, 9, .2); }
.t5m-stat-vermelho .t5m-stat-ico { background: #feeeed; color: #e5483c; --t5m-icon-fill: rgba(240, 68, 56, .18); }

.t5m-aviso-fatura {
    display: flex; align-items: center; gap: 16px; padding: 16px 20px; margin-bottom: 22px; border-radius: 16px;
    background: #fffaeb; border: 1px solid #fedf89;
}
.t5m-aviso-ico { width: 44px; height: 44px; flex: none; border-radius: 12px; background: #fff; color: #dc6803; display: flex; align-items: center; justify-content: center; --t5m-icon-fill: rgba(247, 144, 9, .2); }
.t5m-aviso-fatura > div { flex: 1; }
.t5m-aviso-fatura strong { display: block; color: #7a2e0e; }
.t5m-aviso-fatura span { color: #93370d; font-size: 14px; }

.t5m-atalhos { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; margin-bottom: 22px; }
.t5m-atalhos a {
    display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 10px; border-radius: 16px; text-align: center;
    background: #fff; border: 1px solid var(--t5m-borda); color: var(--t5m-marinho) !important; font-weight: 700; font-size: 14px; transition: all .2s;
}
.t5m-atalhos a .t5m-ico { width: 46px; height: 46px; padding: 11px; border-radius: 14px; background: var(--t5m-azul-claro); color: var(--t5m-azul); }
.t5m-atalhos a:hover { border-color: var(--t5m-azul-borda); box-shadow: var(--t5m-sombra); transform: translateY(-2px); color: var(--t5m-azul) !important; }
.t5m-atalhos a:hover .t5m-ico { background: var(--t5m-azul); color: #fff; --t5m-icon-fill: rgba(255, 255, 255, .25); }

.t5m-busca { position: relative; display: flex; gap: 10px; align-items: center; padding: 8px; margin-bottom: 26px; border-radius: 16px; background: #fff; border: 1px solid var(--t5m-borda); box-shadow: var(--t5m-sombra); }
.t5m-busca > i { position: absolute; left: 24px; color: #9aaec6; }
.t5m-busca .form-control { border: 0; box-shadow: none !important; padding-left: 44px; min-height: 46px; }
.t5m-busca .t5m-btn { min-height: 46px; padding: 0 22px; }
.t5m-paineis .panel { height: auto; }

/* ---------------------------------------------------------------- Fatura */
.t5m-fatura-grade { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 400px); gap: 24px; align-items: start; }
.t5m-fatura { background: #fff; border: 1px solid var(--t5m-borda); border-radius: 18px; box-shadow: var(--t5m-sombra); padding: clamp(18px, 2.4vw, 32px); }
.t5m-fatura-topo { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-bottom: 20px; border-bottom: 1px solid var(--t5m-borda); }
.t5m-fatura-rotulo { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--t5m-sub); }
.t5m-fatura-topo h2 { margin: 2px 0 0; font-size: 30px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.t5m-fatura-datas { display: flex; gap: 28px; margin: 0; flex-wrap: wrap; }
.t5m-fatura-datas dt { font-size: 12px; font-weight: 700; color: var(--t5m-sub); }
.t5m-fatura-datas dd { margin: 0; font-weight: 800; color: var(--t5m-marinho); }
.t5m-fatura-partes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 20px 0; }
.t5m-fatura-partes h4, .t5m-fatura-notas h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--t5m-sub); margin: 0 0 6px; }
.t5m-fatura-partes address { margin: 0; color: var(--t5m-texto); line-height: 1.6; }
.t5m-fatura-sec { font-size: 16px; margin: 18px 0 10px; }
.t5m-tabela { border: 1px solid var(--t5m-borda); border-radius: 12px; border-collapse: separate; overflow: hidden; }
.t5m-tabela > tfoot > tr > td { background: #fbfdff; font-weight: 700; color: var(--t5m-marinho); }
.t5m-tabela .t5m-total > td { font-size: 17px; font-weight: 900; color: var(--t5m-marinho); background: var(--t5m-azul-claro) !important; }
.t5m-vazio { text-align: center; color: var(--t5m-sub); padding: 22px !important; }
.t5m-nota { font-size: 13px; color: var(--t5m-sub); margin-top: 8px; }
.t5m-fatura-notas { margin-top: 20px; padding: 16px; border-radius: 12px; background: var(--t5m-fundo); }
.t5m-fatura-acoes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--t5m-borda); }
.t5m-fatura-acoes .t5m-ico { color: var(--t5m-azul); }

.t5m-fatura-lado { position: sticky; top: 92px; }
.t5m-pagar { border-radius: 20px; padding: 22px; color: #fff; background: radial-gradient(120% 120% at 0% 0%, #2a9bff 0%, #0083ff 45%, #005cc4 100%); box-shadow: var(--t5m-sombra-forte); }
.t5m-pagar-total span { display: block; font-size: 13px; font-weight: 700; color: #d6eaff; }
.t5m-pagar-total strong { display: block; font-size: 32px; font-weight: 900; color: #fff; line-height: 1.2; }
.t5m-pagar-total small { display: block; font-size: 13px; color: #d6eaff; margin-top: 2px; }
.t5m-pagar .payment-btn-container { margin: 0; }
.t5m-pagar .mpw { margin-top: 16px; }
.t5m-credito { margin-top: 18px; }
.t5m-credito h4 { font-size: 15px; margin-top: 0; }

/* Fatura paga */
.mpw-pago { background: #fff; border-radius: 14px; padding: 24px 18px 18px; margin-top: 16px; text-align: center; box-shadow: 0 6px 18px rgba(16, 24, 40, .12); }
.mpw-pago-icone { width: 68px; height: 68px; margin: 0 auto 14px; border-radius: 50%; background: #ecfdf3; display: flex; align-items: center; justify-content: center; animation: t5mPop .45s ease-out; }
.mpw-pago-icone span { width: 48px; height: 48px; border-radius: 50%; background: var(--t5m-verde); display: flex; align-items: center; justify-content: center; color: #fff !important; font-size: 22px; }
.mpw-pago h4 { margin: 0 0 6px; font-size: 18px; font-weight: 800; color: var(--t5m-marinho) !important; }
.mpw-pago p { margin: 0; font-size: 14px; line-height: 1.5; color: #475467 !important; }
.mpw-pago-dados { margin-top: 16px; padding-top: 14px; border-top: 1px solid #f2f4f7; display: flex; justify-content: space-between; gap: 8px; font-size: 12px; text-align: left; }
.mpw-pago-dados span { display: block; color: #98a2b3 !important; }
.mpw-pago-dados strong { display: block; color: var(--t5m-marinho) !important; font-size: 14px; }
@keyframes t5mPop { 0% { transform: scale(.6); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }

/* ---------------------------------------------------------------- Responsivo */
@media (max-width: 1199px) {
    .t5m-fatura-grade { grid-template-columns: 1fr; }
    .t5m-fatura-lado { position: static; max-width: 520px; }
    .t5m-contexto { position: static; }
}
@media (max-width: 991px) {
    .t5m-sidebar { transform: translateX(-100%); transition: transform .25s ease; box-shadow: 20px 0 40px rgba(0, 0, 0, .25); top: 0; }
    .t5m-sidebar-close { display: inline-flex; align-items: center; justify-content: center; }
    .t5m-menu-aberto .t5m-sidebar { transform: none; }
    .t5m-app-backdrop { display: block; position: fixed; inset: 0; z-index: 45; background: rgba(10, 20, 35, .45); opacity: 0; pointer-events: none; transition: opacity .25s; }
    .t5m-menu-aberto .t5m-app-backdrop { opacity: 1; pointer-events: auto; }
    .t5m-menu-aberto { overflow: hidden; }
    .t5m-app-main { margin-left: 0; }
    .t5m-topbar-menu { display: inline-flex; }
    .t5m-auth-art { display: none; }
    .t5m-hero-arte { display: none; }

    .t5m-site-burger { display: inline-flex; color: var(--t5m-marinho); cursor: pointer; }
    .t5m-site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; padding: 10px 16px 18px; box-shadow: 0 20px 30px rgba(39, 63, 91, .12); }
    .t5m-site-toggle:checked ~ .t5m-site-nav { display: flex; }
    .t5m-site-nav a { padding: 12px 10px; border-bottom: 1px solid var(--t5m-borda); }
    .t5m-site-footer-inner { grid-template-columns: 1fr; gap: 28px; padding: 44px 24px 40px; }
}
@media (max-width: 600px) {
    body.t5m { font-size: 14px; }
    .t5m-topbar-sub, .t5m-topbar-cta span { display: none; }
    .t5m-topbar-cta { width: 42px; padding: 0; justify-content: center; }
    .t5m-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
    .t5m-stat { grid-template-columns: 1fr; padding: 16px; }
    .t5m-stat-ico { grid-row: auto; width: 44px; height: 44px; margin-bottom: 8px; }
    .t5m-stat-num { font-size: 24px; }
    .t5m-aviso-fatura { flex-wrap: wrap; }
    .t5m-busca .t5m-btn { display: none; }
    .t5m-fatura-partes { grid-template-columns: 1fr; }
    .t5m-fatura-topo h2 { font-size: 24px; }
    .t5m-login-linha { flex-direction: column; align-items: flex-start; }
}
/* ---------------------------------------------------------------- Detalhes do servico (modulo cPanel) */
.t5m-svc-topo { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr); gap: 20px; margin-bottom: 24px; }
.t5m-svc-hero {
    position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: start;
    padding: 24px; border-radius: 20px; color: #dbe9fb;
    background: radial-gradient(90% 140% at 100% 0%, #1667c4 0%, rgba(22, 103, 196, 0) 60%), linear-gradient(135deg, #0b1b2e, #0f2a48 60%, #0b3a74);
    box-shadow: 0 18px 40px rgba(11, 27, 46, .25);
}
.t5m-svc-hero:before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(140, 200, 255, .16) 1.3px, transparent 1.3px); background-size: 22px 22px; }
.t5m-svc-hero > * { position: relative; }
.t5m-svc-hero-ico { width: 58px; height: 58px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: #0083ff; color: #fff; --t5m-icon-fill: rgba(255, 255, 255, .25); box-shadow: 0 10px 22px rgba(0, 131, 255, .4); }
.t5m-svc-grupo { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #7cc0ff; }
.t5m-svc-hero h2 { color: #fff; font-size: 24px; margin: 2px 0 6px; }
.t5m-svc-dominio { display: inline-flex; align-items: center; gap: 6px; color: #bfe0ff !important; font-weight: 700; word-break: break-all; --t5m-icon-fill: rgba(255, 255, 255, .2); }
.t5m-svc-status { padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 900; background: rgba(255, 255, 255, .12); color: #fff; white-space: nowrap; }
.t5m-svc-status-active { background: #12b76a; }
.t5m-svc-status-pending { background: #f79009; }
.t5m-svc-status-suspended, .t5m-svc-status-terminated { background: #f04438; }
.t5m-svc-acoes { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.t5m-svc-acoes .t5m-ico { --t5m-icon-fill: rgba(0, 131, 255, .15); }
.t5m-svc-acoes .t5m-btn-vazado .t5m-ico { --t5m-icon-fill: rgba(255, 255, 255, .2); }

.t5m-svc-uso { padding: 22px; border-radius: 20px; background: #fff; border: 1px solid var(--t5m-borda); box-shadow: var(--t5m-sombra); }
.t5m-svc-uso h4 { margin: 0 0 14px; font-size: 16px; }
.t5m-svc-barra { margin-bottom: 16px; }
.t5m-svc-barra-topo { display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 700; color: var(--t5m-marinho); margin-bottom: 6px; }
.t5m-svc-barra-topo span { display: inline-flex; align-items: center; gap: 6px; }
.t5m-svc-barra-topo .t5m-ico { color: var(--t5m-azul); }
.t5m-svc-trilho { height: 10px; border-radius: 999px; background: #edf2f8; overflow: hidden; }
.t5m-svc-trilho span { display: block; height: 100%; min-width: 4px; border-radius: 999px; background: linear-gradient(90deg, #0083ff, #3aa6ff); transition: width .6s ease; }
.t5m-svc-trilho span.t5m-atencao { background: linear-gradient(90deg, #f79009, #fdb022); }
.t5m-svc-trilho span.t5m-perigo { background: linear-gradient(90deg, #f04438, #f97066); }
.t5m-svc-barra small { display: block; margin-top: 5px; color: var(--t5m-sub); font-size: 12px; font-weight: 600; }
.t5m-svc-atualizado { margin: 0; font-size: 12px; color: var(--t5m-sub); }

.t5m-svc-titulo { font-size: 17px; margin: 6px 0 12px; }
.t5m-svc-atalhos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-bottom: 24px; }
.t5m-svc-atalho { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px; border-radius: 16px; background: #fff; border: 1px solid var(--t5m-borda); color: var(--t5m-marinho) !important; font-weight: 700; font-size: 14px; transition: all .2s; }
.t5m-svc-atalho span { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--t5m-azul-claro); color: var(--t5m-azul); font-size: 17px; transition: all .2s; }
.t5m-svc-atalho:hover { border-color: var(--t5m-azul-borda); box-shadow: var(--t5m-sombra); transform: translateY(-2px); }
.t5m-svc-atalho:hover span { background: var(--t5m-azul); color: #fff; }

.t5m-svc-email { margin-bottom: 24px; }
.t5m-svc-email h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 16px; }
.t5m-svc-email h4 .t5m-ico { color: var(--t5m-azul); }
.t5m-svc-email-campos { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 12px; align-items: end; }
.t5m-svc-email-campos label { display: block; margin-bottom: 6px; }
.t5m-svc-email-campos .btn { min-height: 44px; padding: 0 22px; }
.t5m-svc-extras { grid-template-columns: 1fr auto; }

.t5m-svc-aviso { display: flex; align-items: center; gap: 16px; padding: 18px 20px; margin-bottom: 24px; border-radius: 16px; background: #fffaeb; border: 1px solid #fedf89; }
.t5m-svc-aviso-suspended, .t5m-svc-aviso-terminated { background: #fef3f2; border-color: #fecdca; }
.t5m-svc-aviso-ico { width: 46px; height: 46px; flex: none; border-radius: 12px; background: #fff; display: flex; align-items: center; justify-content: center; color: #dc6803; --t5m-icon-fill: rgba(247, 144, 9, .2); }
.t5m-svc-aviso > div { flex: 1; }
.t5m-svc-aviso strong { display: block; color: #7a2e0e; }
.t5m-svc-aviso span { color: #93370d; font-size: 14px; }

.t5m-svc-dados { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin-bottom: 20px; }
.t5m-svc-dados > div { padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--t5m-borda); }
.t5m-svc-dados span { display: block; font-size: 12px; font-weight: 700; color: var(--t5m-sub); text-transform: uppercase; letter-spacing: .04em; }
.t5m-svc-dados strong { display: block; font-size: 16px; font-weight: 800; color: var(--t5m-marinho); margin-top: 2px; }
.t5m-svc-dominio-acoes { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 18px; margin-bottom: 24px; border-radius: 14px; background: var(--t5m-azul-claro); border: 1px solid var(--t5m-azul-borda); }
.t5m-svc-dominio-acoes > span { display: inline-flex; align-items: center; gap: 8px; color: var(--t5m-marinho); }
.t5m-svc-dominio-acoes .t5m-ico { color: var(--t5m-azul); }
.t5m-svc-dominio-acoes > div { display: flex; gap: 8px; flex-wrap: wrap; }

@media (max-width: 1199px) { .t5m-svc-topo { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
    .t5m-svc-hero { grid-template-columns: auto 1fr; }
    .t5m-svc-status { grid-column: 1 / -1; justify-self: start; }
    .t5m-svc-email-campos, .t5m-svc-extras { grid-template-columns: 1fr; }
    .t5m-svc-aviso { flex-wrap: wrap; }
}

/* ---------------------------------------------------------------- Impressao da fatura (cabecalho com o logo do site) */
.t5m-impressao-topo, .t5m-impressao-rodape { display: none; }
@media print {
    @page { size: A4; margin: 12mm 12mm 14mm; }
    html, body, body.t5m { background: #fff !important; font-size: 11pt; }
    * { -webkit-print-color-adjust: economy !important; print-color-adjust: economy !important; box-shadow: none !important; text-shadow: none !important; }
    .t5m-fatura, .t5m-fatura * { background: transparent !important; }
    .t5m-sidebar, .t5m-topbar, .t5m-app-footer, .t5m-app-backdrop, .t5m-strip, .t5m-fatura-lado, .t5m-fatura-acoes,
    .t5m-site-header, .rodape, .header-lined, .verification-banner, .alert, #fullpage-overlay { display: none !important; }
    .t5m-app-main, .t5m-content, .t5m-site-body { margin: 0 !important; padding: 0 !important; }
    .t5m-app-shell, .t5m-container { display: block; max-width: none; padding: 0; }
    .t5m-fatura-grade { display: block; }
    .t5m-fatura { border: 0 !important; box-shadow: none !important; padding: 0 !important; border-radius: 0; }
    a[href]:after { content: none !important; }

    .t5m-impressao-topo {
        display: flex; align-items: center; justify-content: space-between; gap: 20px;
        padding: 0 0 14px; margin-bottom: 18px; border-bottom: 1px solid #e3ebf5; position: relative;
    }
    .t5m-impressao-topo:before {
        content: ""; position: absolute; left: 0; right: 0; top: -12mm; height: 4px;
        display: none;
    }
    .t5m-impressao-topo img { width: 205px; height: 47px; image-rendering: auto; }
    .t5m-impressao-topo div { text-align: right; font-size: 9pt; line-height: 1.45; color: #6c84a3; }
    .t5m-impressao-topo strong { display: block; color: #0b1b2e; font-size: 10pt; }
    .t5m-impressao-topo span { display: block; }

    .t5m-fatura-topo { border-bottom: 0; padding-bottom: 8px; align-items: center; }
    .t5m-fatura-topo h2 { font-size: 24pt; }
    .t5m-fatura-datas { padding: 8px 0; border-top: 1px solid #999; border-bottom: 1px solid #999; border-radius: 0; gap: 26px; }
    .t5m-fatura-partes { padding: 14px 0; }
    .t5m-fatura-partes h4, .t5m-fatura-notas h4 { color: #0083ff !important; }
    .t5m-tabela { border: 0; border-radius: 0; }
    .t5m-tabela > thead > tr > th { color: #000 !important; font-size: 8pt; border-top: 1.5px solid #000 !important; border-bottom: 1.5px solid #000 !important; }
    .t5m-tabela > tbody > tr > td { border-top: 0 !important; border-bottom: 1px solid #bbb !important; color: #222 !important; }
    .t5m-tabela > tfoot > tr > td { border-top: 0 !important; color: #222 !important; }
    .t5m-tabela > tbody > tr > td { font-size: 10pt; padding: 8px 10px; }
    .t5m-tabela .t5m-total > td { color: #000 !important; border-top: 1.5px solid #000 !important; border-bottom: 3px double #000 !important; }
    .t5m-tag { border: 1px solid #000; color: #000 !important; }
    .t5m-impressao-topo, .t5m-impressao-rodape { border-color: #999 !important; }
    .t5m-fatura-partes h4, .t5m-fatura-notas h4, .t5m-fatura-datas dt { color: #555 !important; }
    .t5m-fatura-sec { margin-top: 14px; font-size: 12pt; }

    .t5m-impressao-rodape {
        display: block; margin-top: 26px; padding-top: 10px; border-top: 1px solid #e3ebf5;
        font-size: 8.5pt; color: #6c84a3; line-height: 1.6;
    }
    .t5m-impressao-rodape strong { color: #0b1b2e; }
}

/* =====================================================================
   Proprio do portal (o que o Bootstrap/WHMCS fazia + telas novas)
   ===================================================================== */
.t5m-txt-vermelho { color: var(--t5m-vermelho) !important; }
.t5m-txt-azul { color: var(--t5m-azul) !important; }
.t5m-txt-laranja { color: var(--t5m-laranja) !important; }
.t5m-sub-txt { color: var(--t5m-sub); }
.t5m-intro { color: var(--t5m-sub); max-width: 820px; margin-bottom: 18px; }
.t5m-btn-perigo { background: var(--t5m-vermelho); border-color: var(--t5m-vermelho); }
.t5m-btn-perigo:hover { background: #d92d20; border-color: #d92d20; box-shadow: 0 6px 16px rgba(240, 68, 56, .28); }
.t5m button.t5m-btn { font-family: inherit; }

/* Cabecalho da pagina */
.t5m-cabecalho { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.t5m-cabecalho h1 small { display: block; margin-top: 4px; }
.t5m-cabecalho-acoes { display: flex; gap: 10px; flex-wrap: wrap; }

/* Menu lateral: "Sair" e um botao (POST) */
.t5m-form-sair { margin: 0; }
.t5m-nav-sair { width: calc(100% - 28px); border: 0; background: transparent; font-size: 15px; text-align: left; }
.t5m-sub { list-style: none; }

/* Notificacoes e menu do usuario (details/summary, sem jQuery) */
.t5m-pop { position: relative; }
.t5m-pop > summary { list-style: none; cursor: pointer; }
.t5m-pop > summary::-webkit-details-marker { display: none; }
.t5m-pop-caixa {
    position: absolute; right: 0; top: calc(100% + 8px); z-index: 70; min-width: 280px; max-width: min(360px, calc(100vw - 24px));
    background: #fff; border: 1px solid var(--t5m-borda); border-radius: 12px; box-shadow: 0 16px 40px rgba(16, 24, 40, .14); padding: 6px; margin: 0; list-style: none;
}
.t5m .client-alerts li a { align-items: center; font-weight: 600; font-size: 14px; }
.t5m-user-menu > li > a, .t5m-user-menu .t5m-sair {
    display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 12px; border: 0; border-radius: 8px; background: transparent;
    color: var(--t5m-texto) !important; font-weight: 600; font-size: 14px; text-align: left;
}
.t5m-user-menu > li > a:hover, .t5m-user-menu .t5m-sair:hover { background: var(--t5m-azul-claro); color: var(--t5m-azul) !important; }
.t5m-user-menu .divider { height: 1px; margin: 6px 0; background: var(--t5m-borda); }
.t5m-user-menu form { margin: 0; }

/* Filtros (abas em pilula) */
.t5m-filtros { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.t5m-filtros a { padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--t5m-borda); color: var(--t5m-sub) !important; font-weight: 700; font-size: 14px; }
.t5m-filtros a:hover { border-color: var(--t5m-azul-borda); color: var(--t5m-azul) !important; }
.t5m-filtros a.ativo { background: var(--t5m-azul); border-color: var(--t5m-azul); color: #fff !important; }

/* Listas */
.t5m-lista tr[data-href] { cursor: pointer; }
.t5m-lista a { color: var(--t5m-marinho); }
.t5m-lista a:hover { color: var(--t5m-azul); }
.t5m-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.t5m-item small { display: block; color: var(--t5m-sub); font-size: 13px; }
.t5m-item strong { color: var(--t5m-marinho); font-weight: 700; }
.t5m-link-titulo { float: right; font-size: 13px; font-weight: 700; }
.t5m-paineis { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 0 22px; }

/* Formularios */
.t5m-grade-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.t5m-grade-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 16px; }
.t5m-form-card { max-width: 980px; }
.t5m-form-estreito { max-width: 520px; }
.t5m-form-botoes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.t5m-form-fechar { margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--t5m-borda); }
.t5m-linha-form { display: flex; gap: 8px; }
.t5m-legenda { font-weight: 700; color: var(--t5m-marinho); font-size: 14px; margin-bottom: 8px; padding: 0; }
.t5m fieldset { border: 0; padding: 0; margin: 0 0 16px; }
.t5m-check-linha { display: flex; margin-bottom: 6px; }
.t5m-termos { display: flex; margin: 4px 0 18px; font-size: 14px; }
.t5m-auth-box:has(.t5m-form-cadastro) { max-width: 620px; }
.t5m-campo small { color: var(--t5m-sub); font-weight: 600; }
.t5m .form-control:disabled { background: #f4f7fb; color: var(--t5m-sub); }

/* Pagina de erro / vazio */
.t5m-vazio-card { text-align: center; padding: 40px 20px; max-width: 560px; margin: 30px auto; }
.t5m-vazio-card .t5m-ico { color: var(--t5m-laranja); margin-bottom: 10px; }

/* Chamados */
.t5m-ticket-info { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.t5m-ticket-info > div { padding: 10px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--t5m-borda); }
.t5m-ticket-info span:first-child { display: block; font-size: 12px; font-weight: 700; color: var(--t5m-sub); text-transform: uppercase; letter-spacing: .04em; }
.t5m-ticket-info strong { color: var(--t5m-marinho); }
.t5m-conversa { display: flex; flex-direction: column; gap: 14px; margin-bottom: 22px; }
.t5m-msg { background: #fff; border: 1px solid var(--t5m-borda); border-radius: 16px; padding: 16px 18px; box-shadow: var(--t5m-sombra); max-width: 900px; }
.t5m-msg-equipe { border-color: var(--t5m-azul-borda); background: #f7fbff; margin-left: auto; }
.t5m-msg header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.t5m-msg header strong { display: block; color: var(--t5m-marinho); }
.t5m-msg header small { display: block; color: var(--t5m-sub); font-size: 12px; }
.t5m-avatar-equipe { background: linear-gradient(135deg, #12b76a, #067647); }
.t5m-msg-texto { word-wrap: break-word; overflow-wrap: anywhere; }
.t5m-anexos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--t5m-borda); }
.t5m-anexos a { font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 8px; background: var(--t5m-azul-claro); }

.t5m-email-quadro { width: 100%; min-height: 520px; border: 1px solid var(--t5m-borda); border-radius: 12px; background: #fff; }

/* Contratar */
.t5m-planos { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; margin-bottom: 28px; }
.t5m-plano { display: flex; flex-direction: column; padding: 22px; border-radius: 18px; background: #fff; border: 1px solid var(--t5m-borda); box-shadow: var(--t5m-sombra); transition: transform .2s, box-shadow .2s; }
.t5m-plano:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(39, 63, 91, .12); }
.t5m-plano h3 { font-size: 19px; margin-bottom: 8px; }
.t5m-plano-preco small { display: block; color: var(--t5m-sub); font-weight: 700; font-size: 12px; text-transform: uppercase; }
.t5m-plano-preco strong { font-size: 30px; font-weight: 900; color: var(--t5m-azul); }
.t5m-plano-preco span { display: block; color: var(--t5m-sub); font-size: 13px; }
.t5m-plano ul { list-style: none; padding: 0; margin: 16px 0 20px; flex: 1; }
.t5m-plano li { padding: 4px 0; font-size: 14px; }
.t5m-plano li i { color: var(--t5m-verde); margin-right: 6px; }

.t5m-passos { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0 0 22px; flex-wrap: wrap; }
.t5m-passos li { display: flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--t5m-borda); color: var(--t5m-sub); font-weight: 700; font-size: 14px; }
.t5m-passo-num { width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #eef2f6; font-size: 13px; }
.t5m-passos .t5m-feito .t5m-passo-num { background: var(--t5m-verde); color: #fff; }
.t5m-passos .t5m-atual { border-color: var(--t5m-azul); color: var(--t5m-azul); }
.t5m-passos .t5m-atual .t5m-passo-num { background: var(--t5m-azul); color: #fff; }

.t5m-pedido { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: 22px; align-items: start; }
.t5m-ciclos { display: grid; gap: 10px; }
.t5m-ciclo { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--t5m-borda); cursor: pointer; margin: 0; font-weight: 600 !important; }
.t5m-ciclo:hover { border-color: var(--t5m-azul-borda); background: #f7fbff; }
.t5m-ciclo input { width: 18px; height: 18px; accent-color: var(--t5m-azul); margin: 0; }
.t5m-ciclo > span { flex: 1; }
.t5m-ciclo > span strong { display: block; color: var(--t5m-marinho); }
.t5m-ciclo > span small, .t5m-ciclo em small { display: block; color: var(--t5m-sub); font-weight: 600; font-size: 12px; }
.t5m-ciclo em { font-style: normal; font-weight: 900; color: var(--t5m-marinho); text-align: right; }
.t5m-ciclo:has(input:checked) { border-color: var(--t5m-azul); box-shadow: 0 0 0 3px rgba(0, 131, 255, .14); background: #f7fbff; }
.t5m-resumo { position: sticky; top: 92px; }
.t5m-resumo h3 { margin: 4px 0 2px; }
.t5m-resumo dl { margin: 16px 0; }
.t5m-resumo dl > div { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--t5m-borda); }
.t5m-resumo dd { margin: 0; font-weight: 800; color: var(--t5m-marinho); }
.t5m-resumo-total dt, .t5m-resumo-total dd { font-size: 18px; font-weight: 900; color: var(--t5m-marinho); }
.t5m-resumo .t5m-btn-bloco + .t5m-btn-bloco { margin-top: 10px; }

/* Painel do Mercado Pago (mesmo estilo do modulo modules/gateways/mercadopago.php) */
.mpw{margin-top:16px;text-align:left;color:#1f2733!important;background:#fff;border-radius:10px;padding:14px;font-size:14px;line-height:1.45;box-shadow:0 6px 18px rgba(16,24,40,.12)}
.mpw *{box-sizing:border-box}
.mpw-teste{background:#fff3cd;color:#664d03!important;border-radius:6px;padding:6px 8px;margin-bottom:12px;font-size:12px;font-weight:600;text-align:center}
.mpw-titulo{font-size:13px;font-weight:700;color:#475467!important;text-transform:uppercase;letter-spacing:.04em;margin:0 0 10px}
.mpw-tabs{display:flex;gap:4px;margin-bottom:14px;background:#f2f4f7;border-radius:8px;padding:4px}
.mpw-tabs button{flex:1;border:0;background:transparent;color:#475467!important;border-radius:6px;padding:9px 4px;font-weight:600;font-size:14px;cursor:pointer;white-space:nowrap}
.mpw-tabs button i{margin-right:5px}
.mpw-tabs button.ativo{background:#fff;color:#0a66c2!important;box-shadow:0 1px 3px rgba(16,24,40,.15)}
.mpw-texto{font-size:13px;color:#475467!important;margin:0 0 12px}
.mpw label{display:block;font-weight:600;font-size:13px;margin:0 0 5px;color:#344054!important}
.mpw input,.mpw textarea{width:100%;border:1px solid #d0d5dd;border-radius:8px;padding:9px 10px;font-size:14px;color:#1f2733!important;background:#fff;outline:none}
.mpw input:focus{border-color:#009ee3;box-shadow:0 0 0 3px rgba(0,158,227,.15)}
.mpw textarea{font-family:Consolas,monospace;font-size:11px;height:64px;resize:none;word-break:break-all;background:#f9fafb;color:#475467!important}
.mpw .mpw-btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;margin-top:12px;border:0;border-radius:8px;padding:11px;background:#009ee3;color:#fff!important;font-weight:700;font-size:14px;cursor:pointer;transition:background .15s}
.mpw .mpw-btn:hover{background:#0087c2}
.mpw .mpw-btn[disabled]{opacity:.65;cursor:default}
.mpw-qr{text-align:center}
.mpw-qr-box{border:1px solid #eaecf0;border-radius:10px;padding:8px;margin:0 auto 12px;max-width:210px}
.mpw-qr img{width:100%;height:auto;display:block}
.mpw-qr label{text-align:left}
.mpw-espera{display:flex;align-items:center;justify-content:center;gap:8px;font-size:13px;color:#475467!important;margin-top:12px}
.mpw-pulso{width:9px;height:9px;border-radius:50%;background:#12b76a;box-shadow:0 0 0 0 rgba(18,183,106,.6);animation:mpwPulso 1.6s infinite}
@keyframes mpwPulso{70%{box-shadow:0 0 0 8px rgba(18,183,106,0)}100%{box-shadow:0 0 0 0 rgba(18,183,106,0)}}
.mpw-expira{display:block;font-size:12px;color:#98a2b3!important;margin-top:4px}
.mpw-msg{margin-top:12px;padding:9px 10px;border-radius:8px;font-size:13px}
.mpw-msg.erro{background:#fef3f2;color:#b42318!important}
.mpw-msg.ok{background:#ecfdf3;color:#067647!important}
.mpw-msg.info{background:#eff8ff;color:#175cd3!important}
.mpw [id^="mpw-card-"]{width:100%;min-width:0}
.mpw [id^="mpw-card-"] > div{width:100%!important;max-width:100%!important;margin:0!important}
.mpw [id^="mpw-card-"] input[name="HOLDER_NAME"]{border:1px solid #d0d5dd!important;border-radius:8px!important}
.mpw [id^="mpw-card-"] select{padding:8px 22px 8px 10px!important;min-width:70px!important;width:auto!important}
.mpw-seguro{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:14px;padding-top:12px;border-top:1px solid #f2f4f7;font-size:12px;color:#98a2b3!important}

.t5m address { font-style: normal; }

/* Celular */
@media (max-width: 1199px) {
    .t5m-fatura-lado { order: -1; max-width: none; }
}
@media (max-width: 600px) {
    .t5m-aviso-fatura .t5m-btn { width: 100%; }
}
@media (max-width: 991px) {
    .t5m-pedido { grid-template-columns: 1fr; }
    .t5m-resumo { position: static; }
}
@media (max-width: 767px) {
    .t5m .form-control { font-size: 16px; }
    .t5m-grade-2, .t5m-grade-3 { grid-template-columns: 1fr; }
    .t5m-col-sec { display: none; }
    .t5m-user-name, .t5m-user-btn .fa-chevron-down { display: none; }
    .t5m-user-btn { padding: 0 5px; }
    .t5m-paineis { grid-template-columns: 1fr; }
    .t5m-msg-equipe { margin-left: 0; }
    .t5m-pop-caixa { position: fixed; left: 12px; right: 12px; top: 70px; max-width: none; }
    .t5m-content { padding-top: 20px; }
    .t5m-cabecalho h1 { font-size: 22px; }
}
@media print {
    .t5m-cabecalho, .t5m-filtros { display: none !important; }
}
