/* ===================================================
   CHARACTER PROFILE - FUTURISTIC DRAGON BALL THEME
   =================================================== */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@600;700;900&display=swap');

/* ---- WRAPPER CARD ---- */
#characterProfileTable {
    width: 100%;
    border-collapse: collapse;
    background: linear-gradient(135deg, #0d1220 0%, #111827 100%);
    border: 1px solid rgba(245,166,35,0.25);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(245,166,35,0.08), 0 8px 32px rgba(0,0,0,0.6);
}

/* ---- HEADER ROW (avatar + name) ---- */
#characterProfileTable > thead > tr {
    background: linear-gradient(90deg, #0d1220 0%, #1a2035 50%, #0d1220 100%);
    border-bottom: 2px solid rgba(245,166,35,0.3);
}

#characterProfileTable > thead > tr > th:first-child {
    width: 180px;
    padding: 24px 16px 16px 24px;
    vertical-align: middle;
    text-align: center;
}

/* ---- AVATAR ---- */
.vocation-image {
    box-shadow: 0 0 0 3px #f5a623, 0 0 25px rgba(245,166,35,0.5), 0 0 50px rgba(245,166,35,0.2) !important;
    animation: glow-pulse 2.5s ease-in-out infinite;
}
.vocation-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 50% !important;
}
@keyframes glow-pulse {
    0%, 100% { box-shadow: 0 0 0 3px #f5a623, 0 0 20px rgba(245,166,35,0.4), 0 0 40px rgba(245,166,35,0.15); }
    50%       { box-shadow: 0 0 0 3px #ff6b00, 0 0 35px rgba(255,107,0,0.6), 0 0 60px rgba(255,107,0,0.25); }
}

/* ---- CHARACTER NAME ---- */
#characterProfileTable thead th h1.input-field,
#characterProfileTable thead th h1 {
    font-family: 'Orbitron', sans-serif !important;
    font-size: 2.4rem !important;
    font-weight: 900 !important;
    color: #f5a623 !important;
    text-shadow: 0 0 20px rgba(245,166,35,0.6), 0 0 40px rgba(245,166,35,0.2) !important;
    letter-spacing: 5px !important;
    text-transform: uppercase !important;
    margin: 0 !important;
    line-height: 1.2 !important;
}

/* ---- STATS TABLE ---- */
.profile-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.profile-table tr {
    border-bottom: 1px solid rgba(245,166,35,0.08);
    transition: background 0.2s;
    position: relative;
}
.profile-table tr:hover {
    background: rgba(245,166,35,0.05);
}
.profile-table tr:hover td:first-child {
    color: #f5a623;
}

/* Label column */
.profile-table td:first-child {
    padding: 14px 24px;
    color: #94a3b8;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    white-space: nowrap;
    width: 220px;
    border-right: 1px solid rgba(245,166,35,0.1);
    transition: color 0.2s;
}
.profile-table td:first-child i {
    color: #f5a623;
    margin-right: 12px;
    font-size: 1.05rem;
    text-shadow: 0 0 8px rgba(245,166,35,0.6);
    width: 18px;
    text-align: center;
}

/* Value column */
.profile-table td:last-child {
    padding: 14px 24px;
    color: #e2e8f0;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Alternating rows */
.profile-table tr:nth-child(even) {
    background: rgba(255,255,255,0.02);
}

/* ---- ONLINE / OFFLINE STATUS ---- */
.profile-table tr.online td { }
.profile-table tr.online td:last-child {
    color: #22c55e !important;
    font-weight: 700;
}
.profile-table tr.online td:first-child i {
    color: #22c55e !important;
    text-shadow: 0 0 8px rgba(34,197,94,0.7) !important;
    animation: pulse-green 2s infinite;
}
.profile-table tr.offline td:first-child i {
    color: #ef4444 !important;
    text-shadow: 0 0 8px rgba(239,68,68,0.7) !important;
}
@keyframes pulse-green {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ---- SECTION TITLES (Lista de Mortes, etc) ---- */
#characterprofileDeaths,
#characterprofileTable,
#characterprofileQuest {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: linear-gradient(135deg, #0d1220, #111827);
    border: 1px solid rgba(245,166,35,0.2);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

#characterprofileDeaths tr.yellow th,
#characterprofileTable tr.yellow th,
#characterprofileQuest tr.yellow th {
    background: linear-gradient(90deg, rgba(245,166,35,0.15), rgba(255,107,0,0.1));
    padding: 11px 16px;
    color: #f5a623 !important;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(245,166,35,0.25);
}

#characterprofileDeaths td,
#characterprofileTable td {
    padding: 10px 16px;
    color: #cbd5e1;
    font-size: 0.88rem;
    border-bottom: 1px solid rgba(245,166,35,0.06);
}
#characterprofileDeaths tr:hover td,
#characterprofileTable tr:hover td {
    background: rgba(245,166,35,0.04);
}

/* "Este jogador nunca morreu." */
#characterprofileDeaths td[colspan="2"] {
    text-align: center;
    color: #22c55e !important;
    font-style: italic;
    padding: 20px;
    font-size: 0.9rem;
}

/* ---- SECTION HEADER LABELS ---- */
b[style*="color: red"],
b[style*="color: blue"] {
    display: inline-block;
    font-family: 'Orbitron', sans-serif !important;
    font-size: 0.85rem !important;
    letter-spacing: 2px !important;
    color: #f5a623 !important;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(245,166,35,0.4);
    padding: 6px 0;
}

/* "Outros personagens" table header */
h4 b {
    font-family: 'Orbitron', sans-serif;
    color: #f5a623 !important;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(245,166,35,0.4);
}

/* ---- STAT BADGES (level, vocation values) ---- */
.profile-table td:last-child a {
    color: #f5a623;
    text-decoration: none;
    transition: text-shadow 0.2s;
}
.profile-table td:last-child a:hover {
    text-shadow: 0 0 8px rgba(245,166,35,0.6);
}

/* ---- DELETION WARNING ---- */
td[colspan="2"][style*="color: red"] {
    background: rgba(239,68,68,0.08) !important;
    color: #ef4444 !important;
    text-align: center;
    padding: 10px;
    font-size: 0.85rem;
    border-left: 3px solid #ef4444;
}

/* ---- FLAG ---- */
.flag img {
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
    margin-bottom: 8px;
}

/* ---- OUTER PADDING ---- */
#characterProfileTable > thead > tr > th:last-child {
    padding: 24px 24px 16px 16px;
    vertical-align: middle;
}
