/* Modern Variables and Design Tokens */
:root {
    --brand-orange: #ff6a00;
    --brand-orange-hover: #e05300;
    --brand-orange-dim: rgba(255, 106, 0, 0.15);
    --charcoal-bg: #111116;
    --charcoal-card: #1c1c24;
    --charcoal-light: #2c2c38;

    --light-bg: #f7f9fc;
    --light-card: #ffffff;
    --light-text-primary: #1e1e24;
    --light-text-secondary: #606877;
    --light-border: #eef2f6;

    --gold-text: #d48c00;
    --gold-bg: #fdf5e2;
    --green-receive: #008f1f;
    --green-receive-hover: #007718;
    --green-dim: rgba(0, 143, 31, 0.12);

    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.2);

    --font-primary: 'Plus Jakarta Sans', sans-serif;
    --font-display: 'Outfit', sans-serif;
}

/* Reset and Core Shell Styling */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: var(--font-primary);
}

.hidden {
    display: none !important;
}

body {
    background-color: #0b0b0f;
    background-image: radial-gradient(circle at top, #1a1a26 0%, #0b0b0f 100%);
    color: var(--light-text-primary);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    justify-content: center;
}

/* Site Main Responsive Container */
.site-main-container {
    width: 100%;
    max-width: 480px;
    min-height: 100vh;
    background-color: var(--light-bg);
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.4);
    position: relative;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* App Screen Containers */
.app-screen {
    position: absolute;
    inset: 0;
    background-color: var(--light-bg);
    z-index: 50;
    display: flex;
    flex-direction: column;
}

.app-screen.hidden {
    display: none !important;
}

/* Splash Loader SCreen */
#screen-splash {
    z-index: 999;
    background-color: var(--charcoal-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
}

.splash-inner {
    text-align: center;
}

.splash-logo {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 24px;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 900;
    color: var(--brand-orange);
    letter-spacing: 4px;
    text-shadow: 0 4px 10px rgba(255, 106, 0, 0.3);
}

.logo-subtext {
    font-size: 11px;
    color: var(--light-text-secondary);
    letter-spacing: 2px;
}

.spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(255, 106, 0, 0.2);
    border-top: 3px solid var(--brand-orange);
    border-radius: 50%;
    margin: 0 auto 16px auto;
    animation: spin 0.8s linear infinite;
}

.spinner-btn {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loading-label {
    font-size: 11px;
    color: var(--light-text-secondary);
}

/* Auth Screens (Login / Signup) */
#screen-auth {
    background: linear-gradient(180deg, var(--brand-orange) 0%, var(--charcoal-bg) 60%);
    padding: 30px 24px;
    justify-content: center;
}

.auth-card {
    background-color: var(--light-card);
    border-radius: 20px;
    padding: 28px 20px;
    box-shadow: var(--shadow-lg);
}

.auth-header {
    text-align: center;
    margin-bottom: 24px;
}

.auth-logo {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 32px;
    color: var(--brand-orange);
    letter-spacing: 1px;
}

#auth-subtitle {
    font-size: 13px;
    color: var(--light-text-secondary);
    margin-top: 4px;
}

.auth-tabs {
    display: flex;
    border-bottom: 2px solid var(--light-border);
    margin-bottom: 20px;
}

.auth-tab-btn {
    flex: 1;
    background: none;
    border: none;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    padding: 10px;
    cursor: pointer;
    color: var(--light-text-secondary);
    outline: none;
}

.auth-tab-btn.active {
    color: var(--brand-orange);
    border-bottom: 3px solid var(--brand-orange);
    margin-bottom: -2.5px;
}

/* Forms Elements */
.input-group {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.input-group label {
    font-size: 12px;
    font-weight: 600;
    color: var(--light-text-secondary);
}

.input-wrapper {
    display: flex;
    border: 1px solid var(--light-border);
    border-radius: 8px;
    overflow: hidden;
    background: #fdfdfd;
}

.input-prefix {
    background: #f1f3f7;
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--light-text-secondary);
    border-right: 1px solid var(--light-border);
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--light-border);
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
    background: #ffffff;
}

.input-wrapper input {
    border: none;
}

.input-group input:focus,
.input-group select:focus {
    border-color: var(--brand-orange);
}

/* Premium Auth Fields Styling (Matching Uploaded Wireframe) */
.auth-field-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    height: 52px;
    background-color: #ffffff;
    margin-bottom: 20px;
    padding: 0 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-field-wrapper:focus-within {
    border-color: #00a2e8;
    box-shadow: 0 0 0 1px #00a2e8;
}

.auth-field-wrapper .prefix-text {
    font-size: 16px;
    font-weight: 600;
    color: #111;
    margin-right: 12px;
    user-select: none;
    display: inline-flex;
    align-items: center;
}

