

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.nav-right {
    min-width: 40px;
}

.mo-main {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 66px 32px 0; 
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.mo-view-auth {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.mo-view {
    animation: moFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes moFadeIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.mo-auth-card {
    width: 100%;
    max-width: 420px;
    background: rgba(18, 18, 18, 0.75);
    backdrop-filter: blur(40px) saturate(1.4);
    -webkit-backdrop-filter: blur(40px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    padding: 36px 30px 30px;
    text-align: center;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.02) inset,
        0 20px 60px -12px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
}

.mo-auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 168, 67, 0.2), transparent);
}

.mo-auth-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(212,168,67,0.06);
    border: 1px solid rgba(212, 168, 67, 0.1);
    color: var(--accent-orange);
    margin-bottom: 18px;
}
.mo-auth-icon-pin { color: var(--accent-orange-bright); }
.mo-auth-icon-otp { color: var(--accent-green); }
.mo-auth-icon-setup {
    color: var(--accent-green-bright);
    background: rgba(77,189,94,0.06);
    border-color: rgba(77,189,94,0.1);
}

.mo-auth-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: -0.4px;
    color: var(--text-primary);
}
.mo-auth-subtitle {
    font-size: 13px;
    color: var(--text-tertiary);
    margin-bottom: 24px;
    line-height: 1.5;
}

.mo-input-wrap {
    margin-bottom: 18px;
}

.mo-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    padding: 13px 16px;
    font-size: 16px;
    font-family: var(--font-family);
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.mo-input:focus {
    border-color: rgba(212, 168, 67, 0.3);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.05);
}
.mo-input::placeholder {
    color: var(--text-tertiary);
    font-size: 13px;
}

.mo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-family: var(--font-family);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}
.mo-btn-primary {
    background: rgba(212, 168, 67, 0.1);
    border: 1px solid rgba(212, 168, 67, 0.18);
    color: var(--accent-orange-bright);
}
.mo-btn-primary:hover {
    background: rgba(212, 168, 67, 0.16);
    border-color: rgba(212, 168, 67, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(212, 168, 67, 0.08);
}
.mo-btn-primary:active {
    transform: translateY(0);
}
.mo-btn-full {
    width: auto;
    min-width: 180px;
    margin: 0 auto;
    display: flex;
}

.mo-btn.loading .mo-btn-text { opacity: 0; }
.mo-btn.loading .mo-btn-spinner { display: block; }
.mo-btn.loading { pointer-events: none; }
.mo-btn-spinner {
    display: none;
    position: absolute;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(212, 168, 67, 0.2);
    border-top-color: var(--accent-orange-bright);
    border-radius: 50%;
    animation: moSpin 0.6s linear infinite;
}
@keyframes moSpin { to { transform: rotate(360deg); } }

.mo-pin-inputs, .mo-otp-inputs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}

.mo-digit {
    width: 48px;
    height: 56px;
    background: rgba(255, 255, 255, 0.04);
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    caret-color: var(--accent-orange);
    -webkit-appearance: none;
}
.mo-digit:focus {
    border-color: var(--accent-orange);
    background: rgba(212, 168, 67, 0.04);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 168, 67, 0.12);
}
.mo-digit.filled {
    border-color: var(--accent-green);
    background: rgba(77, 189, 94, 0.06);
}

.mo-digit-sep {
    width: 8px;
    height: 2px;
    background: var(--text-tertiary);
    border-radius: 1px;
    flex-shrink: 0;
}

.mo-pin-label {
    display: block;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 16px 0 10px;
}
.mo-pin-label:first-of-type {
    margin-top: 0;
}

.mo-field-error {
    font-size: 13px;
    color: var(--color-error);
    height: 0;
    margin: 0;
    opacity: 0;
    overflow: hidden;
    transition: opacity 0.2s ease, height 0.2s ease, margin 0.2s ease;
}
.mo-field-error.visible {
    opacity: 1;
    height: auto;
    margin-top: 10px;
}
.mo-error-action {
    display: inline;
    background: none;
    border: none;
    color: var(--accent-orange);
    font-family: var(--font-family);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: opacity 0.2s ease;
}
.mo-error-action:hover {
    opacity: 0.7;
}

.mo-auth-footer {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.mo-link-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 13px;
    font-family: var(--font-family);
    cursor: pointer;
    transition: color 0.2s ease;
    padding: 4px 0;
}
.mo-link-btn:hover { color: var(--accent-orange); }
.mo-link-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.mo-link-btn-dim { color: var(--text-tertiary); }
.mo-link-btn-dim:hover { color: var(--text-secondary); }

