/* NAVCDP Mobilization — Mobilizer App */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
    --mob-green: #3d9b44;
    --mob-green-dark: #2d7a33;
    --mob-green-light: #4cb354;
    --mob-gold: #d4a017;
    --mob-bg: #f4f7f4;
    --mob-card: #ffffff;
    --mob-border: rgba(0, 0, 0, 0.06);
    --mob-text: #14201a;
    --mob-muted: #5c6b62;
    --mob-radius: 16px;
    --mob-radius-sm: 12px;
    --mob-shadow: 0 2px 12px rgba(61, 155, 68, 0.10);
    --mob-nav-h: 64px;
    --mob-bottom-h: 72px;
}

.mobilizer-portal {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    background: var(--mob-bg) !important;
    -webkit-font-smoothing: antialiased;
}

/* Standalone layout (no Sneat dependency) */
.layout-wrapper { display: flex; min-height: 100dvh; }
.layout-container { display: flex; width: 100%; min-height: 100dvh; }
.layout-menu {
    width: 260px;
    flex-shrink: 0;
    background: linear-gradient(180deg, #122318 0%, #0f1f14 100%) !important;
    color: #fff;
    padding: 0.75rem 0 1.5rem;
    position: sticky;
    top: 0;
    height: 100dvh;
    overflow-y: auto;
}
.layout-page { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.content-wrapper { flex: 1; }
.container-xxl, .container-p-y { padding: 1rem 1rem 1.5rem; }
.menu-inner { list-style: none; margin: 0; padding: 0.5rem 0; }
.menu-link {
    display: flex; align-items: center; gap: 0.65rem;
    padding: 0.7rem 1rem; color: rgba(255,255,255,0.85) !important;
    text-decoration: none; font-weight: 600; border-radius: 10px; margin: 2px 8px;
}
.menu-item.active > .menu-link, .menu-link:hover { background: rgba(61,155,68,0.22) !important; color: #fff !important; }
.menu-icon { font-size: 1.2rem; }
.app-brand { padding: 0.75rem 1rem 0.5rem; position: relative; }
.menu-close {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 1.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.menu-close:active { background: rgba(255, 255, 255, 0.2); }
@media (min-width: 1200px) {
    .menu-close { display: none !important; }
}
.btn-farma, .btn-primary {
    background: linear-gradient(135deg, var(--mob-green) 0%, var(--mob-green-dark) 100%) !important;
    color: #fff !important; border: none !important;
}
.btn-farma:hover { background: var(--mob-green-dark) !important; color: #fff !important; }
.text-farma { color: var(--mob-green-dark) !important; }

@media (max-width: 1199.98px) {
    .layout-menu {
        display: block !important;
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        z-index: 1090;
        width: min(280px, 88vw);
        height: 100dvh;
        transform: translateX(-105%);
        transition: transform 0.28s ease;
        box-shadow: 4px 0 24px rgba(0, 0, 0, 0.18);
    }
    .layout-menu.menu-open {
        transform: translateX(0);
    }
    body.menu-drawer-open {
        overflow: hidden;
    }
    .layout-overlay {
        position: fixed;
        inset: 0;
        z-index: 1085;
        background: rgba(15, 31, 20, 0.45);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.25s ease, visibility 0.25s ease;
    }
    .layout-overlay.show {
        opacity: 1;
        visibility: visible;
    }
}

.mobilizer-portal .layout-wrapper { min-height: 100dvh; }
.mobilizer-portal .content-wrapper { padding-bottom: calc(var(--mob-bottom-h) + 2.5rem); }

@media (min-width: 1200px) {
    .mobilizer-portal .content-wrapper { padding-bottom: 0; }
}

/* Sidebar — desktop polish */
#layout-menu.bg-menu-theme {
    background: linear-gradient(180deg, var(--mob-green) 0%, var(--mob-green-dark) 100%) !important;
}
#layout-menu .menu-item.active > .menu-link {
    background: rgba(255, 255, 255, 0.12) !important;
    border-radius: 10px;
    margin: 0 8px;
}
#layout-menu .menu-link {
    border-radius: 10px;
    margin: 2px 8px;
    font-weight: 600 !important;
    font-size: 0.9rem;
}
#layout-menu .app-brand-text,
#layout-menu .menu-link,
#layout-menu .menu-icon { color: #fff !important; }

/* Compact top bar */
.mob-topbar {
    background: var(--mob-card);
    box-shadow: 0 1px 0 var(--mob-border);
    position: sticky;
    top: 0;
    z-index: 1070;
    padding: 0;
    padding-top: env(safe-area-inset-top, 0);
}
.mob-topbar-inner {
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    gap: 0.5rem;
    min-height: 56px;
    padding: 0.5rem 0.75rem;
    max-width: 100%;
}
@media (min-width: 1200px) {
    .mob-topbar-inner {
        grid-template-columns: 1fr auto 44px;
        padding: 0.5rem 1.25rem;
    }
    .mob-topbar-center {
        justify-content: flex-start;
    }
}
.mob-topbar-btn {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 12px;
    background: transparent;
    color: var(--mob-text);
    font-size: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
}
.mob-topbar-btn:active {
    background: rgba(61, 155, 68, 0.08);
}
.mob-topbar-spacer {
    width: 44px;
}
.mob-topbar-center {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}
.mob-topbar-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.mob-topbar .sacco-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(61, 155, 68, 0.1);
    color: var(--mob-green);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    max-width: 100%;
    min-width: 0;
    line-height: 1.2;
}
.mob-topbar .sacco-chip i {
    font-size: 1rem;
    flex-shrink: 0;
}
.mob-topbar .sacco-chip-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.mob-topbar-avatar {
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    padding: 3px;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
}
.mob-topbar-avatar .avatar-initial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--mob-green), var(--mob-green-light));
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(61, 155, 68, 0.3);
}
.mob-topbar-avatar:active .avatar-initial {
    transform: scale(0.96);
}