.auth-field-wrapper .field-icon {
    color: #111;
    margin-right: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.85;
}

.auth-field-wrapper input {
    flex: 1;
    border: none !important;
    outline: none !important;
    font-size: 14.5px;
    height: 100%;
    color: #1e1e24;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.auth-field-wrapper input::placeholder {
    color: #a0aec0;
}

.input-subtext {
    font-size: 11px;
    color: var(--light-text-secondary);
    margin-top: 2px;
}

.register-only.hidden {
    display: none;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--brand-orange);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--brand-orange-hover);
}

.btn-secondary {
    background-color: var(--brand-orange-dim);
    color: var(--brand-orange);
    border: 1px solid rgba(255, 106, 0, 0.3);
}

.btn-secondary:hover {
    background-color: rgba(255, 106, 0, 0.25);
}

.btn-dim {
    background-color: #eef2f6;
    color: #9ea8b6;
    cursor: not-allowed;
}

.btn-green {
    background-color: var(--green-receive);
    color: var(--white);
}

.btn-green:hover {
    background-color: var(--green-receive-hover);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--charcoal-light);
    color: var(--light-text-secondary);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.btn-danger {
    background-color: #d12a2a;
    color: var(--white);
}

.btn-danger:hover {
    background-color: #a81c1c;
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-xs {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 6px;
}

.btn-mini {
    padding: 2px 6px;
    font-size: 10px;
    border-radius: 4px;
    background-color: var(--brand-orange-dim);
    color: var(--brand-orange);
    margin-left: 6px;
}

.auth-footer {
    text-align: center;
    margin-top: 16px;
    font-size: 10px;
    color: var(--light-text-secondary);
}

/* Core shell layout */
.core-shell-layout {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.app-viewport-content {
    flex-grow: 1;
    overflow-y: auto;
    background-color: var(--light-bg);
    padding-bottom: 24px;
}

/* Bottom Navigation Bar */
.app-bottom-navbar {
    height: 64px;
    background-color: var(--brand-orange);
    color: var(--white);
    display: flex;
    align-items: center;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.05);
    z-index: 80;
    flex-shrink: 0;
}

.nav-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    height: 100%;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    gap: 4px;
    transition: color 0.15s, background-color 0.15s;
    outline: none;
}

.nav-icon {
    font-size: 20px;
}

.nav-label {
    font-size: 11px;
    font-weight: 500;
}

.nav-tab.active {
    color: var(--white);
    background-color: rgba(0, 0, 0, 0.1);
    font-weight: 700;
}

/* Tab Page Transitions */
.tab-page {
    animation: slideIn 0.3s ease-out;
}

.tab-page.hidden {
    display: none !important;
}

/* Home Page */
.home-banner {
    width: 100%;
    height: 180px;
    position: relative;
    overflow: hidden;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px;
    color: var(--white);
}

.banner-overlay h2 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
}

.banner-overlay p {
    font-size: 11px;
    color: var(--light-text-secondary);
    margin-top: 4px;
}

/* Quick actions */
.quick-actions-bar {
    background-color: var(--brand-orange);
    padding: 16px 12px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.action-btn {
    background: none;
    border: none;
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    outline: none;
}

.action-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.15);
    transition: transform 0.2s;
}

.action-btn:hover .action-icon {
    transform: scale(1.08);
}

.action-btn span {
    font-size: 11.5px;
    font-weight: 500;
}

/* Ticker News */
.news-ticker {
    display: flex;
    align-items: center;
    background-color: #fffdec;
    padding: 8px 12px;
    border-bottom: 1px solid #fae8c6;
    gap: 8px;
}

.ticker-icon {
    font-size: 14px;
}

.ticker-wrap {
    flex-grow: 1;
    overflow: hidden;
}

.ticker-content {
    white-space: nowrap;
    display: inline-block;
    animation: scrollTicker 30s linear infinite;
    font-size: 11px;
    color: var(--gold-text);
    font-weight: 500;
}

/* Dashboard accounts - mimics image overlay */
.dashboard-cards {
    display: flex;
    padding: 16px;
    gap: 12px;
}

