/* ===== Painel Pay — estilos do admin ===== */

.admin-shell {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.admin-sidebar {
    width: 240px;
    min-width: 240px;
    background: #0f172a;
    color: #cbd5e1;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: #4f46e5;
    color: #fff;
    font-size: 1.05rem;
}

.admin-brand-name {
    font-weight: 700;
    font-size: 1.15rem;
    color: #fff;
}

.admin-nav {
    flex: 1;
    padding: 14px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.admin-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.92rem;
    transition: background 0.15s, color 0.15s;
}

.admin-nav-link i {
    font-size: 1.05rem;
}

.admin-nav-link:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.admin-nav-link.active {
    background: #4f46e5;
    color: #fff;
}

.admin-nav-link.disabled {
    opacity: 0.45;
    pointer-events: none;
}

.admin-sidebar-footer {
    padding: 14px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-role-badge {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
}

/* Main */
.admin-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #f1f5f9;
}

.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 10;
}

.admin-topbar-title {
    font-weight: 600;
    font-size: 1.05rem;
}

.admin-content {
    padding: 24px;
    flex: 1;
}

/* Stat cards */
.admin-stat-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    height: 100%;
}

.admin-stat-icon {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.admin-stat-value {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.2;
}

.admin-stat-label {
    font-size: 0.8rem;
    color: #64748b;
}

/* Login */
.login-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 20px;
}

.login-wrap {
    width: 100%;
    max-width: 420px;
}

.login-card {
    border-radius: 16px;
    overflow: hidden;
}

.login-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: #4f46e5;
    color: #fff;
    font-size: 1.5rem;
}

/* Responsive */
@media (max-width: 767px) {
    .admin-shell {
        flex-direction: column;
    }

    .admin-sidebar {
        width: 100%;
        min-width: 0;
        height: auto;
        position: static;
    }

    .admin-nav {
        flex-direction: row;
        overflow-x: auto;
        padding: 8px 12px;
    }

    .admin-nav-link {
        white-space: nowrap;
    }

    .admin-content {
        padding: 16px;
    }
}
