/*
============================================================
ZarMeer Capital
File: /public_html/assets/css/app.css

Theme:
Midnight Emerald Luxury

Primary:
#16C784

Mobile-first / Portrait-first
============================================================
*/

/* ==========================================================
   1. ROOT / DESIGN TOKENS
   ========================================================== */

:root {
    --zmc-bg: #07111F;
    --zmc-bg-2: #0D1B2A;
    --zmc-card: #12263A;

    --zmc-primary: #16C784;
    --zmc-primary-hover: #22E39A;
    --zmc-gold: #D4A843;

    --zmc-text: #F8FAFC;
    --zmc-text-2: #94A3B8;
    --zmc-border: #243447;

    --zmc-danger: #F43F5E;
    --zmc-warning: #F59E0B;
    --zmc-info: #38BDF8;
    --zmc-success: #16C784;

    --zmc-white: #FFFFFF;
    --zmc-black: #000000;

    --zmc-radius: 18px;
    --zmc-radius-sm: 12px;
    --zmc-radius-lg: 24px;

    --zmc-shadow:
        0 16px 45px rgba(0, 0, 0, 0.28);

    --zmc-shadow-soft:
        0 8px 25px rgba(0, 0, 0, 0.20);

    --zmc-glow:
        0 0 30px rgba(22, 199, 132, 0.16);

    --zmc-transition:
        180ms ease;

    --zmc-font:
        Inter,
        Outfit,
        Manrope,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    --zmc-urdu-font:
        "Jameel Noori Nastaleeq",
        "Jameel Noori Regular",
        "Noto Nastaliq Urdu",
        serif;

    --zmc-container:
        1180px;

    --zmc-bottom-nav:
        78px;

    --zmc-header-height:
        64px;
}


/* ==========================================================
   2. RESET
   ========================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;

    min-height: 100%;

    background:
        var(--zmc-bg);

    color-scheme: dark;

    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    min-height: 100vh;

    background:
        radial-gradient(
            circle at 15% 0%,
            rgba(22, 199, 132, 0.08),
            transparent 32%
        ),
        radial-gradient(
            circle at 100% 15%,
            rgba(212, 168, 67, 0.05),
            transparent 28%
        ),
        var(--zmc-bg);

    color: var(--zmc-text);

    font-family: var(--zmc-font);
    font-size: 15px;
    line-height: 1.55;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

img,
svg,
video {
    max-width: 100%;
}

img {
    display: block;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}


/* ==========================================================
   3. TYPOGRAPHY
   ========================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 10px;

    color: var(--zmc-text);

    font-weight: 750;
    line-height: 1.25;

    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(28px, 8vw, 42px);
}

h2 {
    font-size: clamp(23px, 6vw, 32px);
}

h3 {
    font-size: 19px;
}

h4 {
    font-size: 17px;
}

p {
    margin: 0 0 12px;
}

.text-primary {
    color: var(--zmc-primary) !important;
}

.text-gold {
    color: var(--zmc-gold) !important;
}

.text-muted {
    color: var(--zmc-text-2) !important;
}

.text-danger {
    color: var(--zmc-danger) !important;
}

.text-warning {
    color: var(--zmc-warning) !important;
}

.text-info {
    color: var(--zmc-info) !important;
}

.text-success {
    color: var(--zmc-success) !important;
}

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

.text-left {
    text-align: left !important;
}

.text-right {
    text-align: right !important;
}

.font-bold {
    font-weight: 750 !important;
}

.font-medium {
    font-weight: 600 !important;
}

.small {
    font-size: 12px;
}

.urdu {
    font-family: var(--zmc-urdu-font);
    direction: rtl;
    text-align: right;
}

.urdu-center {
    font-family: var(--zmc-urdu-font);
    direction: rtl;
    text-align: center;
}


/* ==========================================================
   4. LAYOUT
   ========================================================== */

.zmc-container {
    width: min(
        calc(100% - 28px),
        var(--zmc-container)
    );

    margin-inline: auto;
}

.zmc-page {
    width: 100%;
    min-height: 100vh;

    padding-top: 14px;
    padding-bottom:
        calc(
            var(--zmc-bottom-nav) + 30px
        );
}

.zmc-section {
    margin-bottom: 20px;
}

.zmc-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    margin-bottom: 12px;
}

.zmc-section-title h2,
.zmc-section-title h3 {
    margin: 0;
}

.zmc-grid {
    display: grid;
    gap: 14px;
}

.zmc-grid-2,
.zmc-grid-3,
.zmc-grid-4 {
    grid-template-columns: 1fr;
}


/* ==========================================================
   5. TOP HEADER
   ========================================================== */

.zmc-header {
    position: sticky;
    top: 0;
    z-index: 100;

    min-height: var(--zmc-header-height);

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 10px 14px;

    background:
        rgba(7, 17, 31, 0.88);

    border-bottom:
        1px solid
        rgba(36, 52, 71, 0.65);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.zmc-header-left,
.zmc-header-right {
    display: flex;
    align-items: center;
    gap: 9px;
}

.zmc-header-brand {
    display: flex;
    align-items: center;
    gap: 9px;

    min-width: 0;
}

.zmc-header-brand-text {
    min-width: 0;
}

.zmc-header-brand-name {
    display: block;

    max-width: 180px;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    font-weight: 800;
    font-size: 15px;
}

.zmc-header-brand-subtitle {
    display: block;

    color: var(--zmc-text-2);

    font-size: 10px;
}

.zmc-header-logo {
    width: 38px;
    height: 38px;

    flex: 0 0 38px;

    border-radius: 12px;

    object-fit: contain;

    background:
        linear-gradient(
            145deg,
            rgba(22, 199, 132, 0.18),
            rgba(212, 168, 67, 0.08)
        );

    border:
        1px solid
        rgba(22, 199, 132, 0.28);

    box-shadow: var(--zmc-glow);
}


/* ==========================================================
   6. ICON BUTTONS
   ========================================================== */

.zmc-icon-btn {
    width: 42px;
    height: 42px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--zmc-border);
    border-radius: 13px;

    background:
        rgba(18, 38, 58, 0.82);

    color: var(--zmc-text);

    transition:
        transform var(--zmc-transition),
        border-color var(--zmc-transition),
        background var(--zmc-transition),
        box-shadow var(--zmc-transition);
}