/* Page shell */
.mob-page { max-width: 640px; margin: 0 auto; padding-bottom: 1.5rem; margin-bottom: 0.5rem; }
.mob-page-wide { max-width: 900px; margin: 0 auto; padding-bottom: 1.5rem; margin-bottom: 0.5rem; }

.mob-hero {
    background: linear-gradient(135deg, var(--mob-green) 0%, var(--mob-green-light) 100%);
    color: #fff;
    border-radius: var(--mob-radius);
    padding: 1.25rem 1.15rem;
    margin-bottom: 1rem;
    box-shadow: var(--mob-shadow);
}
.mob-hero h1 {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0 0 0.25rem;
    color: #fff;
}
.mob-hero .sub {
    font-size: 0.82rem;
    opacity: 0.88;
    margin: 0;
}
.mob-hero .rate-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.4rem 0.75rem;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    margin-top: 0.75rem;
}

/* Stat grid — farmer counts */
.mob-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.65rem;
    margin-bottom: 0.75rem;
}
.mob-stat {
    background: var(--mob-card);
    border-radius: var(--mob-radius-sm);
    padding: 0.85rem;
    border: 1px solid var(--mob-border);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}
.mob-stat .icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(40, 77, 44, 0.1);
    color: var(--mob-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}
.mob-stat .val {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--mob-green-dark);
    line-height: 1.1;
}
.mob-stat .lbl {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--mob-muted);
    margin-top: 0.15rem;
}