.mo-icon-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}
.mo-icon-btn:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
}
.mo-icon-btn.spinning svg {
    animation: moSpin 0.8s linear infinite;
}

#view-dashboard {
    padding: 24px 0;
}

.mo-dashboard-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
}

.mo-sidebar {
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mo-stats-card {
    background: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    overflow: visible;
    background: transparent;
}
.mo-stats-card .mo-stats-header {
    display: none;
}
.mo-stat-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}
.mo-stat-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
    position: relative;
    overflow: hidden;
}
.mo-stat-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}
.mo-stat-item:nth-child(1)::before {
    background: linear-gradient(135deg, rgba(212, 168, 67, 0.06) 0%, transparent 60%);
}
.mo-stat-item:nth-child(2)::before {
    background: linear-gradient(135deg, rgba(77, 189, 94, 0.06) 0%, transparent 60%);
}
.mo-stat-item:nth-child(3)::before {
    background: linear-gradient(135deg, rgba(99, 144, 255, 0.06) 0%, transparent 60%);
}
.mo-stat-item:hover::before {
    opacity: 1;
}
.mo-stat-item:hover {
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.mo-stat-item:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.mo-stat-left {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}
.mo-stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.mo-stat-icon.orders {
    background: rgba(212, 168, 67, 0.12);
    color: var(--accent-orange);
}
.mo-stat-icon.spent {
    background: rgba(77, 189, 94, 0.12);
    color: var(--color-success);
}
.mo-stat-icon.accounts {
    background: rgba(99, 144, 255, 0.12);
    color: #6390ff;
}
.mo-stat-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}
.mo-stat-value {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.3px;
    position: relative;
    z-index: 1;
}
.mo-stat-item:nth-child(1) .mo-stat-value {
    color: var(--accent-orange);
}
.mo-stat-item:nth-child(2) .mo-stat-value {
    color: var(--color-success);
}
.mo-stat-item:nth-child(3) .mo-stat-value {
    color: #6390ff;
}
.mo-stat-sep {
    display: none;
}

.mo-main-content {
    min-width: 0; 
}

.nav-link.active {
    color: var(--accent-orange) !important;
}