.zmc-icon-btn:hover {
    border-color:
        rgba(22, 199, 132, 0.55);

    background:
        rgba(22, 199, 132, 0.10);

    box-shadow: var(--zmc-glow);

    transform: translateY(-1px);
}

.zmc-icon-btn:active {
    transform: scale(0.96);
}


/* ==========================================================
   7. LOGO / BRAND
   ========================================================== */

.zmc-logo-wrap {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 82px;
    height: 82px;
}

.zmc-logo {
    position: relative;
    z-index: 2;

    width: 70px;
    height: 70px;

    object-fit: contain;

    filter:
        drop-shadow(
            0 8px 18px
            rgba(22, 199, 132, 0.22)
        );
}

.zmc-logo-wrap::before {
    content: "";

    position: absolute;

    width: 70px;
    height: 70px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(22, 199, 132, 0.18),
            transparent 68%
        );

    animation:
        zmcLogoGlow 3s ease-in-out infinite;
}

.zmc-logo-wrap::after {
    content: "";

    position: absolute;

    inset: 4px;

    border:
        1px solid
        rgba(212, 168, 67, 0.28);

    border-radius: 22px;

    transform:
        perspective(500px)
        rotateX(55deg)
        rotateZ(25deg);

    animation:
        zmcLogoOrbit 7s linear infinite;
}

@keyframes zmcLogoGlow {
    0%,
    100% {
        transform: scale(0.94);
        opacity: 0.65;
    }

    50% {
        transform: scale(1.08);
        opacity: 1;
    }
}

@keyframes zmcLogoOrbit {
    from {
        transform:
            perspective(500px)
            rotateX(55deg)
            rotateZ(0deg);
    }

    to {
        transform:
            perspective(500px)
            rotateX(55deg)
            rotateZ(360deg);
    }
}


/* ==========================================================
   8. BALANCE DISPLAY
   ========================================================== */

.zmc-balance-box {
    position: relative;

    padding: 16px;

    overflow: hidden;

    border:
        1px solid
        rgba(22, 199, 132, 0.28);

    border-radius: var(--zmc-radius);

    background:
        linear-gradient(
            135deg,
            rgba(18, 38, 58, 0.98),
            rgba(13, 27, 42, 0.98)
        );

    box-shadow:
        var(--zmc-shadow-soft),
        inset 0 1px 0
        rgba(255, 255, 255, 0.03);
}

.zmc-balance-box::after {
    content: "";

    position: absolute;

    width: 150px;
    height: 150px;

    top: -75px;
    right: -55px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(22, 199, 132, 0.16),
            transparent 70%
        );

    pointer-events: none;
}

.zmc-balance-label {
    position: relative;
    z-index: 1;

    color: var(--zmc-text-2);

    font-size: 12px;
    font-weight: 600;
}

.zmc-balance-value {
    position: relative;
    z-index: 1;

    margin-top: 3px;

    color: var(--zmc-text);

    font-size: clamp(25px, 8vw, 38px);
    font-weight: 850;

    letter-spacing: -0.04em;
}

.zmc-balance-currency {
    color: var(--zmc-primary);

    font-size: 12px;
    font-weight: 700;

    vertical-align: middle;
}


/* ==========================================================
   9. CARDS
   ========================================================== */

.zmc-card {
    position: relative;

    padding: 16px;

    border:
        1px solid
        rgba(36, 52, 71, 0.95);

    border-radius: var(--zmc-radius);

    background:
        linear-gradient(
            145deg,
            rgba(18, 38, 58, 0.96),
            rgba(13, 27, 42, 0.96)
        );

    box-shadow: var(--zmc-shadow-soft);

    overflow: hidden;
}

.zmc-card-glass {
    background:
        linear-gradient(
            135deg,
            rgba(18, 38, 58, 0.72),
            rgba(13, 27, 42, 0.58)
        );

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.zmc-card-hover {
    transition:
        transform var(--zmc-transition),
        border-color var(--zmc-transition),
        box-shadow var(--zmc-transition);
}

.zmc-card-hover:hover {
    transform: translateY(-2px);

    border-color:
        rgba(22, 199, 132, 0.35);

    box-shadow:
        var(--zmc-shadow),
        var(--zmc-glow);
}

.zmc-card-title {
    margin-bottom: 5px;

    font-size: 16px;
    font-weight: 750;
}

.zmc-card-subtitle {
    color: var(--zmc-text-2);

    font-size: 12px;
}


/* ==========================================================
   10. HERO
   ========================================================== */

.zmc-hero {
    position: relative;

    min-height: 290px;

    display: flex;
    align-items: flex-end;

    margin-bottom: 18px;

    padding: 20px;

    overflow: hidden;

    border:
        1px solid
        rgba(36, 52, 71, 0.8);

    border-radius:
        0 0
        var(--zmc-radius-lg)
        var(--zmc-radius-lg);

    background:
        linear-gradient(
            180deg,
            rgba(7, 17, 31, 0.05),
            rgba(7, 17, 31, 0.96)
        );

    box-shadow: var(--zmc-shadow);
}

.zmc-hero::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 75% 30%,
            rgba(22, 199, 132, 0.18),
            transparent 30%
        );

    pointer-events: none;
}