/* Dashboard earnings card */
.mob-earnings-card {
    display: block;
    background: var(--mob-card);
    border: 1px solid var(--mob-border);
    border-radius: var(--mob-radius-sm);
    padding: 0.9rem 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s, box-shadow 0.15s;
    -webkit-tap-highlight-color: transparent;
}
.mob-earnings-card:active {
    border-color: rgba(61, 155, 68, 0.35);
    box-shadow: 0 2px 10px rgba(61, 155, 68, 0.12);
}
.mob-earnings-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
}
.mob-earnings-card-title {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--mob-muted);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.mob-earnings-card-title i {
    font-size: 1rem;
    color: var(--mob-green);
}
.mob-earnings-card-link {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--mob-green);
    display: inline-flex;
    align-items: center;
    gap: 0.1rem;
}
.mob-earnings-card-total {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--mob-green-dark);
    line-height: 1.1;
    margin-bottom: 0.65rem;
}
.mob-earnings-progress {
    height: 6px;
    border-radius: 999px;
    background: #eef2ef;
    overflow: hidden;
    margin-bottom: 0.65rem;
}
.mob-earnings-progress-fill {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--mob-green), var(--mob-green-light));
    transition: width 0.4s ease;
}
.mob-earnings-split {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.mob-earnings-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.3rem 0.55rem;
    border-radius: 999px;
    background: #f4f7f4;
    color: var(--mob-muted);
}
.mob-earnings-chip .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}
.mob-earnings-chip.is-paid .dot { background: var(--mob-green); }
.mob-earnings-chip.is-pending .dot { background: #d4a017; }
.mob-earnings-card-empty .mob-earnings-empty-text {
    margin: 0.25rem 0 0;
    font-size: 0.82rem;
    color: var(--mob-muted);
    line-height: 1.4;
}

.mob-earnings-summary {
    background: var(--mob-card);
    border: 1px solid var(--mob-border);
    border-radius: var(--mob-radius-sm);
    padding: 0.85rem 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}
.mob-earnings-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--mob-border);
}
.mob-earnings-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.mob-earnings-row:first-child {
    padding-top: 0;
}
.mob-earnings-row-label {
    font-size: 0.82rem;
    color: var(--mob-text);
    font-weight: 600;
    min-width: 0;
}
.mob-earnings-row-label .text-muted {
    font-weight: 500;
    font-size: 0.75rem;
}
.mob-earnings-row-label i {
    color: var(--mob-green);
    margin-right: 0.2rem;
    vertical-align: -1px;
}
.mob-earnings-row-val {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--mob-green-dark);
    white-space: nowrap;
}
.mob-earnings-row.is-paid .mob-earnings-row-val { color: var(--mob-green); }
.mob-earnings-row.is-pending .mob-earnings-row-val { color: #b8860b; }

/* Cards */
.mob-card {
    background: var(--mob-card);
    border-radius: var(--mob-radius);
    border: 1px solid var(--mob-border);
    box-shadow: var(--mob-shadow);
    overflow: hidden;
    margin-bottom: 1rem;
}
.mob-card-head {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--mob-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}
.mob-card-head h6 {
    margin: 0;
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--mob-text);
}
.mob-card-body { padding: 1rem; }

/* Record cards (list items) */
.mob-record {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--mob-border);
}
.mob-record:last-child { border-bottom: none; }
.mob-record .avatar {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(40,77,44,.12), rgba(40,77,44,.06));
    color: var(--mob-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    flex-shrink: 0;
}
.mob-record .info { flex: 1; min-width: 0; }
.mob-record .name {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--mob-text);
    margin-bottom: 0.15rem;
}
.mob-record .meta {
    font-size: 0.75rem;
    color: var(--mob-muted);
    line-height: 1.4;
}
.mob-record .status {
    flex-shrink: 0;
}

/* Status pills */
.mob-pill {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.mob-pill.pending, .mob-pill.partial { background: #fff8e6; color: #b45309; }
.mob-pill.approved { background: #eef5e8; color: var(--mob-green); }
.mob-pill.rejected { background: #fde8e8; color: #c62828; }
.mob-pill.paid { background: #eef5e8; color: var(--mob-green); }

/* CTA button */
.mob-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.9rem 1.25rem;
    background: linear-gradient(135deg, var(--mob-green), var(--mob-green-dark));
    color: #fff !important;
    border: none;
    border-radius: var(--mob-radius-sm);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(40, 77, 44, 0.25);
    transition: transform 0.15s, box-shadow 0.15s;
}
.mob-cta:active { transform: scale(0.98); }
.mob-cta i { font-size: 1.2rem; }

/* Form polish */
.mob-form-card .card-head {
    background: linear-gradient(135deg, var(--mob-green), var(--mob-green-light));
    color: #fff;
    padding: 1.15rem 1rem;
}
.mob-form-card .card-head h5 { margin: 0; font-weight: 800; font-size: 1.05rem; }
.mob-form-card .form-control,
.mob-form-card .form-select {
    border-radius: 10px;
    padding: 0.6rem 0.85rem;
    font-size: 1rem;
    border-color: #e2e8e4;
}
.mob-form-card .form-control:focus,
.mob-form-card .form-select:focus {
    border-color: var(--mob-green);
    box-shadow: 0 0 0 3px rgba(40, 77, 44, 0.12);
}
.mob-form-card .form-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.3rem;
}

/* Record farmer form */
.mob-institution-bar {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.9rem 1rem;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, #f4f9f5 0%, #eef5f0 100%);
    border: 1px solid #dce8df;
    border-radius: 12px;
}
.mob-institution-bar-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--mob-green);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}
.mob-institution-bar-body {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}
.mob-institution-type {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--mob-green);
}
.mob-institution-bar-body strong {
    font-size: 0.95rem;
    color: var(--mob-text);
    line-height: 1.3;
}
.mob-institution-location {
    font-size: 0.78rem;
    color: var(--mob-muted);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-wrap: wrap;
}

