/* ============================================================
   MuEx.top — Module Styles v2.0
   Downloads · Registration · Vote-for-VIP · Info Tables
   Aligned with the gold/crimson dark theme
   ============================================================ */

.page-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-primary, #f1f5f9);
}

.page-header { margin-bottom: 28px; }

.page-content {
    background: rgba(13, 15, 23, 0.6);
    padding: 22px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

/* ---- Info Section ---- */
.info-section { margin-bottom: 28px; }
.info-section .info-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(13, 15, 23, 0.6);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.info-table td {
    padding: 13px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: #f1f5f9;
    font-size: 13px;
}
.info-table tr:last-child td { border-bottom: none; }
.info-table tr:hover { background: rgba(212, 175, 55, 0.06); }

.text-center { text-align: center; }

/* ============================================================ DOWNLOADS */
.download-section { margin-bottom: 36px; }
.section-title {
    font-size: 1.4rem;
    color: #f1f5f9;
    border-bottom: 2px solid var(--accent, #00d4ff);
    padding-bottom: 10px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-family: var(--font-display, 'Sora', sans-serif);
    font-weight: 700;
}
.download-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
    gap: 14px;
}
.download-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-glass, rgba(17, 26, 44, 0.72));
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border-subtle, rgba(255,255,255,0.06));
    border-radius: 14px;
    padding: 20px;
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(0,0,0,0.4));
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.download-item:hover {
    background: rgba(0, 212, 255, 0.06);
    border-color: var(--border-accent, rgba(0,212,255,0.30));
    transform: translateY(-3px);
    box-shadow: var(--shadow-md, 0 8px 24px rgba(0,0,0,0.5)), 0 0 0 1px rgba(0, 212, 255, 0.05);
}
.download-info { flex-grow: 1; padding-right: 20px; }
.download-title {
    margin: 0 0 6px 0;
    font-size: 1.15rem;
    color: #f1f5f9;
    font-weight: 700;
    font-family: var(--font-display, 'Sora', sans-serif);
    letter-spacing: 0.5px;
}
.download-description {
    margin: 0;
    font-size: 0.88rem;
    color: #94a3b8;
    line-height: 1.5;
}
.download-meta {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
}
.download-size {
    font-size: 0.9rem;
    color: var(--accent, #00d4ff);
    font-weight: 700;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.25);
    padding: 6px 14px;
    border-radius: 999px;
    white-space: nowrap;
    font-family: var(--font-mono, 'Space Grotesk', monospace);
}
.download-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--accent, #00d4ff), #00a8cc);
    color: #04121a !important;
    text-decoration: none !important;
    padding: 11px 22px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    min-width: 110px;
    box-shadow: 0 4px 16px rgba(0, 212, 255, 0.25);
}
.download-button:hover {
    background: linear-gradient(135deg, #4de3ff, #00d4ff);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 212, 255, 0.45);
}

/* ============================================================ REGISTRATION */
.card {
    background-color: rgba(18, 21, 31, 0.85) !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
    border-radius: 16px !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(12px);
}
.card-body { padding: 2.5rem !important; }

hr {
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    opacity: 0.6 !important;
}
.card-body .mb-3 {
    display: flex;
    flex-direction: column;
}
.form-label {
    display: block;
    color: #f1f5f9 !important;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem !important;
    transition: color 0.2s ease;
    letter-spacing: 0.3px;
}
.form-control {
    background-color: rgba(0, 0, 0, 0.35) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #f1f5f9 !important;
    padding: 0.7rem 1rem !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
    font-size: 0.95rem;
}
.form-control:focus {
    background-color: rgba(0, 0, 0, 0.5) !important;
    border-color: #d4af37 !important;
    color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15) !important;
}
.card-body .mb-3:focus-within .form-label { color: #f0c75e !important; }

.input-group { display: flex !important; width: 100% !important; }
#passwordMatchIcon {
    background-color: rgba(0, 0, 0, 0.35) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-left: none !important;
    color: #f1f5f9;
    display: flex;
    align-items: center;
    padding: 0 0.75rem;
}
.input-group:focus-within #passwordMatchIcon { border-color: #d4af37 !important; }