.zmc-hero-content {
    position: relative;
    z-index: 2;

    width: 100%;
}

.zmc-hero-title {
    max-width: 680px;

    margin-bottom: 8px;

    font-size:
        clamp(30px, 9vw, 54px);

    font-weight: 900;

    letter-spacing: -0.045em;
}

.zmc-hero-title span {
    color: var(--zmc-primary);
}

.zmc-hero-text {
    max-width: 650px;

    color: var(--zmc-text-2);

    font-size: 14px;
}


/* ==========================================================
   11. BUTTONS
   ========================================================== */

.zmc-btn {
    min-height: 46px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding:
        11px 16px;

    border:
        1px solid
        transparent;

    border-radius: 13px;

    font-weight: 750;
    font-size: 14px;

    transition:
        transform var(--zmc-transition),
        background var(--zmc-transition),
        border-color var(--zmc-transition),
        box-shadow var(--zmc-transition),
        opacity var(--zmc-transition);

    user-select: none;
}

.zmc-btn:active {
    transform: scale(0.97);
}

.zmc-btn:disabled,
.zmc-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.zmc-btn-primary {
    color: #04120C;

    background:
        linear-gradient(
            135deg,
            var(--zmc-primary),
            var(--zmc-primary-hover)
        );

    box-shadow:
        0 8px 24px
        rgba(22, 199, 132, 0.18);
}

.zmc-btn-primary:hover {
    box-shadow:
        0 12px 30px
        rgba(22, 199, 132, 0.28);
}

.zmc-btn-gold {
    color: #1A1407;

    background:
        linear-gradient(
            135deg,
            #D4A843,
            #E8C66B
        );

    box-shadow:
        0 8px 24px
        rgba(212, 168, 67, 0.15);
}

.zmc-btn-outline {
    color: var(--zmc-text);

    border-color:
        var(--zmc-border);

    background:
        rgba(18, 38, 58, 0.65);
}

.zmc-btn-outline:hover {
    border-color:
        rgba(22, 199, 132, 0.5);

    background:
        rgba(22, 199, 132, 0.08);
}

.zmc-btn-danger {
    color: #FFFFFF;

    background:
        var(--zmc-danger);
}

.zmc-btn-block {
    width: 100%;
}

.zmc-btn-sm {
    min-height: 38px;

    padding:
        8px 12px;

    border-radius: 10px;

    font-size: 12px;
}

.zmc-btn-lg {
    min-height: 52px;

    padding:
        13px 20px;

    font-size: 15px;
}


/* ==========================================================
   12. ACTION BUTTON GRID
   ========================================================== */

.zmc-action-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 10px;
}

.zmc-action-grid .zmc-btn {
    width: 100%;
}


/* ==========================================================
   13. BOTTOM NAVIGATION
   ========================================================== */

.zmc-bottom-nav {
    position: fixed;

    left: 0;
    right: 0;
    bottom: 0;

    z-index: 200;

    height: var(--zmc-bottom-nav);

    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    padding:
        7px 8px
        max(
            7px,
            env(safe-area-inset-bottom)
        );

    background:
        rgba(7, 17, 31, 0.94);

    border-top:
        1px solid
        rgba(36, 52, 71, 0.9);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.zmc-nav-item {
    position: relative;

    min-width: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 3px;

    color: var(--zmc-text-2);

    border-radius: 12px;

    font-size: 10px;
    font-weight: 650;

    transition:
        color var(--zmc-transition),
        background var(--zmc-transition),
        transform var(--zmc-transition);
}

.zmc-nav-item:hover,
.zmc-nav-item.active {
    color: var(--zmc-primary);

    background:
        rgba(22, 199, 132, 0.07);
}

.zmc-nav-item:active {
    transform: scale(0.95);
}

.zmc-nav-icon {
    font-size: 19px;
    line-height: 1;
}

.zmc-nav-center {
    position: relative;

    transform:
        translateY(-13px);
}

.zmc-nav-center::before {
    content: "";

    position: absolute;

    width: 55px;
    height: 55px;

    border-radius: 50%;

    background:
        linear-gradient(
            145deg,
            var(--zmc-primary),
            #0E9E6A
        );

    box-shadow:
        0 10px 30px
        rgba(22, 199, 132, 0.32);

    z-index: -1;
}

.zmc-nav-center .zmc-nav-icon {
    color: #03150D;

    font-size: 24px;
}


/* ==========================================================
   14. FLOATING BUTTONS
   ========================================================== */

.zmc-floating-actions {
    position: fixed;

    right: 12px;
    bottom:
        calc(
            var(--zmc-bottom-nav) + 14px
        );

    z-index: 150;

    display: flex;
    flex-direction: column;

    gap: 9px;
}

.zmc-floating-btn {
    width: 46px;
    height: 46px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border:
        1px solid
        rgba(255, 255, 255, 0.12);

    border-radius: 50%;

    box-shadow:
        0 8px 24px
        rgba(0, 0, 0, 0.30);

    font-size: 19px;

    transition:
        transform var(--zmc-transition),
        box-shadow var(--zmc-transition);
}

.zmc-floating-btn:hover {
    transform: translateY(-2px) scale(1.04);
}

.zmc-floating-whatsapp {
    background: #16C784;
    color: #03150D;
}

.zmc-floating-game {
    background:
        linear-gradient(
            135deg,
            var(--zmc-gold),
            #E8C66B
        );

    color: #181205;
}


/* ==========================================================
   15. DASHBOARD STATS
   ========================================================== */

.zmc-stat-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 10px;
}