.mob-record-form .form-section {
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--mob-border);
}
.mob-record-form .form-section-last {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0.5rem;
}
.form-section-title {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--mob-green);
    margin-bottom: 0.85rem;
}
.form-section-title i { font-size: 1rem; opacity: 0.85; }
.form-section-lead {
    font-size: 0.88rem;
    color: var(--mob-muted);
    margin: -0.35rem 0 0.85rem;
}

.cig-toggle {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.cig-toggle .btn {
    flex: 1;
    border-radius: 10px;
    padding: 0.55rem 0.75rem;
    font-weight: 600;
}
.cig-panel {
    background: #fafbfa;
    border: 1px solid var(--mob-border);
    border-radius: 12px;
    padding: 1rem;
}

.cig-search-wrap { position: relative; }
.cig-search-input-wrap {
    position: relative;
}
.cig-search-input-wrap > .bx-search {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--mob-muted);
    font-size: 1.1rem;
    pointer-events: none;
}
.cig-search-input-wrap .form-control {
    padding-left: 2.35rem;
    padding-right: 2.25rem;
}
.cig-search-spinner {
    position: absolute;
    right: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: 2px solid #dce8df;
    border-top-color: var(--mob-green);
    border-radius: 50%;
    animation: mob-spin 0.7s linear infinite;
}
@keyframes mob-spin { to { transform: translateY(-50%) rotate(360deg); } }

.cig-search-results {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 4px);
    max-height: 240px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid var(--mob-border);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    z-index: 20;
}
.cig-search-item {
    padding: 0.65rem 0.85rem;
    cursor: pointer;
    border-bottom: 1px solid #f0f2f1;
    transition: background 0.12s;
}
.cig-search-item:last-child { border-bottom: none; }
.cig-search-item:hover,
.cig-search-item:focus {
    background: #f4f9f5;
    outline: none;
}
.cig-search-item .cig-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--mob-text);
}
.cig-search-item .cig-meta {
    font-size: 0.75rem;
    color: var(--mob-muted);
    margin-top: 0.15rem;
}
.cig-search-scope {
    font-size: 0.75rem;
    margin-top: 0.4rem;
    min-height: 1.1rem;
}

.cig-selected-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0.65rem 0;
    padding: 0.4rem 0.65rem;
    background: #e8f5ea;
    border: 1px solid #c5dfc9;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--mob-green);
}
.cig-selected-pill .bx-check-circle { font-size: 1rem; }

.cig-manual-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1rem 0;
    color: var(--mob-muted);
    font-size: 0.75rem;
}
.cig-manual-divider::before,
.cig-manual-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--mob-border);
}

.sticky-submit {
    position: sticky;
    bottom: calc(var(--mob-bottom-h, 64px) + 0.5rem);
    padding-top: 1rem;
    margin-top: 0.5rem;
    background: linear-gradient(to top, var(--mob-card) 75%, transparent);
    z-index: 5;
}
@media (min-width: 1200px) {
    .sticky-submit { bottom: 0.75rem; }
}
.sticky-submit .btn-farma {
    border-radius: 12px;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(40, 77, 44, 0.25);
}

/* Bottom navigation */
.mob-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--mob-bottom-h);
    background: var(--mob-card);
    border-top: 1px solid var(--mob-border);
    display: flex;
    align-items: stretch;
    justify-content: space-around;
    z-index: 1080;
    padding-bottom: env(safe-area-inset-bottom, 0);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
}
@media (min-width: 1200px) {
    .mob-bottom-nav { display: none; }
}
.mob-bottom-nav a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    color: var(--mob-muted);
    text-decoration: none;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.35rem 0;
    transition: color 0.15s;
    -webkit-tap-highlight-color: transparent;
}
.mob-bottom-nav a i { font-size: 1.35rem; }
.mob-bottom-nav a.active { color: var(--mob-green); }
.mob-bottom-nav a.nav-record {
    color: var(--mob-green);
}
.mob-bottom-nav a.nav-record .nav-record-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--mob-green), var(--mob-green-light));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    box-shadow: 0 3px 12px rgba(61, 155, 68, 0.3);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.mob-bottom-nav a.nav-record:active .nav-record-icon {
    transform: scale(0.94);
}
.mob-bottom-nav a.nav-record.active .nav-record-icon {
    box-shadow: 0 4px 16px rgba(61, 155, 68, 0.45);
}

