:root {
    --baalam-black: #111111;
    --baalam-ember: #e8630a;
    --baalam-flame: #ff8c1a;
    --baalam-card: #ffffff;
}

body {
    background-color: #f4f2ef;
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    padding-bottom: 70px;
}

/* ---------- Navbar superior ---------- */
.app-navbar {
    background-color: var(--baalam-black);
    box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.navbar-logo {
    width: 34px;
    height: 34px;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid var(--baalam-flame);
}
.app-spacer { height: 64px; }

/* ---------- Bottom nav (estilo app) ---------- */
.app-bottom-nav {
    background-color: var(--baalam-black);
    padding: 8px 0;
    box-shadow: 0 -2px 8px rgba(0,0,0,.25);
}
.bottom-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ccc;
    text-decoration: none;
    font-size: 0.72rem;
    gap: 2px;
}
.bottom-link i { font-size: 1.3rem; }
.bottom-link.active,
.bottom-link:hover { color: var(--baalam-flame); }

/* ---------- Contenedor general ---------- */
.app-container { padding-top: 16px; max-width: 640px; }

/* ---------- Auth (login / registro) ---------- */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top, #1c1c1c 0%, #000 70%);
    padding: 24px 16px;
}
.auth-card {
    background: #fff;
    border-radius: 14px;
    padding: 32px 28px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.auth-logo {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin: 0 auto 12px;
    border: 3px solid var(--baalam-flame);
}
.auth-title {
    text-align: center;
    font-weight: 700;
    letter-spacing: .5px;
    margin-bottom: 4px;
}
.auth-subtitle {
    text-align: center;
    color: #777;
    margin-bottom: 24px;
    font-size: .9rem;
}
.btn-baalam {
    background-color: var(--baalam-black);
    color: #fff;
    border: none;
}
.btn-baalam:hover {
    background-color: var(--baalam-ember);
    color: #fff;
}

/* ---------- Tarjetas de datos (solo lectura) ---------- */
.data-card {
    background: var(--baalam-card);
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
    border: 1px solid #eee;
}
.data-card h6 {
    text-transform: uppercase;
    font-size: .75rem;
    letter-spacing: .06em;
    color: var(--baalam-ember);
    font-weight: 700;
    margin-bottom: 12px;
}
.data-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px dashed #eee;
    font-size: .92rem;
}
.data-row:last-child { border-bottom: none; }
.data-row .label { color: #777; }
.data-row .value { text-align: right; font-weight: 500; }

.rank-badge {
    background: var(--baalam-black);
    color: var(--baalam-flame);
    padding: 3px 12px;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .04em;
}

.status-pill { font-size: .7rem; padding: 2px 10px; border-radius: 999px; }
.status-Active { background:#e6f6ea; color:#1c7c3c; }
.status-Inactive { background:#f1f1f1; color:#777; }
.status-Suspended { background:#fde8e8; color:#c0392b; }

.card-edit-link {
    font-size: .8rem;
    color: var(--baalam-ember);
    text-decoration: none;
    font-weight: 600;
}
.card-edit-link:hover { text-decoration: underline; }

.empty-hint {
    color: #999;
    font-size: .88rem;
    font-style: italic;
}

.section-title {
    font-weight: 700;
    margin: 18px 0 10px;
}