.zmc-stat-card {
    min-width: 0;

    padding: 14px;

    border:
        1px solid
        rgba(36, 52, 71, 0.9);

    border-radius: 15px;

    background:
        rgba(18, 38, 58, 0.84);
}

.zmc-stat-label {
    color: var(--zmc-text-2);

    font-size: 11px;
    font-weight: 600;
}

.zmc-stat-value {
    margin-top: 3px;

    font-size: 20px;
    font-weight: 800;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* ==========================================================
   16. PLAN CARDS
   ========================================================== */

.zmc-plan-grid {
    display: grid;
    gap: 14px;
}

.zmc-plan-card {
    position: relative;

    padding: 17px;

    overflow: hidden;

    border:
        1px solid
        rgba(36, 52, 71, 0.95);

    border-radius:
        var(--zmc-radius-lg);

    background:
        linear-gradient(
            145deg,
            rgba(18, 38, 58, 0.98),
            rgba(13, 27, 42, 0.98)
        );

    box-shadow: var(--zmc-shadow-soft);

    transition:
        transform var(--zmc-transition),
        border-color var(--zmc-transition),
        box-shadow var(--zmc-transition);
}

.zmc-plan-card:hover {
    transform: translateY(-3px);

    border-color:
        rgba(22, 199, 132, 0.4);

    box-shadow:
        var(--zmc-shadow),
        var(--zmc-glow);
}

.zmc-plan-card::before {
    content: "";

    position: absolute;

    top: -80px;
    right: -80px;

    width: 170px;
    height: 170px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(22, 199, 132, 0.12),
            transparent 70%
        );
}

.zmc-plan-badge {
    display: inline-flex;

    padding:
        5px 9px;

    margin-bottom: 9px;

    border:
        1px solid
        rgba(212, 168, 67, 0.30);

    border-radius: 999px;

    color: var(--zmc-gold);

    background:
        rgba(212, 168, 67, 0.07);

    font-size: 10px;
    font-weight: 750;
}

.zmc-plan-name {
    font-size: 20px;
    font-weight: 850;
}

.zmc-plan-price {
    margin:
        6px 0 12px;

    color: var(--zmc-primary);

    font-size: 28px;
    font-weight: 900;

    letter-spacing: -0.04em;
}

.zmc-plan-meta {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 8px;

    margin-bottom: 14px;
}

.zmc-plan-meta-item {
    padding: 9px;

    border-radius: 11px;

    background:
        rgba(7, 17, 31, 0.35);

    border:
        1px solid
        rgba(36, 52, 71, 0.6);
}

.zmc-plan-meta-label {
    display: block;

    color: var(--zmc-text-2);

    font-size: 10px;
}

.zmc-plan-meta-value {
    display: block;

    margin-top: 2px;

    font-size: 13px;
    font-weight: 750;
}


/* ==========================================================
   17. TIMER
   ========================================================== */

.zmc-timer-wrap {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 12px;
}

.zmc-timer {
    position: relative;

    width: min(180px, 54vw);
    height: min(180px, 54vw);

    display: flex;
    align-items: center;
    justify-content: center;

    border:
        1px solid
        rgba(22, 199, 132, 0.35);

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(22, 199, 132, 0.09),
            rgba(13, 27, 42, 0.94) 62%
        );

    box-shadow:
        inset 0 0 35px
        rgba(22, 199, 132, 0.08),
        0 0 40px
        rgba(22, 199, 132, 0.08);
}

.zmc-timer::before {
    content: "";

    position: absolute;

    inset: 9px;

    border:
        2px dashed
        rgba(22, 199, 132, 0.24);

    border-radius: 50%;

    animation:
        zmcTimerSpin 15s linear infinite;
}

@keyframes zmcTimerSpin {
    to {
        transform: rotate(360deg);
    }
}

.zmc-timer-content {
    position: relative;
    z-index: 2;

    text-align: center;
}

.zmc-timer-value {
    font-variant-numeric: tabular-nums;

    font-size:
        clamp(20px, 7vw, 30px);

    font-weight: 850;

    letter-spacing: 0.02em;
}

.zmc-timer-label {
    margin-top: 3px;

    color: var(--zmc-text-2);

    font-size: 10px;
}


/* ==========================================================
   18. FORMS
   ========================================================== */

.zmc-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.zmc-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.zmc-label {
    color: var(--zmc-text);

    font-size: 12px;
    font-weight: 700;
}

.zmc-input,
.zmc-select,
.zmc-textarea {
    width: 100%;

    min-height: 47px;

    padding:
        11px 13px;

    border:
        1px solid
        var(--zmc-border);

    border-radius: 12px;

    outline: none;

    background:
        rgba(7, 17, 31, 0.72);

    color: var(--zmc-text);

    transition:
        border-color var(--zmc-transition),
        box-shadow var(--zmc-transition),
        background var(--zmc-transition);
}

.zmc-textarea {
    min-height: 110px;

    resize: vertical;
}