.dashboard-cards.double-row .dash-card {
    flex: 1;
    background: linear-gradient(135deg, #f8c291 0%, #fac79b 100%);
    border-radius: 12px;
    padding: 14px 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 12px rgba(250, 199, 155, 0.3);
    display: flex;
    gap: 10px;
    align-items: center;
}

.dashboard-cards.beige .dash-card {
    flex: 1;
    background: #f5dbca;
    border-radius: 8px;
    padding: 12px;
    box-shadow: none;
    border: 1px solid #ebd0be;
}

.dashboard-cards.double-row .dash-card:nth-child(2) {
    background: linear-gradient(135deg, #f5c4a1 0%, #ffdcc2 100%);
}

.card-icon {
    font-size: 24px;
}

.card-details h4 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 800;
    color: var(--light-text-primary);
}

.card-details p {
    font-size: 11px;
    color: var(--light-text-secondary);
    margin-top: 2px;
    font-weight: 500;
    text-transform: capitalize;
}

/* Featured panel */
.featured-panel {
    background-color: var(--light-card);
    border-radius: 16px;
    margin: 0 16px;
    border: 1px solid var(--light-border);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.panel-header {
    background-color: #fff9f5;
    padding: 12px 16px;
    border-bottom: 1px solid #ffebe0;
}

.panel-header h3 {
    font-family: var(--font-display);
    font-size: 14px;
    color: var(--brand-orange);
    font-weight: 700;
}

.featured-body {
    padding: 16px;
}

.robot-graphic-panel {
    height: 120px;
    background-color: #fcfcfc;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px dashed var(--light-border);
}

.gears-spinning {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 24px;
    animation: spin 5s linear infinite;
    color: var(--brand-orange-dim);
}

.robot-glow-image {
    height: 90%;
    object-fit: contain;
    animation: hoverGlow 3s ease-in-out infinite;
}

.panel-details p {
    font-size: 11.5px;
    color: var(--light-text-secondary);
    line-height: 1.4;
    margin-bottom: 12px;
}

/* Product list layout matching screenshot */
.product-banner-header {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    background-color: var(--brand-orange);
}

.product-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-stats-floating-card {
    position: absolute;
    bottom: -15px;
    left: 16px;
    right: 16px;
    display: flex;
    background: #ffffff;
    border-radius: 30px;
    padding: 14px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #eef0f4;
    z-index: 10;
}

.product-stat-col {
    flex: 1;
    text-align: center;
}

.product-stat-col:first-child {
    border-right: 1px solid #eef0f4;
}

.product-stat-num {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 800;
    color: #1a1a24;
    display: block;
    line-height: 1.2;
}

.product-stat-label {
    font-size: 11px;
    color: #7a8293;
    font-weight: 500;
    margin-top: 2px;
    display: block;
}

.products-list {
    display: flex;
    flex-direction: column;
    padding: 30px 16px 16px 16px;
    background-color: #fafbfc;
    min-height: calc(100vh - 244px);
    gap: 0;
}

.product-row-item {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    padding: 16px 12px;
    border-bottom: 1px solid #eaeef2;
    transition: background-color 0.2s;
}

.product-row-item:last-child {
    border-bottom: none;
}

.product-row-left {
    width: 76px;
    height: 76px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f7fafc;
    border-radius: 12px;
    border: 1px solid #edf2f7;
}

.product-row-left img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
}

.product-row-mid {
    flex-grow: 1;
    padding-left: 14px;
    text-align: left;
}

.product-row-mid h4 {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    color: #1a1a24;
    margin-bottom: 4px;
}

.product-row-info-text {
    font-size: 11.5px;
    color: #7a808e;
    line-height: 1.5;
}

.product-row-info-text strong {
    font-weight: 600;
    color: #1a1a24;
}

.product-row-info-text strong.orange-amt {
    color: var(--brand-orange);
    font-weight: 700;
}

.product-row-btn-box {
    flex-shrink: 0;
    padding-left: 8px;
}

.btn-buy-row {
    background-color: var(--brand-orange);
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 700;
    border: none;
    border-radius: 20px;
    padding: 6px 20px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-buy-row:hover {
    background-color: var(--brand-orange-hover);
}

.btn-buy-row:disabled {
    background-color: #c7cbd3;
    cursor: not-allowed;
}

/* Team Page */
.team-header-panel {
    background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-orange-hover) 100%);
    padding: 24px 16px;
    color: var(--white);
    text-align: center;
}

.invite-head {
    margin-bottom: 16px;
}