@keyframes moSlideInLeft {
    from { opacity: 0; transform: translateX(-20px); }
    to   { opacity: 1; transform: translateX(0); }
}
.mo-sidebar {
    animation: moSlideInLeft 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes moSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.mo-main-content {
    animation: moSlideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.mo-stat-item {
    animation: moSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.mo-stat-item:nth-child(1) { animation-delay: 0.05s; }
.mo-stat-item:nth-child(2) { animation-delay: 0.12s; }
.mo-stat-item:nth-child(3) { animation-delay: 0.19s; }

@keyframes moCardIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}
.mo-order-card {
    animation: moCardIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.mo-order-card:nth-child(1)  { animation-delay: 0.02s; }
.mo-order-card:nth-child(2)  { animation-delay: 0.06s; }
.mo-order-card:nth-child(3)  { animation-delay: 0.10s; }
.mo-order-card:nth-child(4)  { animation-delay: 0.14s; }
.mo-order-card:nth-child(5)  { animation-delay: 0.18s; }
.mo-order-card:nth-child(6)  { animation-delay: 0.22s; }
.mo-order-card:nth-child(7)  { animation-delay: 0.26s; }
.mo-order-card:nth-child(8)  { animation-delay: 0.30s; }

.mo-toolbar {
    animation: moSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
}

@keyframes moValuePulse {
    0%   { opacity: 0.4; transform: scale(0.9); }
    60%  { opacity: 1; transform: scale(1.05); }
    100% { opacity: 1; transform: scale(1); }
}
.mo-stat-value.animate {
    animation: moValuePulse 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.mo-pin-toggle-section {
    animation: moSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}

@media (max-width: 900px) {
    .mo-dashboard-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        max-width: 600px;
    }
    .mo-sidebar {
        position: static;
    }
}

@media (max-width: 480px) {
    .mo-main { padding: 62px 14px 30px; }

    .mo-auth-card {
        padding: 24px 20px 22px;
        border-radius: 14px;
        max-width: 100%;
    }
    .mo-auth-icon {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        margin-bottom: 14px;
    }
    .mo-auth-icon svg { width: 20px; height: 20px; }
    .mo-auth-title { font-size: 18px; margin-bottom: 4px; }
    .mo-auth-subtitle { font-size: 12px; margin-bottom: 18px; }

    .mo-input { padding: 11px 14px; font-size: 16px; border-radius: 9px; }
    .mo-input::placeholder { font-size: 12px; }
    .mo-input-wrap { margin-bottom: 14px; }

    .mo-digit { width: 38px; height: 46px; font-size: 18px; border-radius: 10px; }
    .mo-pin-inputs, .mo-otp-inputs { gap: 6px; margin-bottom: 16px; }
    .mo-digit-sep { width: 6px; }

    .mo-pin-label { font-size: 11px; margin: 12px 0 8px; }

    .mo-btn { padding: 10px 20px; font-size: 12px; border-radius: 9px; }
    .mo-btn-full { min-width: 160px; }

    .mo-auth-footer { gap: 16px; margin-top: 10px; padding-top: 10px; }
    .mo-link-btn { font-size: 12px; }

    .mo-field-error { font-size: 12px; }

    .mo-stats-card { padding: 0; }
    .mo-stat-value { font-size: 16px; }
    .mo-stat-item { padding: 13px 16px; }
    .mo-stat-label { font-size: 12px; }

    .mo-order-card { padding: 10px 14px; }
    .mo-toolbar { flex-direction: column; align-items: stretch; gap: 8px; }
    .mo-toolbar-actions {
        display: flex;
        width: 100%;
    }
    .mo-search-wrap { flex: 1; }
    .mo-search-input { width: 100%; }

    .mo-tabs {
        width: 100%;
        justify-content: stretch;
        border-radius: 10px;
    }
    .mo-tab {
        flex: 1;
        padding: 8px 4px;
        font-size: 12px;
        text-align: center;
        justify-content: center;
    }

    .mo-sidebar { gap: 10px; }
    .mo-pin-toggle-section { margin-top: 0; }
    .mo-logout-row { margin-top: 4px; padding-top: 4px; margin-bottom: 4px; }

    .mo-toast {
        font-size: 12px;
        padding: 10px 16px;
        max-width: calc(100vw - 40px);
        bottom: 16px;
    }
}

.mo-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.mo-tabs {
    display: flex;
    gap: 4px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 3px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.mo-tab {
    padding: 7px 14px;
    font-size: 12px;
    font-weight: 600;
    font-family: var(--font-family);
    color: var(--text-tertiary);
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.mo-tab:hover {
    color: var(--text-secondary);
}
.mo-tab.active {
    color: var(--accent-orange);
    background: rgba(212, 168, 67, 0.08);
}
.mo-tab .mo-tab-count {
    font-size: 10px;
    font-weight: 700;
    opacity: 0.6;
    margin-left: 4px;
}

.mo-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.mo-search-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 0 10px;
    height: 34px;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.mo-search-wrap:focus-within {
    border-color: rgba(212, 168, 67, 0.25);
    background: rgba(255, 255, 255, 0.05);
}
.mo-search-icon {
    color: var(--text-tertiary);
    flex-shrink: 0;
}
.mo-search-input {
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: 13px;
    width: 180px;
    outline: none;
}
.mo-search-input::placeholder { color: var(--text-tertiary); }

.mo-orders-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mo-order-card {
    background: rgba(18, 18, 18, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    transition: background 0.2s ease, border-color 0.2s ease;
    cursor: default;
}
.mo-order-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(212, 168, 67, 0.12);
}
.mo-order-card.expired {
    opacity: 0.55;
}
.mo-order-card.expired:hover {
    opacity: 0.75;
}

.mo-order-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}
.mo-order-ref {
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 11px;
    font-weight: 600;
    color: var(--accent-orange);
    letter-spacing: 0.3px;
}
.mo-order-date {
    font-size: 11px;
    color: var(--text-tertiary);
}

.mo-order-product {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.2px;
}

.mo-order-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mo-order-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 500;
}
.mo-status-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    flex-shrink: 0;
}
.mo-status-delivered .mo-status-dot { background: var(--color-success); }
.mo-status-delivered { color: var(--color-success); }
.mo-status-partial .mo-status-dot { background: var(--color-warning); }
.mo-status-partial { color: var(--color-warning); }
.mo-status-refunded .mo-status-dot { background: var(--color-error); }
.mo-status-refunded { color: var(--color-error); }
.mo-status-expired .mo-status-dot { background: var(--text-tertiary); }
.mo-status-expired { color: var(--text-tertiary); }

.mo-order-price {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.mo-order-refund {
    font-size: 11px;
    color: var(--color-error);
    margin-top: 3px;
}

.mo-order-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.mo-used-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 600;
    color: var(--text-secondary);
    background: rgba(255,255,255,0.04);
    padding: 2px 7px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255,255,255,0.06);
}
.mo-used-badge.mo-used-all {
    color: var(--color-success);
    background: rgba(77, 189, 94, 0.06);
    border-color: rgba(77, 189, 94, 0.12);
}

.mo-order-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    color: var(--accent-orange);
    text-decoration: none;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    background: rgba(212, 168, 67, 0.06);
    border: 1px solid rgba(212, 168, 67, 0.12);
    transition: all 0.2s ease;
}
.mo-order-view-btn:hover {
    background: rgba(212, 168, 67, 0.12);
    color: var(--accent-orange-bright);
}