.zmc-input::placeholder,
.zmc-textarea::placeholder {
    color:
        rgba(148, 163, 184, 0.65);
}

.zmc-input:focus,
.zmc-select:focus,
.zmc-textarea:focus {
    border-color:
        rgba(22, 199, 132, 0.72);

    background:
        rgba(7, 17, 31, 0.9);

    box-shadow:
        0 0 0 3px
        rgba(22, 199, 132, 0.08);
}

.zmc-input:disabled,
.zmc-select:disabled,
.zmc-textarea:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.zmc-help {
    color: var(--zmc-text-2);

    font-size: 11px;
}


/* ==========================================================
   19. PAYMENT METHOD CARDS
   ========================================================== */

.zmc-payment-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 10px;
}

.zmc-payment-card {
    padding: 12px;

    border:
        1px solid
        var(--zmc-border);

    border-radius: 13px;

    background:
        rgba(7, 17, 31, 0.4);

    cursor: pointer;

    transition:
        border-color var(--zmc-transition),
        background var(--zmc-transition),
        transform var(--zmc-transition);
}

.zmc-payment-card:hover {
    transform: translateY(-1px);
}

.zmc-payment-card.active {
    border-color:
        var(--zmc-primary);

    background:
        rgba(22, 199, 132, 0.08);
}

.zmc-payment-logo {
    width: 42px;
    height: 42px;

    margin-bottom: 7px;

    border-radius: 10px;

    object-fit: contain;

    background: var(--zmc-white);
}


/* ==========================================================
   20. COPY FIELD
   ========================================================== */

.zmc-copy-row {
    display: flex;
    align-items: stretch;

    overflow: hidden;

    border:
        1px solid
        var(--zmc-border);

    border-radius: 12px;

    background:
        rgba(7, 17, 31, 0.65);
}

.zmc-copy-value {
    min-width: 0;
    flex: 1;

    padding: 12px;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    color: var(--zmc-text);

    font-size: 13px;
    font-weight: 700;
}

.zmc-copy-btn {
    flex: 0 0 auto;

    padding:
        0 13px;

    border: 0;
    border-left:
        1px solid
        var(--zmc-border);

    background:
        rgba(22, 199, 132, 0.08);

    color: var(--zmc-primary);

    font-size: 12px;
    font-weight: 750;
}


/* ==========================================================
   21. STATUS BADGES
   ========================================================== */

.zmc-status {
    display: inline-flex;
    align-items: center;

    min-height: 25px;

    padding:
        4px 8px;

    border-radius: 999px;

    font-size: 10px;
    font-weight: 750;
}

.zmc-status-success {
    color: var(--zmc-success);

    background:
        rgba(22, 199, 132, 0.10);

    border:
        1px solid
        rgba(22, 199, 132, 0.22);
}

.zmc-status-warning {
    color: var(--zmc-warning);

    background:
        rgba(245, 158, 11, 0.10);

    border:
        1px solid
        rgba(245, 158, 11, 0.22);
}

.zmc-status-danger {
    color: var(--zmc-danger);

    background:
        rgba(244, 63, 94, 0.10);

    border:
        1px solid
        rgba(244, 63, 94, 0.22);
}

.zmc-status-info {
    color: var(--zmc-info);

    background:
        rgba(56, 189, 248, 0.10);

    border:
        1px solid
        rgba(56, 189, 248, 0.22);
}


/* ==========================================================
   22. ALERTS / FLASH MESSAGES
   ========================================================== */

.zmc-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    padding: 12px 13px;

    border:
        1px solid
        var(--zmc-border);

    border-radius: 13px;

    font-size: 12px;
}

.zmc-alert-success {
    border-color:
        rgba(22, 199, 132, 0.28);

    background:
        rgba(22, 199, 132, 0.08);
}

.zmc-alert-info {
    border-color:
        rgba(56, 189, 248, 0.28);

    background:
        rgba(56, 189, 248, 0.08);
}

.zmc-alert-warning {
    border-color:
        rgba(245, 158, 11, 0.28);

    background:
        rgba(245, 158, 11, 0.08);
}

.zmc-alert-danger {
    border-color:
        rgba(244, 63, 94, 0.28);

    background:
        rgba(244, 63, 94, 0.08);
}


/* ==========================================================
   23. NOTIFICATION POPUP
   ========================================================== */

.zmc-notification-stack {
    position: fixed;

    top: 12px;
    left: 12px;
    right: 12px;

    z-index: 500;

    display: flex;
    flex-direction: column;
    gap: 9px;

    pointer-events: none;
}

.zmc-notification {
    position: relative;

    display: flex;
    align-items: flex-start;
    gap: 10px;

    padding: 13px;

    border:
        1px solid
        rgba(36, 52, 71, 0.9);

    border-radius: 14px;

    background:
        rgba(18, 38, 58, 0.97);

    box-shadow:
        0 15px 45px
        rgba(0, 0, 0, 0.32);

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    pointer-events: auto;

    animation:
        zmcNotificationIn 220ms ease;
}

.zmc-notification.hide {
    animation:
        zmcNotificationOut 180ms ease forwards;
}

@keyframes zmcNotificationIn {
    from {
        opacity: 0;
        transform:
            translateY(-10px)
            scale(0.98);
    }

    to {
        opacity: 1;
        transform:
            translateY(0)
            scale(1);
    }
}

@keyframes zmcNotificationOut {
    to {
        opacity: 0;
        transform:
            translateY(-8px)
            scale(0.98);
    }
}

