body.app {
    margin: 0;
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
    background: #fbfcfe;
    color: #1e293b;
}

.sidebar-wrapper.adm-sidebar .metismenu a,
.adm-sidebar__footer-profile,
.dashboard-stat-card,
.topbar.adm-topbar .user-box > .nav-link {
    text-decoration: none;
}

.app-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.35);
    z-index: 100;
}

.adm-topbar__title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.topbar.adm-topbar .user-initial,
.adm-sidebar__footer .user-initial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0d5f59 0%, #0f766e 68%, #14b8a6 100%);
    color: #fff;
    font-weight: 700;
    line-height: 1;
}

.topbar.adm-topbar .user-initial {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    font-size: 0.95rem;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.1);
    flex-shrink: 0;
}

.adm-sidebar__footer .user-initial {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.dashboard-page,
.admin-pages-page {
    --store-accent: #0f766e;
    --store-accent-dark: #0d5f59;
    --store-accent-soft: rgba(15, 118, 110, 0.08);
    --store-radius: 14px;
}

.page-hero {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    padding: 1.5rem 1.35rem;
    margin-bottom: 1.15rem;
    background: linear-gradient(135deg, #0d5f59 0%, #0f766e 55%, #14b8a6 100%);
    box-shadow: 0 10px 32px rgba(15, 118, 110, 0.22);
    color: #fff;
}

.page-hero::before {
    content: "";
    position: absolute;
    top: -40%;
    right: -8%;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.14) 0%, transparent 70%);
    pointer-events: none;
}

.page-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 0.4rem;
}

.page-hero h1 {
    font-size: clamp(1.25rem, 2.5vw, 1.65rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 0.35rem;
}

.page-hero p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.82);
    max-width: 36rem;
    margin: 0;
}

.dashboard-stat-cards {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.85rem;
}

@media (min-width: 576px) {
    .dashboard-stat-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .dashboard-stat-cards {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.dashboard-stat-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
    padding: 1rem 1.1rem;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
    color: inherit;
    text-decoration: none;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.dashboard-stat-card:hover {
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    border-color: rgba(15, 118, 110, 0.28);
    color: inherit;
}

.dashboard-stat-card__icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dashboard-stat-card__value {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.dashboard-stat-card__label {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #94a3b8;
}

.listing-panel {
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
    padding: 1.15rem 1.25rem;
    margin-bottom: 1rem;
}

.listing-panel__title {
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.01em;
    margin: 0 0 0.85rem;
}

.listing-panel .table {
    margin-bottom: 0;
}

.listing-panel thead th {
    background: #f8fafc;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b;
    border-top: 0;
    white-space: nowrap;
}

.listing-panel tbody tr:hover td {
    background: rgba(15, 118, 110, 0.03);
}

.listing-panel .form-control,
.listing-panel .form-select,
.auth-card .form-control {
    border-radius: 10px;
    border-color: rgba(148, 163, 184, 0.45);
}

.listing-panel .form-control:focus,
.listing-panel .form-select:focus,
.auth-card .form-control:focus {
    border-color: #0f766e;
    box-shadow: 0 0 0 0.2rem rgba(15, 118, 110, 0.15);
}

.btn-teal {
    background: #0f766e;
    color: #fff;
    border: 0;
    border-radius: 10px;
    font-weight: 700;
}

.btn-teal:hover,
.btn-teal:focus {
    background: #0d5f59;
    color: #fff;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.2rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 700;
}

.status-pill--on {
    background: rgba(15, 118, 110, 0.12);
    color: #0f766e;
}

.status-pill--off {
    background: #f1f5f9;
    color: #64748b;
}

.app-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    object-fit: cover;
    display: block;
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(88px, 1fr));
    gap: 8px;
    min-width: 280px;
}

.price-grid label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b;
}

.download-form,
.user-actions,
.user-actions form {
    display: flex;
    gap: 8px;
    align-items: center;
}

.download-form {
    min-width: 240px;
}

.download-form input {
    flex: 1;
}

.table-wrap {
    overflow-x: auto;
}

.login-body {
    margin: 0;
    min-height: 100vh;
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
    background: #f7faf9;
}

.auth-shell {
    min-height: 100vh;
}

.brand-panel {
    background: linear-gradient(160deg, #0d5f59 0%, #0f766e 45%, #14b8a6 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.brand-panel::before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.16) 0%, transparent 70%);
    top: -100px;
    right: -80px;
}

.brand-content {
    position: relative;
    z-index: 1;
    max-width: 420px;
}

.brand-mark {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
}

.brand-content h1 {
    font-weight: 800;
    letter-spacing: -0.03em;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.brand-content p {
    color: rgba(255, 255, 255, 0.82);
}

.form-panel {
    background: linear-gradient(180deg, #f7faf9 0%, #e8f6f3 100%);
}

.auth-card {
    width: min(440px, 100%);
    border: 0;
    border-radius: 1.25rem;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.auth-card .form-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #64748b;
}

.auth-card h2 {
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
}