.form-check { padding-top: 0.5rem; }
.form-check-label {
    color: #94a3b8 !important;
    font-size: 0.9rem;
    cursor: pointer;
}
.form-check-label a {
    color: #d4af37;
    text-decoration: none;
    font-weight: 600;
}
.form-check-label a:hover { text-decoration: underline; color: #f0c75e; }
.form-check-input {
    background-color: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
}
.form-check-input:checked {
    background-color: #d4af37;
    border-color: #d4af37;
}
.form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15) !important;
    border-color: #d4af37;
}

.btn-primary {
    background: linear-gradient(135deg, #d4af37, #b8941f) !important;
    border: none !important;
    color: #1a1505 !important;
    padding: 13px 24px !important;
    border-radius: 999px !important;
    font-weight: 700 !important;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    font-size: 13px !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3);
}
.btn-primary:hover {
    background: linear-gradient(135deg, #f0c75e, #d4af37) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.45) !important;
}
.btn-primary:active { transform: translateY(0); }

.invalid-feedback {
    font-size: 0.8rem !important;
    color: #ef4444 !important;
    margin-top: 0.4rem;
}
.form-text {
    display: block;
    color: #64748b !important;
    font-size: 1rem !important;
    margin-top: 0.4rem;
}
#passwordMatchText {
    font-size: 1rem !important;
    font-weight: 500;
    margin-top: 0.4rem;
}

@media (max-width: 768px) {
    .download-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
    .download-info { padding-right: 0; }
    .download-meta {
        width: 100%;
        justify-content: space-between;
    }
}