.invite-code-label {
    font-size: 11px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.invite-head h2 {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 2px;
    margin-top: 4px;
}

.invite-link-wrapper {
    background-color: rgba(0, 0, 0, 0.15);
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.invite-link-label {
    font-size: 10px;
    opacity: 0.8;
}

.link-url-box {
    font-size: 11.5px;
    font-weight: 500;
    word-break: break-all;
    margin-top: 2px;
}

.share-actions-row {
    display: flex;
    gap: 12px;
    padding: 16px;
    background-color: var(--white);
    border-bottom: 1px solid var(--light-border);
}

.share-actions-row button {
    flex: 1;
}

.referral-dashboard {
    display: flex;
    background-color: var(--white);
    margin: 16px;
    border-radius: 12px;
    border: 1px solid var(--light-border);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.ref-stat-box {
    flex: 1;
    padding: 16px;
    text-align: center;
    border-right: 1px solid var(--light-border);
}

.ref-stat-box:last-child {
    border-right: none;
}

.ref-stat-box h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 800;
    color: var(--brand-orange);
}

.ref-stat-box span {
    font-size: 11px;
    color: var(--light-text-secondary);
    margin-top: 4px;
    display: block;
}

.commission-breakdown {
    padding: 0 16px;
}

.commission-breakdown h3 {
    font-family: var(--font-display);
    font-size: 13.5px;
    color: var(--light-text-primary);
    margin-bottom: 10px;
    font-weight: 700;
}

.tier-table {
    background-color: var(--white);
    border-radius: 12px;
    border: 1px solid var(--light-border);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.tier-table-header {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr 1fr;
    background-color: #f8fafc;
    padding: 12px;
    font-size: 11px;
    font-weight: 700;
    color: var(--light-text-secondary);
    border-bottom: 1px solid var(--light-border);
}

.tier-table-row {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr 1fr;
    padding: 14px 12px;
    font-size: 12px;
    align-items: center;
    border-bottom: 1px solid var(--light-border);
}

.tier-table-row:last-child {
    border-bottom: none;
}

.tier-badge {
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    color: var(--white);
    width: fit-content;
}

.tier-badge.lvl-1 {
    background-color: #f19020;
}

.tier-badge.lvl-2 {
    background-color: #5d6874;
}

.tier-badge.lvl-3 {
    background-color: #8c9096;
}

/* Mine Profile Page */
.profile-header {
    background-color: var(--brand-orange);
    color: var(--white);
    padding: 24px 16px;
}

.profile-header-main {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.avatar-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--white);
    color: var(--brand-orange);
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 18px;
    box-shadow: var(--shadow-md);
    border: 3px solid rgba(255, 255, 255, 0.7);
}

.user-meta-details h3 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
}

.verified-label {
    font-size: 11px;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 2px 6px;
    border-radius: 4px;
    margin-top: 4px;
    display: inline-block;
}

.mine-actions-grid {
    display: flex;
    justify-content: space-around;
    background-color: var(--white);
    padding: 16px;
    border-bottom: 1px solid var(--light-border);
}

.mine-subaction-btn {
    flex: 1;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--light-text-primary);
    outline: none;
}

.subaction-icon {
    font-size: 24px;
}

.profile-menu-links {
    margin-top: 14px;
    background-color: var(--white);
    border-top: 1px solid var(--light-border);
    border-bottom: 1px solid var(--light-border);
}

.menu-link-item {
    width: 100%;
    background: none;
    border: none;
    border-bottom: 1px solid var(--light-border);
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    outline: none;
    transition: background-color 0.15s;
}

.menu-link-item:hover {
    background-color: #fafbfc;
}

.menu-link-item:last-child {
    border-bottom: none;
}

.left-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-icon {
    font-size: 16px;
    display: inline-block;
    width: 24px;
    text-align: center;
}

.menu-title {
    font-size: 13.5px;
    font-weight: 500;
    color: #2c2f35;
}

.arrow-right {
    font-size: 20px;
    color: #bcc5d0;
    font-weight: 300;
}

.logout-link .menu-title {
    color: #d12a2a;
    font-weight: 600;
}

/* Modals System Overlay */
.modal-overlay {
    position: absolute;
    inset: 48px 0 0 0;
    background-color: rgba(0, 0, 0, 0.55);
    z-index: 120;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    animation: fadeIn 0.2s ease;
}

.modal-overlay.hidden {
    display: none !important;
}

.modal-content-card {
    width: 100%;
    max-height: 80%;
    background-color: var(--white);
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    animation: slideUp 0.3s cubic-bezier(0.1, 0.8, 0.3, 1);
    overflow: hidden;
}

.modal-content-card.hidden {
    display: none !important;
}

.modal-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--light-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-family: var(--font-display);
    font-size: 15.5px;
    font-weight: 800;
    color: var(--light-text-primary);
}

.close-modal-btn {
    background: none;
    border: none;
    font-size: 26px;
    color: var(--light-text-secondary);
    cursor: pointer;
    line-height: 1;
    outline: none;
}

.modal-body {
    padding: 20px;
    overflow-y: auto;
    flex-grow: 1;
}

.modal-tip {
    font-size: 11.5px;
    color: var(--light-text-secondary);
    background-color: #f7fafc;
    padding: 8px 12px;
    border-radius: 6px;
    margin-bottom: 16px;
}