.zmc-notification-close {
    margin-left: auto;

    width: 28px;
    height: 28px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 8px;

    background:
        rgba(255, 255, 255, 0.05);

    color: var(--zmc-text-2);
}


/* ==========================================================
   24. TABLE / HISTORY
   ========================================================== */

.zmc-table-wrap {
    width: 100%;

    overflow-x: auto;

    border:
        1px solid
        var(--zmc-border);

    border-radius: 14px;

    background:
        rgba(18, 38, 58, 0.65);
}

.zmc-table {
    width: 100%;

    min-width: 620px;

    border-collapse: collapse;

    font-size: 12px;
}

.zmc-table th,
.zmc-table td {
    padding: 11px 12px;

    text-align: left;

    border-bottom:
        1px solid
        rgba(36, 52, 71, 0.7);

    white-space: nowrap;
}

.zmc-table th {
    color: var(--zmc-text-2);

    font-size: 10px;
    font-weight: 750;
    text-transform: uppercase;
}

.zmc-table tr:last-child td {
    border-bottom: 0;
}


/* ==========================================================
   25. AVATAR
   ========================================================== */

.zmc-avatar {
    width: 46px;
    height: 46px;

    flex: 0 0 46px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    border:
        1px solid
        rgba(22, 199, 132, 0.30);

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            rgba(22, 199, 132, 0.15),
            rgba(212, 168, 67, 0.10)
        );

    color: var(--zmc-primary);

    font-weight: 850;
}

.zmc-avatar img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* ==========================================================
   26. PROFILE / COVER
   ========================================================== */

.zmc-profile-cover {
    position: relative;

    min-height: 170px;

    display: flex;
    align-items: flex-end;

    padding: 15px;

    overflow: hidden;

    border-radius:
        var(--zmc-radius-lg);

    background:
        linear-gradient(
            180deg,
            rgba(7, 17, 31, 0.05),
            rgba(7, 17, 31, 0.96)
        );

    border:
        1px solid
        var(--zmc-border);
}

.zmc-profile-info {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    gap: 10px;
}

.zmc-profile-name {
    font-size: 18px;
    font-weight: 850;
}

.zmc-profile-phone {
    color: var(--zmc-text-2);

    font-size: 11px;
}


/* ==========================================================
   27. REFERRAL BOX
   ========================================================== */

.zmc-referral-box {
    position: relative;

    padding: 16px;

    border:
        1px solid
        rgba(212, 168, 67, 0.28);

    border-radius:
        var(--zmc-radius);

    background:
        linear-gradient(
            135deg,
            rgba(212, 168, 67, 0.08),
            rgba(18, 38, 58, 0.90)
        );

    overflow: hidden;
}

.zmc-referral-box::after {
    content: "";

    position: absolute;

    width: 130px;
    height: 130px;

    right: -50px;
    bottom: -60px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(212, 168, 67, 0.15),
            transparent 70%
        );
}

.zmc-referral-code {
    display: block;

    margin-top: 8px;

    color: var(--zmc-gold);

    font-size: 20px;
    font-weight: 850;

    letter-spacing: 0.05em;
}


/* ==========================================================
   28. FILE UPLOAD
   ========================================================== */

.zmc-upload {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 130px;

    padding: 18px;

    border:
        1px dashed
        rgba(22, 199, 132, 0.38);

    border-radius: 15px;

    background:
        rgba(22, 199, 132, 0.035);

    text-align: center;

    transition:
        border-color var(--zmc-transition),
        background var(--zmc-transition);
}

.zmc-upload:hover {
    border-color:
        rgba(22, 199, 132, 0.70);

    background:
        rgba(22, 199, 132, 0.06);
}

.zmc-upload input[type="file"] {
    width: 100%;

    margin-top: 9px;

    color: var(--zmc-text-2);

    font-size: 11px;
}


/* ==========================================================
   29. EMPTY STATE
   ========================================================== */

.zmc-empty {
    padding: 30px 18px;

    text-align: center;

    border:
        1px dashed
        rgba(36, 52, 71, 0.9);

    border-radius: var(--zmc-radius);

    background:
        rgba(18, 38, 58, 0.35);
}

.zmc-empty-icon {
    margin-bottom: 8px;

    color: var(--zmc-text-2);

    font-size: 30px;
}

.zmc-empty-title {
    margin-bottom: 4px;

    font-weight: 750;
}

.zmc-empty-text {
    color: var(--zmc-text-2);

    font-size: 12px;
}


/* ==========================================================
   30. SKELETON LOADING
   ========================================================== */

.zmc-skeleton {
    position: relative;

    overflow: hidden;

    background:
        rgba(36, 52, 71, 0.55);

    border-radius: 9px;
}

.zmc-skeleton::after {
    content: "";

    position: absolute;

    inset: 0;

    transform:
        translateX(-100%);

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.06),
            transparent
        );

    animation:
        zmcSkeleton 1.4s infinite;
}

@keyframes zmcSkeleton {
    100% {
        transform:
            translateX(100%);
    }
}

.zmc-skeleton-line {
    height: 12px;
    margin-bottom: 8px;
}

.zmc-skeleton-line:last-child {
    margin-bottom: 0;
}

.zmc-skeleton-short {
    width: 45%;
}


/* ==========================================================
   31. PROGRESS
   ========================================================== */

.zmc-progress {
    width: 100%;
    height: 7px;

    overflow: hidden;

    border-radius: 999px;

    background:
        rgba(36, 52, 71, 0.75);
}

.zmc-progress-bar {
    height: 100%;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            var(--zmc-primary),
            var(--zmc-primary-hover)
        );

    transition:
        width 350ms ease;
}


