/* =========================================================
   BASE GLOBAL DO SITE — MUCIDA SEASON 4+
   PADRÃO VISUAL OFICIAL (DESIGN SYSTEM)
   ========================================================= */

/* ===============================
   BASE GLOBAL
   =============================== */
* { box-sizing: border-box; }

html, body {
    width: 100%;
    height: 100%;
}

/* Estrutura */
body {
    margin: 0;
    padding: 0;
    background: #0f172a;
    color: #e5e7eb;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
}

/* ===============================
   CONTAINER
   =============================== */
.container,
.page {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

.page { flex: 1; }

/* ===============================
   TÍTULOS
   =============================== */
h1, h2, h3, h4 {
    margin: 0 0 10px 0;
    color: #f8fafc;
}

/* ===============================
   LINKS
   =============================== */
a {
    color: #93c5fd;
    text-decoration: none;
}
a:hover { text-decoration: underline; }

/* ===============================
   LOGO
   =============================== */
.logo-auth {
    display: block;
    max-width: 300px;
    margin: 0 auto 20px;
}

/* ===============================
   CARDS
   =============================== */
.card {
    background: #020617;
    border: 1px solid #1f2933;
    border-radius: 10px;
    padding: 18px;
    margin-bottom: 20px;
}

/* 🔹 PADRÃO OFICIAL — CARD DE FORMULÁRIO */
.card-form {
    max-width: 520px;
    margin: 0 auto 20px auto;
}

/* Mobile */
@media (max-width: 640px) {
    .card-form {
        max-width: 100%;
    }
}

/* ===============================
   FORMULÁRIOS
   =============================== */
label {
    display: block;
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 4px;
}

input,
select,
textarea {
    width: 100%;
    max-width: 420px;
    padding: 9px 10px;
    margin-bottom: 14px;
    background: #020617;
    border: 1px solid #1f2933;
    border-radius: 6px;
    color: #e5e7eb;
    font-size: 14px;
}

/* Inputs dentro de card-form ocupam melhor o espaço */
.card-form input,
.card-form select,
.card-form textarea {
    max-width: 100%;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #2563eb;
}

/* ===============================
   BOTÕES
   =============================== */
.btn {
    display: inline-block;
    padding: 9px 16px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    text-align: center;
}

.btn-block { width: 100%; }

.btn-primary { background: #2563eb; color: #fff; }
.btn-primary:hover { background: #1d4ed8; }

.btn-edit { background: #3b82f6; color: #fff; }
.btn-edit:hover { background: #2563eb; }

.btn-success { background: #22c55e; color: #052e16; }
.btn-success:hover { background: #16a34a; }

.btn-warning { background: #f59e0b; color: #1a1a1a; }
.btn-warning:hover { background: #d97706; }

.btn-danger { background: #dc2626; color: #fff; }
.btn-danger:hover { background: #b91c1c; }

.btn-safe { background: #16a34a; color: #fff; }
.btn-safe:hover { background: #15803d; }

/* ===============================
   ALERTAS
   =============================== */
.alert-success {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #022c22;
    padding: 16px;
    border-radius: 8px;
    border: 2px solid #15803d;
    box-shadow: 0 0 12px rgba(34,197,94,.9);
    text-align: center;
}

.alert-attention {
    background: linear-gradient(135deg, #facc15, #fde047);
    color: #1a1a1a;
    padding: 16px;
    border-radius: 8px;
    border: 2px solid #eab308;
    box-shadow: 0 0 12px rgba(250,204,21,.9);
    text-align: center;
}

.alert-error {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    padding: 16px;
    border-radius: 8px;
    border: 2px solid #b91c1c;
    box-shadow: 0 0 12px rgba(239,68,68,.9);
    text-align: center;
}

.alert-info {
    background: rgba(59,130,246,.08);
    color: #93c5fd;
    border-left: 4px solid #3b82f6;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 13px;
}

/* ===============================
   BADGES
   =============================== */
.badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.badge-muted   { background: #334155; color: #e5e7eb; }
.badge-success { background: #16a34a; color: #fff; }
.badge-danger  { background: #dc2626; color: #fff; }

.badge-bronze { background: linear-gradient(135deg, #92400e, #78350f); }
.badge-prata  { background: linear-gradient(135deg, #9ca3af, #6b7280); color:#020617; }
.badge-ouro   { background: linear-gradient(135deg, #facc15, #eab308); color:#1a1a1a; }

/* ===============================
   VIP — GLOWS OFICIAIS ✅ NOVO
   =============================== */
.vip-glow-bronze {
    box-shadow: 0 0 12px rgba(146, 64, 14, 0.6);
}

.vip-glow-prata {
    box-shadow: 0 0 12px rgba(156, 163, 175, 0.6);
}

.vip-glow-ouro {
    box-shadow: 0 0 14px rgba(250, 204, 21, 0.8);
}

/* FREE → sem glow por padrão */

/* ===============================
   PILLS / OBLONGOS PADRÃO
   =============================== */
.pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 18px;
    border-radius: 999px;
    font-weight: bold;
    font-size: 14px;
    white-space: nowrap;
}

/* AZUL */
.pill-blue {
    background: rgba(59,130,246,.15);
    border: 1px solid rgba(59,130,246,.6);
    color: #bfdbfe;
    box-shadow: 0 0 12px rgba(59,130,246,.7);
}

.pill-blue-soft {
    background: rgba(147,197,253,.15);
    border: 1px solid rgba(147,197,253,.6);
    color: #e0f2fe;
    box-shadow: 0 0 10px rgba(147,197,253,.6);
}

/* VERDE */
.pill-green {
    background: rgba(34,197,94,.15);
    border: 1px solid rgba(34,197,94,.6);
    color: #ecfdf5;
    box-shadow: 0 0 12px rgba(34,197,94,.7);
}

/* VERMELHO */
.pill-red {
    background: rgba(239,68,68,.15);
    border: 1px solid rgba(239,68,68,.6);
    color: #fee2e2;
    box-shadow: 0 0 12px rgba(239,68,68,.7);
}

/* AMARELO */
.pill-yellow {
    background: rgba(250,204,21,.18);
    border: 1px solid rgba(250,204,21,.7);
    color: #fef9c3;
    box-shadow: 0 0 12px rgba(250,204,21,.7);
}

/* LARANJA */
.pill-orange {
    background: rgba(249,115,22,.18);
    border: 1px solid rgba(249,115,22,.7);
    color: #ffedd5;
    box-shadow: 0 0 12px rgba(249,115,22,.7);
}

/* MASCULINO */
.pill-male {
    background: rgba(37,99,235,.18);
    border: 1px solid rgba(37,99,235,.7);
    color: #dbeafe;
    box-shadow: 0 0 12px rgba(37,99,235,.7);
}

/* FEMININO */
.pill-female {
    background: rgba(236,72,153,.18);
    border: 1px solid rgba(236,72,153,.7);
    color: #fce7f3;
    box-shadow: 0 0 12px rgba(236,72,153,.7);
}

/* ===============================
   NOTÍCIAS DO SERVIDOR
   =============================== */
.news-item {
    padding: 12px 0;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(147, 197, 253, 0.45);
}

.news-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.news-item-title {
    color: #93c5fd;
    font-weight: bold;
    font-size: 17px;
    margin-bottom: 4px;
}

.news-item-date {
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 8px;
}

.news-item-content {
    font-size: 14px;
    font-weight: normal;
    color: #e5e7eb;
    line-height: 1.6;
}

/* ===============================
   TABELAS / FOOTER
   =============================== */
table {
    width: 100%;
    border-collapse: collapse;
    background: #020617;
}

th, td {
    border: 1px solid #1f2933;
    padding: 10px;
    text-align: center;
}

th { color: #cbd5f5; }

.footer {
    margin-top: 40px;
    padding: 16px 0;
    border-top: 1px solid #1f2933;
    text-align: center;
    color: #94a3b8;
    font-size: 13px;
}

/* ===============================
   GLOWS PADRÃO
   =============================== */
.glow-blue    { box-shadow: 0 0 14px rgba(37,99,235,.35); }
.glow-green   { box-shadow: 0 0 14px rgba(34,197,94,.35); }
.glow-warning { box-shadow: 0 0 14px rgba(249,115,22,.35); }

.glow-blue,
.glow-green,
.glow-warning {
    border-radius: 10px;
}

/* ===============================
   GLOWS FORTES
   =============================== */
.glow-blue-strong {
    border-radius: 12px;
    box-shadow: 0 0 22px rgba(56,189,248,.9);
    animation: bluePulse 2.4s ease-in-out infinite;
}

@keyframes bluePulse {
    0%   { box-shadow: 0 0 14px rgba(56,189,248,.6); }
    50%  { box-shadow: 0 0 32px rgba(56,189,248,1); }
    100% { box-shadow: 0 0 14px rgba(56,189,248,.6); }
}

.glow-green-strong {
    border-radius: 12px;
    box-shadow: 0 0 22px rgba(34,197,94,.9);
    animation: greenPulse 2.2s ease-in-out infinite;
}

@keyframes greenPulse {
    0%   { box-shadow: 0 0 14px rgba(34,197,94,.6); }
    50%  { box-shadow: 0 0 34px rgba(34,197,94,1); }
    100% { box-shadow: 0 0 14px rgba(34,197,94,.6); }
}

.glow-red-strong {
    border-radius: 12px;
    box-shadow: 0 0 26px rgba(239,68,68,.85);
}

/* ===============================
   SCROLLBAR
   =============================== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-thumb {
    background: #1f2933;
    border-radius: 4px;
}