.pb-30 {
    padding-bottom: 30px !important;
}

.mt-15 {
    margin-top: 15px !important;
}

.mb-10 {
    margin-bottom: 10px !important;
}

/* Payment Gateways */
.payment-method-selectors {
    margin-bottom: 16px;
}

.payment-gateway-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1.5px solid var(--light-border);
    padding: 14px;
    border-radius: 12px;
    margin-top: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.payment-gateway-option.active {
    border-color: var(--brand-orange);
    background-color: rgba(255, 106, 0, 0.03);
}

.momo-brand {
    font-size: 12px;
    font-weight: 700;
    color: #1e1e24;
}

.payment-gateway-option span {
    font-size: 11px;
    background-color: #eef2f6;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
    color: var(--light-text-secondary);
}

.payment-gateway-option.active span {
    background-color: var(--brand-orange-dim);
    color: var(--brand-orange);
}

.recharge-instructions {
    font-size: 11.5px;
    color: var(--light-text-secondary);
    background-color: #fff9f5;
    border: 1px solid #ffebe0;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 12px;
}

.merchant-wallet-details {
    margin: 8px 0;
    background-color: rgba(0, 0, 0, 0.03);
    padding: 8px 10px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.merchant-wallet-details div {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.instruction-info {
    font-size: 10.5px;
    color: var(--brand-orange-hover);
    font-weight: 600;
}

/* Wallet connect warnings & states */
.wallet-not-bound-card {
    background-color: #fff8f8;
    border: 1px dashed #fbc5c5;
    padding: 14px;
    border-radius: 10px;
    color: #d12a2a;
    font-size: 12px;
    cursor: pointer;
    font-weight: 500;
    margin-bottom: 16px;
}

.wallet-bound-status-card {
    background-color: #f4fff7;
    border: 1px solid #c2ffd4;
    padding: 12px 14px;
    border-radius: 10px;
    margin-bottom: 16px;
}

.wallet-bound-status-card h4 {
    font-size: 12.5px;
    color: var(--green-receive);
    font-weight: 700;
}

.wallet-bound-status-card p {
    font-size: 11.5px;
    color: var(--light-text-secondary);
    margin-top: 4px;
}

/* Daily Wage view items */
.wage-header-expl {
    position: relative;
    background-color: var(--brand-orange);
    color: #fff;
    padding: 18px 16px;
    border-radius: 12px;
    overflow: hidden;
}

.wage-header-expl p {
    font-size: 12.5px;
    line-height: 1.4;
    width: 70%;
    font-weight: 400;
}

.wage-logo-overlay {
    position: absolute;
    top: 50%;
    right: -10px;
    transform: translateY(-50%) rotate(-10deg);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.12);
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 22px;
    letter-spacing: 1px;
}

.wage-milestone-total {
    text-align: center;
    padding: 18px;
}

.wage-milestone-total h2 {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 900;
    color: var(--brand-orange-hover);
}

.wage-milestone-total span {
    font-size: 11.5px;
    color: var(--light-text-secondary);
}

.salary-claim-wrapper {
    background-color: #f7f9fc;
    border: 1px solid var(--light-border);
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.salary-left {
    display: flex;
    flex-direction: column;
}

.wage-amt {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 900;
    color: #bf1e1e;
}

.salary-left span {
    font-size: 11px;
    color: var(--light-text-secondary);
}

.salary-subtext {
    font-size: 11px;
    color: var(--brand-orange-hover);
    text-align: center;
    margin-top: 10px;
    font-weight: 500;
}

.wage-milestone-list {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.milestone-box {
    background-color: var(--white);
    border: 1.5px solid var(--light-border);
    border-radius: 12px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.milestone-title {
    background-color: var(--brand-orange);
    color: var(--white);
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
}

.milestone-data {
    display: flex;
    justify-content: space-between;
}

.data-cell {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.data-cell span {
    font-size: 10px;
    color: var(--light-text-secondary);
}

.col-count,
.col-reward {
    font-size: 14px;
    font-weight: 700;
    color: #1e1e24;
}

.col-reward {
    color: var(--brand-orange-hover);
}

.text-right {
    text-align: right;
}

.btn-xs.btn-claim-milestone {
    width: 100%;
}

/* Device Manager Modal styles */
.device-status-summary {
    background-color: #fffaf7;
    border: 1px solid #ffe8dd;
    border-radius: 10px;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-bottom: 16px;
}

.device-list-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 300px;
    overflow-y: auto;
}

.empty-list-notif {
    text-align: center;
    font-size: 12px;
    color: var(--light-text-secondary);
    padding: 30px;
    line-height: 1.5;
}

.active-device-node-card {
    border: 1px solid var(--light-border);
    border-radius: 12px;
    padding: 12px;
    background-color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.node-left {
    display: flex;
    gap: 12px;
    align-items: center;
}

.node-mini-logo {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background-color: var(--brand-orange-dim);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 800;
    font-size: 12px;
    color: var(--brand-orange);
}

.node-desc h4 {
    font-size: 13.5px;
    font-weight: 700;
}

.node-desc p {
    font-size: 11px;
    color: var(--light-text-secondary);
    margin-top: 2px;
}

.node-payout-counter {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.live-accum-sum {
    font-size: 13.5px;
    font-weight: 800;
    color: var(--green-receive);
    animation: pulseGlow 1s infinite alternate;
}

.mini-pbar {
    width: 60px;
    height: 4px;
    background-color: #eef2f6;
    border-radius: 2px;
    overflow: hidden;
    margin-left: auto;
}

.mini-pbar-fill {
    height: 100%;
    background-color: var(--green-receive);
    width: 0%;
    transition: width 1s linear;
}

/* History logs list */
.records-history-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 380px;
    overflow-y: auto;
}

.record-row-item {
    border-bottom: 1px solid var(--light-border);
    padding: 12px 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12.5px;
}

.record-row-item:last-child {
    border-bottom: none;
}

.rec-left h5 {
    font-weight: 600;
    color: #1e1e24;
}

.rec-left p {
    font-size: 10px;
    color: var(--light-text-secondary);
    margin-top: 4px;
}

.rec-right {
    text-align: right;
}

.rec-amt {
    font-family: var(--font-display);
    font-weight: 700;
}

.rec-amt.plus {
    color: var(--green-receive);
}

.rec-amt.minus {
    color: #d12a2a;
}

.rec-status {
    font-size: 9.5px;
    font-weight: 700;
    color: #606877;
    margin-top: 2px;
}

.rec-status.completed {
    color: var(--green-receive);
}

.rec-status.pending {
    color: var(--gold-text);
}

.tab-filters {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--light-border);
    padding-bottom: 8px;
}

.filter-tab {
    flex: 1;
    background: none;
    border: none;
    font-size: 12px;
    padding: 6px;
    cursor: pointer;
    font-weight: 600;
    color: var(--light-text-secondary);
    outline: none;
}

.filter-tab.active {
    color: var(--brand-orange);
    background-color: var(--brand-orange-dim);
    border-radius: 6px;
}

/* Simulated customer chat details */
.chat-body-card {
    display: flex;
    flex-direction: column;
    height: 480px;
    padding: 0;
}

.chat-thread-container {
    flex-grow: 1;
    padding: 16px;
    overflow-y: auto;
    background-color: #f7f9fb;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-msg {
    display: flex;
    flex-direction: column;
    max-width: 80%;
}

.chat-msg.bot {
    align-self: flex-start;
}

.chat-msg.user {
    align-self: flex-end;
}

.msg-bubble {
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 12px;
    line-height: 1.4;
}

.chat-msg.bot .msg-bubble {
    background-color: var(--white);
    color: #1e1e24;
    border: 1px solid var(--light-border);
    border-top-left-radius: 4px;
}

.chat-msg.user .msg-bubble {
    background-color: var(--brand-orange);
    color: var(--white);
    border-top-right-radius: 4px;
}

.msg-time {
    font-size: 9px;
    color: var(--light-text-secondary);
    margin-top: 4px;
    padding: 0 4px;
}

.chat-msg.user .msg-time {
    align-self: flex-end;
}

.chat-quick-hints {
    padding: 8px 12px;
    background-color: #fffdec;
    border-top: 1px solid #fae8c6;
    display: flex;
    gap: 6px;
    overflow-x: auto;
    white-space: nowrap;
}

.chat-quick-hints button {
    background-color: var(--white);
    border: 1px solid #ebd0be;
    color: var(--brand-orange-hover);
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 11px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.15s;
    outline: none;
}

.chat-quick-hints button:hover {
    background-color: var(--brand-orange-dim);
}

#chat-input-form {
    display: flex;
    border-top: 1px solid var(--light-border);
    background-color: #fff;
    padding: 8px;
}

#chat-text-input {
    flex-grow: 1;
    padding: 10px 14px;
    border: 1px solid var(--light-border);
    border-radius: 20px;
    font-size: 12.5px;
    outline: none;
}

#chat-text-input:focus {
    border-color: var(--brand-orange);
}

.chat-send-btn {
    background-color: var(--brand-orange);
    color: var(--white);
    border: none;
    padding: 0 16px;
    margin-left: 8px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    outline: none;
}

/* App Download Modal logo */
.app-logo-large {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background-color: var(--brand-orange);
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 38px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 16px auto;
    box-shadow: var(--shadow-md);
}

.app-version {
    font-size: 11px;
    color: var(--light-text-secondary);
    margin-top: 4px;
}

.app-desc {
    font-size: 12px;
    color: var(--light-text-secondary);
    line-height: 1.5;
    margin: 12px 0 20px 0;
}

.app-sec-note {
    font-size: 10px;
    color: var(--green-receive);
    margin-top: 10px;
    font-weight: 500;
}

/* Task cards */
.task-card {
    background-color: var(--white);
    border: 1px solid var(--light-border);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.task-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.task-info h4 {
    font-size: 13px;
    color: #1e1e24;
    font-weight: 700;
}

.task-info p {
    font-size: 11px;
    color: var(--light-text-secondary);
    margin-top: 2px;
}

.task-reward {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 800;
    color: var(--brand-orange);
}

/* Developer Floating Console drawer */
.developer-console-panel {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--charcoal-card);
    border-top: 2px solid var(--brand-orange);
    color: var(--white);
    z-index: 500;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.5);
    border-radius: 16px 16px 0 0;
    max-height: 360px;
    display: flex;
    flex-direction: column;
    transform: translateY(calc(100% - 38px));
    transition: transform 0.3s cubic-bezier(0.1, 0.8, 0.3, 1);
}