/* ==========================================================
   32. DIVIDERS
   ========================================================== */

.zmc-divider {
    width: 100%;
    height: 1px;

    margin: 14px 0;

    background:
        var(--zmc-border);
}


/* ==========================================================
   33. LIST ITEMS
   ========================================================== */

.zmc-list {
    display: flex;
    flex-direction: column;
}

.zmc-list-item {
    display: flex;
    align-items: center;
    gap: 11px;

    padding: 12px 0;

    border-bottom:
        1px solid
        rgba(36, 52, 71, 0.65);
}

.zmc-list-item:last-child {
    border-bottom: 0;
}

.zmc-list-content {
    min-width: 0;
    flex: 1;
}

.zmc-list-title {
    font-size: 13px;
    font-weight: 700;
}

.zmc-list-subtitle {
    color: var(--zmc-text-2);

    font-size: 10px;
}


/* ==========================================================
   34. MODAL
   ========================================================== */

.zmc-modal-backdrop {
    position: fixed;

    inset: 0;

    z-index: 700;

    display: none;
    align-items: flex-end;
    justify-content: center;

    padding: 12px;

    background:
        rgba(0, 0, 0, 0.65);

    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}

.zmc-modal-backdrop.active {
    display: flex;
}

.zmc-modal {
    width: min(
        100%,
        560px
    );

    max-height:
        calc(
            100vh - 24px
        );

    overflow-y: auto;

    padding: 18px;

    border:
        1px solid
        var(--zmc-border);

    border-radius:
        22px
        22px
        16px
        16px;

    background:
        linear-gradient(
            145deg,
            #12263A,
            #0D1B2A
        );

    box-shadow:
        0 25px 70px
        rgba(0, 0, 0, 0.50);

    animation:
        zmcModalIn 180ms ease;
}

@keyframes zmcModalIn {
    from {
        opacity: 0;
        transform:
            translateY(15px);
    }

    to {
        opacity: 1;
        transform:
            translateY(0);
    }
}

.zmc-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 10px;

    margin-bottom: 14px;
}

.zmc-modal-title {
    margin: 0;

    font-size: 18px;
}


/* ==========================================================
   35. AUTH PAGES
   ========================================================== */

.zmc-auth-page {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding:
        25px 14px
        calc(
            25px +
            env(safe-area-inset-bottom)
        );

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(22, 199, 132, 0.12),
            transparent 35%
        ),
        var(--zmc-bg);
}

.zmc-auth-card {
    width: min(
        100%,
        470px
    );

    padding: 22px;

    border:
        1px solid
        rgba(36, 52, 71, 0.95);

    border-radius:
        24px;

    background:
        linear-gradient(
            145deg,
            rgba(18, 38, 58, 0.97),
            rgba(13, 27, 42, 0.97)
        );

    box-shadow:
        var(--zmc-shadow);
}

.zmc-auth-brand {
    display: flex;
    flex-direction: column;
    align-items: center;

    margin-bottom: 20px;

    text-align: center;
}

.zmc-auth-title {
    margin-top: 8px;

    font-size: 25px;
    font-weight: 900;
}

.zmc-auth-subtitle {
    color: var(--zmc-text-2);

    font-size: 12px;
}


/* ==========================================================
   36. GIFT / REWARD BAR
   ========================================================== */

.zmc-gift-bar {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 10px 12px;

    margin-bottom: 14px;

    border:
        1px solid
        rgba(212, 168, 67, 0.32);

    border-radius: 13px;

    background:
        rgba(212, 168, 67, 0.07);
}

.zmc-gift-icon {
    width: 34px;
    height: 34px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background:
        rgba(212, 168, 67, 0.12);

    color: var(--zmc-gold);
}

.zmc-gift-content {
    min-width: 0;
    flex: 1;
}

.zmc-gift-title {
    font-size: 12px;
    font-weight: 800;
}

.zmc-gift-text {
    color: var(--zmc-text-2);

    font-size: 10px;
}


/* ==========================================================
   37. BREADCRUMB / BACK
   ========================================================== */

.zmc-page-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 10px;

    margin-bottom: 14px;
}

.zmc-page-title {
    min-width: 0;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    font-size: 20px;
    font-weight: 850;
}

.zmc-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    flex: 0 0 40px;

    border:
        1px solid
        var(--zmc-border);

    border-radius: 12px;

    background:
        rgba(18, 38, 58, 0.7);

    color: var(--zmc-text);

    transition:
        background var(--zmc-transition),
        border-color var(--zmc-transition);
}

.zmc-back:hover {
    border-color:
        rgba(22, 199, 132, 0.5);

    background:
        rgba(22, 199, 132, 0.08);
}


/* ==========================================================
   38. SIDEBAR
   ========================================================== */

.zmc-sidebar {
    position: fixed;

    top: 0;
    left: 0;
    bottom: 0;

    z-index: 600;

    width: min(
        82vw,
        310px
    );

    padding:
        16px;

    background:
        #0D1B2A;

    border-right:
        1px solid
        var(--zmc-border);

    transform:
        translateX(-105%);

    transition:
        transform 220ms ease;

    overflow-y: auto;
}

.zmc-sidebar.active {
    transform:
        translateX(0);
}

.zmc-sidebar-overlay {
    position: fixed;

    inset: 0;

    z-index: 550;

    display: none;

    background:
        rgba(0, 0, 0, 0.55);
}

.zmc-sidebar-overlay.active {
    display: block;
}