/* ============================================================ VOTE FOR VIP */
.mu-vip-container {
    margin-bottom: 24px;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(145deg, rgba(212, 175, 55, 0.3) 0%, rgba(0, 0, 0, 0) 50%, rgba(196, 30, 58, 0.1) 100%);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.15);
    transition: all 0.3s ease;
}
.mu-vip-container:hover {
    box-shadow: 0 4px 28px rgba(212, 175, 55, 0.3);
    transform: translateY(-2px);
}
.btn-vote-vip {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: linear-gradient(145deg, rgba(16, 22, 34, 0.95) 0%, rgba(10, 14, 22, 0.98) 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: #f0c75e;
    font-family: "Orbitron", sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 16px 20px;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(4px);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}
.btn-vote-vip:hover {
    background: linear-gradient(145deg, rgba(30, 25, 10, 0.95) 0%, rgba(10, 14, 22, 0.98) 100%);
    border-color: rgba(212, 175, 55, 0.8);
    color: #ffffff;
    text-decoration: none;
}
.btn-vote-vip i {
    margin-right: 12px;
    font-size: 18px;
    color: #f0c75e;
    filter: drop-shadow(0 0 4px rgba(212, 175, 55, 0.6));
    animation: crownPulse 1.5s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes crownPulse {
    0% { transform: scale(0.95) rotate(-3deg); filter: drop-shadow(0 0 2px rgba(212, 175, 55, 0.5)); }
    100% { transform: scale(1.15) rotate(3deg); filter: drop-shadow(0 0 10px rgba(240, 199, 94, 0.9)); }
}

/* ============================================================
   RANKINGS — Centralized table + medal styles
   ============================================================ */
.mu-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    background: var(--bg-glass, rgba(17, 26, 44, 0.72));
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border-subtle, rgba(255,255,255,0.06));
    border-radius: 14px;
    overflow: hidden;
    white-space: nowrap;
    box-shadow: var(--shadow-md, 0 8px 24px rgba(0,0,0,0.5));
}
.mu-table thead th {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.10), rgba(124, 58, 237, 0.06));
    color: var(--text-primary, #f1f5f9);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 13px 12px;
    border-bottom: 2px solid var(--accent, #00d4ff);
    font-weight: 700;
}
.mu-table tbody td {
    padding: 11px 12px;
    border-bottom: 1px solid var(--border-subtle, rgba(255,255,255,0.06));
    background: transparent;
    color: var(--text-secondary, #94a3b8);
    vertical-align: middle;
    transition: background 0.2s ease;
}
.mu-table tbody tr:last-child td { border-bottom: none; }
.mu-table tbody tr:hover,
.mu-table.table-hover tbody tr:hover {
    background: transparent !important;
}
.mu-table tbody tr:hover td,
.mu-table.table-hover tbody tr:hover > td {
    background: rgba(0, 212, 255, 0.08) !important;
}

/* Hero cell */
.mu-table .mu-hero-cell {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    height: 40px;
}
.mu-table .mu-hero-name {
    font-weight: 700;
    font-size: 14px;
    color: var(--text-primary, #f1f5f9);
    line-height: 1.1;
}
.mu-table .mu-hero-sub {
    font-size: 11px;
    color: var(--text-muted, #64748b);
    line-height: 1;
    margin-top: 2px;
}

/* Avatar */
.table-avatar {
    width: 32px !important;
    height: 32px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    overflow: hidden !important;
    border-radius: 50% !important;
    flex-shrink: 0;
    border: 1px solid var(--border-soft, rgba(255,255,255,0.10));
    background: rgba(0,0,0,0.3);
}
.table-avatar img.rankings-class-image {
    width: 32px !important;
    height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
    object-fit: cover !important;
    border-radius: 50% !important;
}

/* Medal badges — top 3 with glow */
.mu-badge-top1,
.mu-badge-top2,
.mu-badge-top3 {
    font-weight: 700;
    padding: 5px 9px;
    min-width: 32px;
    display: inline-block;
    border-radius: 999px;
}
.mu-badge-top1 {
    background: rgba(212, 175, 55, 0.15);
    color: #f0c75e !important;
    border: 1px solid #d4af37;
    box-shadow: inset 0 0 8px rgba(212, 175, 55, 0.3);
}
.mu-badge-top2 {
    background: rgba(206, 212, 218, 0.15);
    color: #ced4da !important;
    border: 1px solid #ced4da;
    box-shadow: inset 0 0 8px rgba(206, 212, 218, 0.3);
}
.mu-badge-top3 {
    background: rgba(176, 93, 46, 0.15);
    color: #dc7a4b !important;
    border: 1px solid #b05d2e;
    box-shadow: inset 0 0 8px rgba(176, 93, 46, 0.3);
}

/* Top row background highlights */
.mu-row-top1 { background: linear-gradient(90deg, rgba(212, 175, 55, 0.14) 0%, rgba(0,0,0,0) 100%) !important; }
.mu-row-top2 { background: linear-gradient(90deg, rgba(206, 212, 218, 0.09) 0%, rgba(0,0,0,0) 100%) !important; }
.mu-row-top3 { background: linear-gradient(90deg, rgba(176, 93, 46, 0.07) 0%, rgba(0,0,0,0) 100%) !important; }

/* Ranking table numeric values */
.mu-val-gold { color: #f0c75e; font-weight: 700; }
.mu-val-green { color: #10b981; font-weight: 700; }
.mu-val-cyan { color: #22d3ee; font-weight: 700; }
.mu-val-red { color: #ef4444; font-weight: 700; }
.mu-val-blue { color: #60a5fa; font-weight: 700; }

/* Updated date footer */
.mu-rank-updated {
    text-align: right;
    color: var(--text-muted, #64748b);
    font-size: 12px;
    margin-top: 12px;
    padding: 0 8px;
}
.mu-rank-updated i { color: var(--accent, #00d4ff); }

/* ============================================================
   RANKINGS — Universal table styling (covers all ranking modules)
   Applies to the various table class patterns used across modules.
   ============================================================ */
.table-responsive { border-radius: 14px; }

/* Hardcoded dark-table pattern used by many ranking modules */
.rankings_menu + .table-responsive > .table,
.table-responsive > .table[style*="background: #0b141e"],
.table-responsive > .table-hover {
    background: var(--bg-glass, rgba(17, 26, 44, 0.72)) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border-subtle, rgba(255,255,255,0.06)) !important;
    border-radius: 14px;
    box-shadow: var(--shadow-md, 0 8px 24px rgba(0,0,0,0.5));
    border-collapse: collapse;
    white-space: nowrap;
}
.table-responsive > .table thead th {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.10), rgba(124, 58, 237, 0.06)) !important;
    color: var(--text-primary, #f1f5f9) !important;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 13px 12px;
    border-bottom: 2px solid var(--accent, #00d4ff) !important;
}
.table-responsive > .table tbody td {
    border-bottom: 1px solid var(--border-subtle, rgba(255,255,255,0.06)) !important;
    background: transparent !important;
    color: var(--text-secondary, #94a3b8);
    vertical-align: middle;
}
.table-responsive > .table tbody tr:last-child td { border-bottom: none !important; }
.table-responsive > .table tbody tr:hover td,
.table-responsive > .table.table-hover tbody tr:hover > td,
.table-responsive > .table.table-hover tbody > tr:hover > td {
    background: rgba(0, 212, 255, 0.08) !important;
}
.table-responsive > .table tbody tr:hover,
.table-responsive > .table.table-hover tbody tr:hover,
.table-responsive > .table.table-hover tbody > tr:hover {
    background: transparent !important;
}

/* DataTable-based ranking tables (gvg, votes, tvt, etc.) */
.table.dataTableChar.dataTable.general-rank {
    background: var(--bg-glass, rgba(17, 26, 44, 0.72)) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border-subtle, rgba(255,255,255,0.06)) !important;
    border-radius: 14px;
    box-shadow: var(--shadow-md, 0 8px 24px rgba(0,0,0,0.5));
    color: var(--text-secondary, #94a3b8);
}
.table.dataTableChar.dataTable.general-rank thead th {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.10), rgba(124, 58, 237, 0.06)) !important;
    color: var(--text-primary, #f1f5f9) !important;
    border: none !important;
    border-bottom: 2px solid var(--accent, #00d4ff) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 11px;
}
.table.dataTableChar.dataTable.general-rank tbody td {
    border-bottom: 1px solid var(--border-subtle, rgba(255,255,255,0.06)) !important;
    color: var(--text-secondary, #94a3b8);
}
.table.dataTableChar.dataTable.general-rank tbody tr:hover td { background: rgba(0, 212, 255, 0.08) !important; }

/* Standings-based table (players.php) */
.table-standings {
    background: var(--bg-glass, rgba(17, 26, 44, 0.72)) !important;
    border: 1px solid var(--border-subtle, rgba(255,255,255,0.06)) !important;
    border-radius: 14px;
    box-shadow: var(--shadow-md, 0 8px 24px rgba(0,0,0,0.5));
    color: var(--text-secondary, #94a3b8);
}
.table-standings thead th {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.10), rgba(124, 58, 237, 0.06)) !important;
    color: var(--text-primary, #f1f5f9) !important;
    border-bottom: 2px solid var(--accent, #00d4ff) !important;
}
.table-standings tbody tr:hover td { background: rgba(0, 212, 255, 0.08) !important; }

/* ============================================================
   INFO PAGE — Grid cards
   ============================================================ */
.mu-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 15px;
}
.mu-info-section {
    background: var(--bg-glass, rgba(17, 26, 44, 0.72));
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border-subtle, rgba(255,255,255,0.06));
    border-radius: var(--radius-lg, 16px);
    padding: 20px;
    box-shadow: var(--shadow-md, 0 8px 24px rgba(0,0,0,0.5));
    height: fit-content;
    transition: border-color var(--transition, 0.25s), box-shadow var(--transition, 0.25s), transform var(--transition, 0.25s);
}
.mu-info-section:hover { border-color: var(--border-accent, rgba(0,212,255,0.30)); box-shadow: var(--shadow-lg, 0 16px 48px rgba(0,0,0,0.6)); transform: translateY(-2px); }
.mu-info-section.mu-full-width { grid-column: 1 / -1; }
.mu-info-section .mu-section-title {
    color: var(--text-primary, #f1f5f9);
    font-size: 1.05rem;
    font-weight: 700;
    font-family: var(--font-display, 'Sora', sans-serif);
    margin-top: 0;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--accent, #00d4ff);
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.mu-info-section .mu-section-title i { color: var(--accent, #00d4ff); }
.mu-info-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.mu-info-table td {
    padding: 10px 12px;
    vertical-align: middle;
    color: var(--text-primary, #f1f5f9);
    border-bottom: 1px solid var(--border-subtle, rgba(255,255,255,0.06));
}
.mu-info-table tr:last-child td { border-bottom: none; }
.mu-info-table tr:hover td { background: rgba(0, 212, 255, 0.08); }
.mu-info-table td:first-child {
    font-weight: 600;
    text-align: left;
    color: var(--text-secondary, #94a3b8);
    white-space: nowrap;
}
.mu-info-table td:last-child {
    text-align: right;
    font-weight: 700;
    color: var(--text-primary, #f1f5f9);
}
.mu-info-badge {
    background: rgba(0, 212, 255, 0.12);
    color: var(--accent, #00d4ff);
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    display: inline-block;
    border: 1px solid rgba(0, 212, 255, 0.3);
}
.mu-info-badge.mu-success {
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
    border-color: rgba(16, 185, 129, 0.3);
}
.mu-info-badge.mu-danger {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.3);
}
.mu-command-code {
    font-family: 'Courier New', Courier, monospace;
    background: rgba(0, 0, 0, 0.4);
    color: var(--accent, #00d4ff);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12.5px;
    display: inline-block;
    max-width: 100%;
    word-break: break-all;
    border: 1px solid rgba(0, 212, 255, 0.25);
}
.mu-info-table.mu-commands td:last-child {
    text-align: left;
    font-weight: normal;
    color: var(--text-secondary, #94a3b8);
}

/* ============================================================
   REGISTER — Card
   ============================================================ */
.mu-register-card {
    background: var(--bg-glass, rgba(18, 21, 31, 0.72));
    border: 1px solid var(--border-subtle, rgba(255,255,255,0.06));
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow-lg, 0 16px 48px rgba(0,0,0,0.6));
    color: var(--text-secondary, #94a3b8);
    max-width: 100%;
    margin: 0 auto;
    backdrop-filter: blur(12px);
}
.mu-register-card .form-label {
    color: var(--text-primary, #f1f5f9);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.5px;
}
.mu-register-card .form-control {
    background-color: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border-soft, rgba(255,255,255,0.1));
    color: var(--text-primary, #f1f5f9);
    padding: 12px;
    border-radius: 8px;
    transition: all 0.2s ease-in-out;
}
.mu-register-card .form-control:focus {
    background-color: rgba(0, 0, 0, 0.5);
    border-color: var(--accent-gold, #d4af37);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
    color: var(--text-primary, #f1f5f9);
}
.mu-register-card .form-text {
    color: var(--text-muted, #64748b) !important;
    font-size: 12px;
}
.mu-register-card .input-group-text {
    background-color: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border-soft, rgba(255,255,255,0.1));
    color: var(--text-secondary, #94a3b8);
}
.mu-register-card hr {
    border-top: 1px solid var(--border-subtle, rgba(255,255,255,0.08));
    opacity: 1;
}
.mu-register-card a { color: var(--accent-gold, #d4af37); }
.mu-register-card a:hover { color: var(--accent-gold-bright, #f0c75e); text-decoration: underline; }
.mu-register-card .form-check-input {
    background-color: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border-soft, rgba(255,255,255,0.15));
    cursor: pointer;
}
.mu-register-card .form-check-input:checked {
    background-color: var(--accent-gold, #d4af37);
    border-color: var(--accent-gold, #d4af37);
}
.mu-register-card .btn-primary {
    background: linear-gradient(135deg, #d4af37, #b8941f) !important;
    border: none !important;
    color: #1a1505 !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 14px;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3);
    width: 100%;
    border-radius: 999px !important;
}
.mu-register-card .btn-primary:hover {
    background: linear-gradient(135deg, #f0c75e, #d4af37) !important;
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.45);
    transform: translateY(-2px);
}
.mu-recaptcha-wrapper {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

/* ============================================================
   MYACCOUNT — Panels, character cards, stats
   ============================================================ */
.mu-account-panel {
    background: var(--bg-glass, rgba(18, 21, 31, 0.72));
    border: 1px solid var(--border-subtle, rgba(255,255,255,0.06));
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 22px;
    box-shadow: var(--shadow-md, 0 8px 24px rgba(0,0,0,0.5));
    backdrop-filter: blur(10px);
}
.mu-account-panel .panel-heading {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), rgba(196, 30, 58, 0.04));
    border-bottom: 1px solid var(--border-accent, rgba(212,175,55,0.28));
    padding: 13px 18px;
    color: var(--text-primary, #f1f5f9);
}
.mu-account-panel .panel-heading h5 { margin: 0; font-size: 15px; font-weight: 700; }
.mu-account-panel .panel-body { background: transparent; padding: 18px; color: var(--text-secondary, #94a3b8); }
.mu-account-panel .dl-horizontal dt { color: var(--text-secondary, #94a3b8); }
.mu-account-panel .dl-horizontal dd { color: var(--text-primary, #f1f5f9); }

/* Character card */
.mu-character-card {
    background: var(--bg-glass, rgba(18, 21, 31, 0.72));
    border: 1px solid var(--border-subtle, rgba(255,255,255,0.06));
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    backdrop-filter: blur(10px);
}
.mu-character-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg, 0 16px 48px rgba(0,0,0,0.6));
    border-color: var(--border-accent, rgba(212,175,55,0.28));
}
.mu-character-card .media-object {
    border: 3px solid #64748b;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    object-fit: cover;
}
.mu-character-card .media-object.mu-online { border-color: var(--accent-emerald, #10b981); box-shadow: 0 0 16px rgba(16,185,129,0.4); }
.mu-character-card .media-heading { color: var(--text-primary, #f1f5f9); font-weight: 700; }
.mu-character-card .media-body p { color: var(--text-secondary, #94a3b8); }

/* Stat progress bars */
.mu-stat-row { margin-left: 0; margin-right: 0; margin-bottom: 6px; }
.mu-stat-label { padding-right: 5px; padding-left: 0; line-height: 24px; text-align: right; font-weight: 700; }
.mu-stat-row .progress {
    height: 22px;
    border-radius: 11px;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.35);
    margin-bottom: 0;
}
.mu-stat-row .progress-bar {
    line-height: 22px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    border-radius: 11px;
}

/* Labels */
.mu-label {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.mu-label-success { background: rgba(16, 185, 129, 0.15); color: var(--accent-emerald, #10b981); border: 1px solid rgba(16,185,129,0.3); }
.mu-label-danger  { background: rgba(239, 68, 68, 0.15); color: #ef4444; border: 1px solid rgba(239,68,68,0.3); }
.mu-label-default { background: rgba(100, 116, 139, 0.15); color: var(--text-secondary, #94a3b8); border: 1px solid rgba(100,116,139,0.3); }
.mu-label-info    { background: rgba(34, 211, 238, 0.15); color: var(--accent-cyan, #22d3ee); border: 1px solid rgba(34,211,238,0.3); }
.mu-label-warning { background: rgba(240, 199, 94, 0.15); color: #f0c75e; border: 1px solid rgba(240,199,94,0.3); }

/* Connection history table */
.mu-table-striped { width: 100%; border-collapse: collapse; }
.mu-table-striped thead th {
    background: rgba(0, 0, 0, 0.35);
    color: var(--text-muted, #64748b);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px;
    border-bottom: 2px solid var(--accent-gold, #d4af37);
}
.mu-table-striped tbody td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border-subtle, rgba(255,255,255,0.06));
    color: var(--text-secondary, #94a3b8);
    font-size: 13px;
}
.mu-table-striped tbody tr:nth-of-type(odd) td { background: rgba(255,255,255,0.02); }
.mu-table-striped tbody tr:hover td { background: rgba(212, 175, 55, 0.06); }