.developer-console-panel.open {
    transform: translateY(0);
}

.console-toggle-handle {
    height: 38px;
    background-color: var(--brand-orange);
    color: var(--white);
    border: none;
    width: 100%;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    outline: none;
}

.console-content {
    padding: 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.console-content h4 {
    font-family: var(--font-display);
    font-size: 13.5px;
    font-weight: 700;
    border-bottom: 1px solid var(--charcoal-light);
    padding-bottom: 6px;
}

.console-section {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.console-section h5 {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--brand-orange);
    letter-spacing: 0.5px;
}

.console-desc {
    font-size: 10px;
    color: var(--light-text-secondary);
}

.console-btn-row {
    display: flex;
    gap: 6px;
}

.console-btn-row button {
    flex: 1;
}

/* Toast System Notifications - Centered minimal alert matches screenshot */
.toast-container {
    position: absolute;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
    align-items: center;
    width: auto !important;
    max-width: 85%;
}

.toast {
    background-color: #2b2b36 !important;
    color: #ffffff !important;
    padding: 14px 24px !important;
    border-radius: 4px !important;
    font-size: 13px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25) !important;
    border: none !important;
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    pointer-events: auto;
    animation: zoomInToast 0.2s cubic-bezier(0.1, 0.8, 0.3, 1) !important;
    font-weight: 500;
    min-width: 200px;
    word-break: break-word;
}