.zmc-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 10px;

    padding-bottom: 15px;

    margin-bottom: 12px;

    border-bottom:
        1px solid
        var(--zmc-border);
}

.zmc-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.zmc-sidebar-link {
    display: flex;
    align-items: center;
    gap: 10px;

    min-height: 45px;

    padding: 9px 11px;

    border-radius: 12px;

    color: var(--zmc-text-2);

    font-size: 13px;
    font-weight: 650;
}

.zmc-sidebar-link:hover,
.zmc-sidebar-link.active {
    color: var(--zmc-primary);

    background:
        rgba(22, 199, 132, 0.08);
}


/* ==========================================================
   39. MEDIA
   ========================================================== */

.zmc-media {
    width: 100%;

    overflow: hidden;

    border-radius: var(--zmc-radius);

    background:
        rgba(7, 17, 31, 0.5);
}

.zmc-media img,
.zmc-media video {
    width: 100%;
    height: auto;

    object-fit: cover;
}

.zmc-media-cover img {
    aspect-ratio: 16 / 9;

    object-fit: cover;
}


/* ==========================================================
   40. IMAGE PREVIEW
   ========================================================== */

.zmc-image-preview {
    width: 100%;

    max-height: 300px;

    margin-top: 10px;

    object-fit: contain;

    border-radius: 12px;

    border:
        1px solid
        var(--zmc-border);

    background:
        rgba(7, 17, 31, 0.5);
}


/* ==========================================================
   41. INLINE FLEX UTILITIES
   ========================================================== */

.zmc-flex {
    display: flex;
}

.zmc-flex-center {
    display: flex;

    align-items: center;
    justify-content: center;
}

.zmc-between {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 10px;
}

.zmc-gap-1 {
    gap: 4px;
}

.zmc-gap-2 {
    gap: 8px;
}

.zmc-gap-3 {
    gap: 12px;
}

.zmc-gap-4 {
    gap: 16px;
}

.zmc-wrap {
    flex-wrap: wrap;
}


/* ==========================================================
   42. SPACING
   ========================================================== */

.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mt-5 { margin-top: 20px; }

.mb-1 { margin-bottom: 4px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mb-5 { margin-bottom: 20px; }

.p-1 { padding: 4px; }
.p-2 { padding: 8px; }
.p-3 { padding: 12px; }
.p-4 { padding: 16px; }
.p-5 { padding: 20px; }


/* ==========================================================
   43. VISIBILITY
   ========================================================== */

.hidden {
    display: none !important;
}

.invisible {
    visibility: hidden !important;
}

.w-full {
    width: 100% !important;
}

.max-w-full {
    max-width: 100% !important;
}


/* ==========================================================
   44. ANIMATIONS
   ========================================================== */

.zmc-fade-in {
    animation:
        zmcFadeIn 300ms ease both;
}

@keyframes zmcFadeIn {
    from {
        opacity: 0;
        transform:
            translateY(5px);
    }

    to {
        opacity: 1;
        transform:
            translateY(0);
    }
}

.zmc-pulse {
    animation:
        zmcPulse 2.2s ease-in-out infinite;
}

@keyframes zmcPulse {
    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.65;
    }
}


/* ==========================================================
   45. ACCESSIBILITY
   ========================================================== */

:focus-visible {
    outline:
        2px solid
        var(--zmc-primary);

    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;

        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            0.01ms !important;
    }
}


/* ==========================================================
   46. SAFE AREA
   ========================================================== */

@supports (padding: env(safe-area-inset-bottom)) {
    .zmc-bottom-nav {
        padding-bottom:
            calc(
                7px +
                env(safe-area-inset-bottom)
            );
    }

    .zmc-page {
        padding-bottom:
            calc(
                var(--zmc-bottom-nav) +
                35px +
                env(safe-area-inset-bottom)
            );
    }
}


/* ==========================================================
   47. TABLET / DESKTOP ENHANCEMENT
   ========================================================== */

@media (min-width: 600px) {

    .zmc-container {
        width: min(
            calc(100% - 40px),
            var(--zmc-container)
        );
    }

    .zmc-grid-2 {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .zmc-grid-3 {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .zmc-stat-grid {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));
    }

    .zmc-plan-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .zmc-payment-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .zmc-notification-stack {
        left: auto;
        width: min(390px, calc(100% - 24px));
    }
}


@media (min-width: 900px) {

    .zmc-page {
        padding-top: 22px;
    }

    .zmc-grid-4 {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));
    }

    .zmc-plan-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .zmc-bottom-nav {
        left: 50%;
        right: auto;
        bottom: 14px;

        width: min(
            680px,
            calc(100% - 28px)
        );

        transform:
            translateX(-50%);

        border:
            1px solid
            rgba(36, 52, 71, 0.9);

        border-radius: 18px;

        box-shadow:
            0 15px 50px
            rgba(0, 0, 0, 0.35);
    }

    .zmc-floating-actions {
        right: 24px;
        bottom: 28px;
    }
}


/* ==========================================================
   48. PRINT
   ========================================================== */

@media print {

    .zmc-bottom-nav,
    .zmc-floating-actions,
    .zmc-sidebar,
    .zmc-sidebar-overlay,
    .zmc-notification-stack {
        display: none !important;
    }

    body {
        background: #FFFFFF !important;
        color: #000000 !important;
    }

    .zmc-card,
    .zmc-plan-card,
    .zmc-balance-box {
        box-shadow: none !important;
        background: #FFFFFF !important;
        color: #000000 !important;
    }
}