/* Hide footer on mobile when bottom nav present */
@media (max-width: 1199.98px) {
    .mobilizer-portal .content-footer { display: none; }
}

/* Login page */
.mob-login-wrap {
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: linear-gradient(160deg, var(--mob-green-dark) 0%, var(--mob-green) 40%, #4e8c54 100%);
}
.mob-login-card {
    width: 100%;
    max-width: 400px;
    background: var(--mob-card);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}
.mob-login-card .logo { text-align: center; margin-bottom: 1.5rem; }
.mob-login-card .logo img { max-height: 56px; }
.mob-login-card h1 {
    font-size: 1.35rem;
    font-weight: 800;
    text-align: center;
    margin: 0 0 0.35rem;
    color: var(--mob-text);
}
.mob-login-card .tagline {
    text-align: center;
    color: var(--mob-muted);
    font-size: 0.88rem;
    margin-bottom: 1.5rem;
}

/* Empty state */
.mob-empty {
    text-align: center;
    padding: 2.5rem 1.5rem;
    color: var(--mob-muted);
}
.mob-empty i {
    font-size: 2.5rem;
    opacity: 0.35;
    display: block;
    margin-bottom: 0.75rem;
    color: var(--mob-green);
}
.mob-empty p { margin: 0 0 1rem; font-size: 0.9rem; }

/* Desktop table fallback */
@media (min-width: 768px) {
    .mob-records-desktop { display: block; }
}
@media (max-width: 767.98px) {
    .mob-records-desktop { display: none; }
    .mob-records-mobile { display: block; }
}
@media (min-width: 768px) {
    .mob-records-mobile { display: none; }
}

.container-p-y { padding-top: 1rem !important; padding-bottom: 1rem !important; }

/* Skeleton loading */
@keyframes mob-shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
.mob-skeleton {
    background: linear-gradient(90deg, #e8ebe9 25%, #f4f6f5 50%, #e8ebe9 75%);
    background-size: 200% 100%;
    animation: mob-shimmer 1.4s ease-in-out infinite;
    border-radius: var(--mob-radius-sm);
}
.mob-skeleton-stat {
    min-height: 88px;
    border: 1px solid var(--mob-border);
}
.mob-skeleton-row {
    height: 64px;
    margin: 0.5rem 1rem;
    border-radius: 10px;
}
.mob-skeleton-row:first-child { margin-top: 1rem; }
.mob-skeleton-row:last-child { margin-bottom: 1rem; }

.nav-toast.swal2-popup {
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
    border-radius: 12px;
}

.swal2-styled.swal2-confirm {
    background: #3d9b44 !important;
}

/* Payment details */
.mob-payment-card {
    background: var(--mob-card);
    border-radius: var(--mob-radius);
    border: 1px solid var(--mob-border);
    box-shadow: var(--mob-shadow);
    margin-bottom: 1rem;
    overflow: hidden;
}
.mob-payment-card.alert-style {
    border-color: rgba(201, 162, 39, 0.35);
    background: linear-gradient(135deg, #fffdf5 0%, #fff 100%);
}
.mob-payment-card .mob-payment-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    border-bottom: 1px solid var(--mob-border);
}
.mob-payment-card .mob-payment-head h6 {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--mob-text);
}
.mob-payment-card .mob-payment-body { padding: 0.9rem 1rem; }
.mob-payment-row {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 0.65rem;
    font-size: 0.88rem;
}
.mob-payment-row:last-child { margin-bottom: 0; }
.mob-payment-row i {
    color: var(--mob-green);
    font-size: 1.1rem;
    margin-top: 0.1rem;
}
.mob-payment-row .lbl {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--mob-muted);
    font-weight: 600;
}
.mob-payment-row .val { font-weight: 600; color: var(--mob-text); }
.mob-payment-modal .modal-content { border-radius: 14px; border: none; overflow: hidden; }
.mob-payment-modal .modal-header { border-bottom: 1px solid var(--mob-border); }
.mob-payment-modal .modal-footer { border-top: 1px solid var(--mob-border); }
.mob-payment-dialog {
    max-width: min(340px, calc(100vw - 2rem));
    margin: 1rem auto;
}
.mob-payment-modal .modal-title {
    font-size: 0.95rem;
    font-weight: 700;
}
.mob-payment-modal .form-control-sm {
    border-radius: 10px;
    padding: 0.55rem 0.75rem;
}
.mob-payment-modal .modal-footer .btn {
    min-width: 72px;
}