@keyframes zoomInToast {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animations */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes scrollTicker {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes hoverGlow {
    0% {
        filter: drop-shadow(0 4px 6px rgba(255, 106, 0, 0.1));
        transform: translateY(0);
    }

    50% {
        filter: drop-shadow(0 15px 12px rgba(255, 106, 0, 0.3));
        transform: translateY(-4px);
    }

    100% {
        filter: drop-shadow(0 4px 6px rgba(255, 106, 0, 0.1));
        transform: translateY(0);
    }
}

@keyframes pulseGlow {
    0% {
        opacity: 0.8;
    }

    100% {
        opacity: 1;
    }
}

.animate-fade-in {
    animation: fadeIn 0.4s ease-out;
}

/* Media Queries for responsive layout downscaling to standard full screen on mobile */
@media (max-width: 768px) {
    .shell-container {
        flex-direction: column;
    }

    .desktop-sidebar {
        display: none;
    }

    .app-mockup-wrapper {
        padding: 0;
        background: none;
    }

    .phone-frame {
        width: 100vw;
        height: 100vh;
        border: none;
        border-radius: 0;
    }

    .phone-status-bar {
        padding-top: 15px;
    }

    .camera-notch {
        display: none;
    }

    .modal-overlay {
        inset: 0 0 0 0;
    }
}

/* Recharge view styles matching screenshots */
.recharge-header-bar {
    background-color: var(--brand-orange);
    color: var(--white);
    height: 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    z-index: 10;
}

.recharge-header-bar button {
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
}

.header-tab-title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
}

.recharge-banner-cover {
    width: 100%;
    height: 140px;
    overflow: hidden;
}

.rec-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rec-sec-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--light-text-primary);
    margin: 16px 0 10px 0;
    text-align: left;
}

.rec-alert-pill {
    background-color: #ff6a00;
    color: var(--white);
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 11.5px;
    line-height: 1.4;
    margin-bottom: 16px;
    text-align: left;
}

.rec-amount-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}