.mo-empty {
    text-align: center;
    padding: 32px 20px;
    color: var(--text-secondary);
}
.mo-empty-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    color: var(--text-tertiary);
}
.mo-empty-text {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}
.mo-empty-hint {
    font-size: 12px;
    color: var(--text-tertiary);
    line-height: 1.5;
}

.mo-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 12px;
    padding: 8px 0;
}
.mo-page-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}
.mo-page-btn:hover:not(:disabled) {
    background: rgba(212, 168, 67, 0.08);
    border-color: rgba(212, 168, 67, 0.2);
    color: var(--accent-orange);
}
.mo-page-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}
.mo-page-info {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-tertiary);
    min-width: 80px;
    text-align: center;
}

.mo-pin-toggle-section {
    margin-top: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.mo-pin-toggle-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(18, 18, 18, 0.5);
    border: none;
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}
.mo-pin-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.03);
}
.mo-pin-toggle-left {
    display: flex;
    align-items: center;
    gap: 10px;
}
.mo-pin-toggle-left svg {
    color: var(--text-tertiary);
}
.mo-pin-status-pill {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-tertiary);
}
.mo-pin-status-pill.active {
    color: var(--color-success);
    background: rgba(77, 189, 94, 0.06);
    border-color: rgba(77, 189, 94, 0.12);
}
.mo-pin-toggle-arrow {
    transition: transform 0.25s ease;
    color: var(--text-tertiary);
}
.mo-pin-toggle-section.open .mo-pin-toggle-arrow {
    transform: rotate(180deg);
}
.mo-pin-toggle-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.35s ease;
    padding: 0 16px;
}
.mo-pin-toggle-section.open .mo-pin-toggle-body {
    max-height: 200px;
    padding: 12px 16px 16px;
}

.mo-pin-status {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.mo-pin-status-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.mo-pin-status-icon.active {
    background: rgba(77, 189, 94, 0.1);
    color: var(--color-success);
}
.mo-pin-status-icon.inactive {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-tertiary);
}
.mo-pin-status-text { flex: 1; }
.mo-pin-status-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 1px;
}
.mo-pin-status-sub {
    font-size: 11px;
    color: var(--text-tertiary);
}

.mo-pin-actions {
    display: flex;
    gap: 8px;
}
.mo-pin-action-btn {
    flex: 1;
    padding: 8px 12px;
    font-size: 11px;
    font-weight: 600;
    font-family: var(--font-family);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
}
.mo-pin-action-btn:hover {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
}
.mo-pin-action-btn.danger {
    color: var(--color-error);
    border-color: rgba(232, 83, 74, 0.12);
}
.mo-pin-action-btn.danger:hover {
    background: rgba(232, 83, 74, 0.06);
    border-color: rgba(232, 83, 74, 0.25);
}
.mo-pin-action-btn.danger-confirm {
    color: #fff;
    background: rgba(232, 83, 74, 0.25);
    border-color: rgba(232, 83, 74, 0.5);
    animation: moPulseRed 1s ease infinite;
}
@keyframes moPulseRed {
    0%, 100% { background: rgba(232, 83, 74, 0.2); }
    50%      { background: rgba(232, 83, 74, 0.35); }
}

.mo-code-hint {
    text-align: center;
    font-size: 12px;
    color: var(--color-success);
    margin-top: 10px;
    min-height: 16px;
}

#change-pin-otp-section {
    animation: moSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.mo-logout-row {
    display: flex;
    justify-content: center;
    margin-top: 12px;
    padding-top: 8px;
}
.mo-logout-row .mo-link-btn {
    display: flex;
    align-items: center;
    gap: 6px;
}

.mo-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    background: rgba(18, 18, 18, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    z-index: 1000;
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.mo-toast.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.mo-toast.success { border-color: rgba(77, 189, 94, 0.25); }
.mo-toast.error { border-color: rgba(232, 83, 74, 0.25); }