.amt-grid-btn {
    background-color: var(--white);
    border: 1px solid var(--light-border);
    border-radius: 8px;
    padding: 8px 4px;
    font-size: 13px;
    font-weight: 700;
    color: #1a1a24;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.2s, border-color 0.2s;
}

.amt-grid-btn.active {
    border-color: var(--brand-orange);
    background-color: rgba(255, 106, 0, 0.08);
    color: var(--brand-orange);
}

.rec-amount-input-box {
    background-color: var(--white);
    border: 1px solid var(--light-border);
    border-radius: 8px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.currency-pre {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a24;
}

.rec-amount-input-box input {
    border: none;
    outline: none;
    font-size: 15px;
    font-weight: 700;
    color: #1a1a24;
    flex-grow: 1;
    background: transparent;
}

.rec-channel-btn {
    background-color: #ff8c3b;
    color: var(--white);
    border: none;
    border-radius: 6px;
    padding: 12px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    width: 100%;
    cursor: pointer;
}

.rec-action-submit {
    margin-top: 15px;
    padding: 12px;
    border-radius: 24px;
}

.rec-notes-list {
    margin-top: 20px;
    list-style: none;
    padding: 0;
    text-align: left;
}

.rec-notes-list li {
    font-size: 11px;
    color: var(--light-text-secondary);
    line-height: 1.4;
    margin-bottom: 8px;
}

/* Gateway check page (royal purple theme) */
.gateway-white-card {
    background-color: var(--white);
    border-radius: 16px;
    padding: 20px 15px;
    color: #1a1a24;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    text-align: left;
}

.stepper-track {
    position: absolute;
    left: 21px;
    top: 35px;
    bottom: 35px;
    width: 1px;
    border-left: 1.5px dashed #7045b7;
    z-index: 1;
}

.step-segment {
    display: flex;
    gap: 12px;
    position: relative;
    z-index: 2;
}

.step-num-icon {
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    background-color: #fff;
}

.step-desc {
    flex-grow: 1;
}

.step-label {
    font-size: 12px;
    font-weight: 700;
    color: #3e4e6c;
    margin-bottom: 8px;
}

.step-detail-box {
    background-color: #f7f9fc;
    border-radius: 8px;
    padding: 12px;
}

.det-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.det-title {
    font-size: 11px;
    color: #606877;
}

.det-val-amount {
    font-size: 18px;
    font-weight: 800;
    color: #7045b7;
}

.det-val-amount.small {
    font-size: 14px;
}

.det-val-phone {
    font-size: 15px;
    font-weight: 800;
    color: #7045b7;
}

.det-val-name {
    font-size: 12px;
    font-weight: 800;
    color: #7045b7;
}

.gateway-mini-btn {
    border: none;
    border-radius: 12px;
    background: #7045b7;
    color: #fff;
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
}

.gateway-mini-btn.purple-btn {
    background: #7045b7;
}

.step-info-note {
    font-size: 10px;
    color: #8b8b8b;
    margin-top: 6px;
    line-height: 1.3;
}

/* Dialog Overlay Modify Phone box */
.gateway-dialog-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    z-index: 1000;
}

.gateway-dialog-card {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 380px;
    padding: 20px;
    color: #1a1a24;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    text-align: left;
}

.dialog-title {
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.4;
    color: #2c3a57;
    margin-bottom: 12px;
}

.dialog-sub-label {
    font-size: 12px;
    margin-bottom: 15px;
}

.dialog-input-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #ebd0be;
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 12px;
}

.flag-icon {
    font-size: 18px;
    margin-right: 8px;
}

.dialog-input-wrapper input {
    border: none;
    outline: none;
    font-size: 14px;
    font-weight: 700;
    color: #1a1a24;
    flex-grow: 1;
}

.dialog-warn-banner {
    background-color: #ffe6e6;
    color: #cc0000;
    border-radius: 8px;
    padding: 10px;
    font-size: 11px;
    line-height: 1.4;
    margin-bottom: 15px;
}

.dialog-submit-btn {
    width: 100%;
    padding: 10px;
    border-radius: 20px;
    font-weight: 700;
    background: #7045b7 !important;
}

/* Custom buy modal centering and scaling */
#modal-buy-confirm.modal-content-card {
    width: 90%;
    max-width: 380px;
    margin: auto !important;
    border-radius: 20px !important;
    animation: zoomIn 0.25s cubic-bezier(0.1, 0.8, 0.3, 1) !important;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.85);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Custom Header Bar for records pages */
.sub-page-header-bar {
    background-color: var(--brand-orange);
    color: var(--white);
    height: 48px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    justify-content: space-between;
    width: 100%;
}

.sub-page-header-bar button {
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
}

.sub-page-header-title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
}