/* Reset and Variables */
:root {
    --bg-main: #191a1d;
    --bg-card: #222327;
    --bg-header: #191a1d;
    --bg-nav: #1c1d21;
    --text-primary: #ffffff;
    --text-secondary: #8e929b;
    --text-muted: #5e626a;
    --color-green: #03c087;
    --color-red: #f23657;
    --color-gold: #e2ab5b;
    --color-peach: #fedcb3;
    --color-peach-dark: #4e3518;
    --border-color: #26272b;
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-mono: 'Space Grotesk', monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: #0c0d0e;
    color: var(--text-primary);
    font-family: var(--font-sans);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Mobile Simulation Container */
.mobile-container {
    width: 100%;
    max-width: 480px;
    height: 100vh;
    background-color: var(--bg-main);
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
}

@media (min-width: 481px) {
    .mobile-container {
        height: 850px;
        border-radius: 28px;
        overflow: hidden;
    }
}

/* Header Styles */
.app-header {
    height: 54px;
    background-color: var(--bg-header);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    z-index: 10;
}

.profile-btn {
    color: var(--text-secondary);
    font-size: 20px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.profile-btn:hover {
    color: var(--text-primary);
}

.logo-text {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--text-primary);
}

.logo-accent {
    color: var(--color-green);
}

.language-selector {
    display: flex;
    align-items: center;
}

.flag-icon {
    width: 18px;
    height: auto;
    border-radius: 2px;
}

/* Main Content Area */
.app-content {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 70px;
    scrollbar-width: none;
}

.app-content::-webkit-scrollbar {
    display: none;
}

/* Bottom Navigation Bar */
.bottom-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background-color: var(--bg-nav);
    display: flex;
    align-items: center;
    justify-content: space-around;
    border-top: 1px solid var(--border-color);
    padding-bottom: env(safe-area-inset-bottom);
    z-index: 10;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 10px;
    font-weight: 500;
    transition: all 0.2s ease;
    flex: 1;
    height: 100%;
}

.nav-icon-wrapper {
    font-size: 17px;
    margin-bottom: 3px;
    transition: transform 0.2s ease;
}

.nav-item.active {
    color: var(--color-gold);
}

.nav-item:hover .nav-icon-wrapper {
    transform: translateY(-1px);
}

/* Auth Pages Styling */
.auth-container {
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.auth-logo-section {
    text-align: center;
    margin-bottom: 20px;
}

.logo-text-large {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--text-primary);
}

.logo-accent-large {
    color: var(--color-green);
}

.auth-tabs {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 24px;
}

.auth-tab {
    flex: 1;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 12px 0;
    cursor: pointer;
    position: relative;
    transition: color 0.2s ease;
}

.auth-tab.active {
    color: var(--color-gold);
}

.auth-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 10%;
    width: 80%;
    height: 2px;
    background-color: var(--color-gold);
    border-radius: 2px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
}

.auth-input-wrapper {
    display: flex;
    align-items: center;
    background-color: #24252a;
    border: 1px solid rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    padding: 0 14px;
    height: 48px;
}

.auth-input-wrapper input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 14px;
    width: 100%;
    height: 100%;
}

.auth-input-wrapper input::placeholder {
    color: #55575e;
}

.country-prefix {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    padding-right: 8px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    margin-right: 8px;
}

.verification-wrapper {
    display: flex;
    gap: 12px;
    align-items: center;
}

.get-code-btn {
    background-color: var(--color-peach);
    color: var(--color-peach-dark);
    border: none;
    border-radius: 8px;
    height: 48px;
    padding: 0 16px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s ease;
    white-space: nowrap;
}

.get-code-btn:hover, .auth-submit-btn:hover {
    opacity: 0.9;
}

.toggle-eye {
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 14px;
    opacity: 0.6;
}

.auth-submit-btn {
    background-color: var(--color-peach);
    color: var(--color-peach-dark);
    border: none;
    border-radius: 8px;
    height: 48px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 12px;
    transition: opacity 0.2s ease;
}

.auth-alert {
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.auth-alert.error {
    background-color: rgba(242, 54, 87, 0.1);
    color: var(--color-red);
    border: 1px solid rgba(242, 54, 87, 0.2);
}

.auth-alert.success {
    background-color: rgba(3, 192, 135, 0.1);
    color: var(--color-green);
    border: 1px solid rgba(3, 192, 135, 0.2);
}

.auth-footer {
    margin-top: 24px;
    text-align: center;
    font-size: 13px;
    color: var(--text-secondary);
}

.auth-footer-split {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-secondary);
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
}

.footer-link-highlight {
    color: var(--color-gold);
    text-decoration: none;
    font-weight: 600;
}

/* Trade View Layout */
.trade-page-wrapper {
    padding: 16px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.trade-top-tabs {
    display: flex;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 4px;
    margin-bottom: 12px;
    justify-content: space-around;
}

.trade-top-tab {
    flex: 1;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 6px 0;
    cursor: pointer;
    border-radius: 16px;
    transition: all 0.2s ease;
}

.trade-top-tab.active {
    background-color: var(--color-peach);
    color: var(--color-peach-dark) !important;
}

.trade-pair-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.pair-bar-left {
    display: flex;
    align-items: center;
}

.pair-bar-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #f7931a;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    margin-right: 8px;
}

.pair-bar-name {
    font-size: 15px;
    font-weight: 700;
    margin-right: 8px;
}

.pair-bar-change {
    font-size: 11px;
    font-weight: 600;
}

.trade-form-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 16px;
}

.trade-inputs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.trade-type-tabs {
    display: flex;
    border-radius: 6px;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.04);
}

.trade-type-btn {
    flex: 1;
    text-align: center;
    padding: 8px 0;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    background: transparent;
    color: var(--text-secondary);
}

.trade-type-btn.buy.active {
    background-color: var(--color-green);
    color: white;
}

.trade-type-btn.sell.active {
    background-color: var(--color-red);
    color: white;
}

.trade-dropdown-selector {
    background-color: #24252a;
    border-radius: 6px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    font-size: 12px;
    color: var(--text-primary);
    cursor: pointer;
}

.trade-optimal-placeholder {
    background-color: #24252a;
    border-radius: 6px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #55575e;
    text-align: center;
}

.trade-quantity-input-wrapper {
    background-color: #24252a;
    border-radius: 6px;
    height: 38px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    position: relative;
}

.qty-label {
    font-size: 12px;
    color: #55575e;
}

.qty-selectors {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1px;
    margin-left: auto;
    margin-right: 12px;
    color: #55575e;
    font-size: 10px;
    cursor: pointer;
}

.qty-symbol {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
}

.trade-available-row {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #6a6c72;
    padding: 4px 0 2px 0;
}

.trade-pct-row {
    display: flex;
    justify-content: space-between;
    gap: 4px;
}

.pct-slider-btn {
    flex: 1;
    background-color: #24252a;
    color: var(--text-primary);
    border-radius: 4px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
}

.trade-tx-amount-box {
    background-color: #24252a;
    border-radius: 6px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #55575e;
    text-align: center;
    margin: 4px 0;
}

.trade-btn {
    width: 100%;
    height: 40px;
    border-radius: 6px;
    border: none;
    font-weight: 700;
    color: white;
    font-size: 13px;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.trade-btn.buy-action {
    background-color: var(--color-green);
}

.trade-btn.sell-action {
    background-color: var(--color-red);
}

/* Order Book details */
.order-book {
    display: flex;
    flex-direction: column;
}

.ob-row {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    font-family: var(--font-mono);
    padding: 3px 0;
}

.order-book-center-price-row {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 8px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    margin: 6px 0;
}

.order-book-layout-icons {
    display: flex;
    justify-content: space-between;
    gap: 6px;
    margin-top: 10px;
}

.ob-layout-icon-btn {
    flex: 1;
    height: 24px;
    border-radius: 4px;
    background-color: #24252a;
    display: flex;
    flex-direction: column;
    padding: 4px 6px;
    gap: 3px;
    cursor: pointer;
    border: 1px solid transparent;
}

.ob-layout-icon-btn.active {
    border-color: rgba(255, 255, 255, 0.1);
}

.block-green {
    background-color: var(--color-green);
    height: 6px;
    border-radius: 1px;
    opacity: 0.85;
}

.block-red {
    background-color: var(--color-red);
    height: 6px;
    border-radius: 1px;
    opacity: 0.85;
}

/* Position summaries */
.positions-section {
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    padding-top: 12px;
}

.positions-tabs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.positions-tabs {
    display: flex;
    gap: 16px;
}

.pos-tab {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    position: relative;
    padding-bottom: 6px;
}

.pos-tab.active {
    color: var(--text-primary);
}

.pos-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--color-gold);
    border-radius: 1px;
}

.positions-content {
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--text-muted);
}

/* Futures view statistics layout */
.futures-stats-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    margin-bottom: 8px;
}

.futures-price-block {
    display: flex;
    flex-direction: column;
}

.futures-price-large {
    font-family: var(--font-mono);
    font-size: 26px;
    font-weight: 800;
    line-height: 1.2;
}

.futures-change-small {
    font-size: 12px;
    font-weight: 700;
    margin-top: 4px;
}

.futures-meta-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.meta-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: 10px;
}

.meta-label {
    color: var(--text-muted);
}

.meta-val {
    font-family: var(--font-mono);
    font-weight: 600;
    color: var(--text-primary);
}

.chart-metadata-bar {
    background-color: #202125;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 10px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
}

.interval-select {
    font-weight: 700;
    color: var(--text-primary);
    margin-right: 12px;
    cursor: pointer;
}

.chart-stat {
    margin-left: 10px;
}

.futures-chart-container {
    background-color: #191a1d;
    border-radius: 8px;
    height: 200px;
    width: 100%;
    margin-bottom: 16px;
    overflow: hidden;
    position: relative;
}

.futures-action-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.fut-btn {
    flex: 1;
    height: 40px;
    border-radius: 6px;
    border: none;
    font-size: 14px;
    font-weight: 700;
    color: white;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.fut-btn.buy-long {
    background-color: var(--color-green);
}

.fut-btn.sell-short {
    background-color: var(--color-red);
}

.fut-btn:hover {
    opacity: 0.9;
}

/* Margin specific styles */
.margin-mode-header {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 2px;
}

.margin-checkbox-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: var(--text-secondary);
    margin: 4px 0;
}

.margin-checkbox-row input {
    accent-color: var(--color-gold);
    cursor: pointer;
}

.margin-metadata-section {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 6px 0;
}

.margin-meta-row {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #6a6c72;
}

/* Assets Page View Layout */
.assets-page-container {
    padding: 16px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.assets-title-header {
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.assets-balance-card-gradient {
    background: linear-gradient(135deg, #f05e7e 0%, #eb3b5a 100%);
    border-radius: 20px;
    height: 130px;
    flex-shrink: 0; /* Prevent card from collapsing under parent flex constraints */
    flex: 0 0 130px; /* Lock exact height dimensions */
    padding: 20px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 25px rgba(235, 59, 90, 0.25);
}

.balance-card-label-row {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    z-index: 2;
}

.balance-card-main-val {
    font-family: var(--font-mono);
    font-size: 34px;
    font-weight: 800;
    color: white;
    margin-top: 6px;
    z-index: 2;
}

.balance-card-sub-val {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 2px;
    z-index: 2;
}

.bitcoin-watermark-icon {
    position: absolute;
    right: -10px;
    bottom: -25px;
    font-size: 130px;
    color: rgba(255, 255, 255, 0.05);
    font-weight: 800;
    user-select: none;
    z-index: 1;
}

.assets-action-panel {
    display: flex;
    justify-content: space-around;
    padding: 16px 0;
    margin-top: 8px;
}

.action-panel-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-primary);
    flex: 1;
}

.action-panel-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #ffd89b;
    margin-bottom: 6px;
    transition: background-color 0.2s ease;
}

.action-panel-btn:hover .action-panel-icon-wrap {
    background-color: rgba(255, 255, 255, 0.07);
}

.action-panel-btn span {
    font-size: 12px;
    color: var(--text-secondary);
}

.assets-account-tabs {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    padding-bottom: 6px;
}

.account-tab {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    padding-bottom: 6px;
    position: relative;
}

.account-tab.active {
    color: #ffd89b;
}

.account-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 20%;
    width: 60%;
    height: 2px;
    background-color: #ffd89b;
}

.assets-conversion-card {
    background: linear-gradient(135deg, #ffedd5 0%, #ffd89b 100%);
    border-radius: 16px;
    padding: 16px 20px;
    color: #4e3518;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 16px;
}

.conversion-label {
    font-size: 11px;
    font-weight: 600;
    opacity: 0.8;
}

.conversion-val {
    font-family: var(--font-mono);
    font-size: 22px;
    font-weight: 800;
}

.token-assets-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.token-asset-card {
    background-color: #24252a;
    border-radius: 14px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.token-asset-card:hover {
    border-color: rgba(255,255,255,0.03);
}

.token-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.token-card-icon-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.token-card-img-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 12px;
    color: white;
}

.token-card-symbol {
    font-size: 13px;
    font-weight: 700;
}

.token-card-chevron {
    font-size: 11px;
    color: var(--text-muted);
}

.token-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border-top: 1px solid rgba(255,255,255,0.015);
    padding-top: 10px;
}

.grid-col {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.col-label {
    font-size: 10px;
    color: var(--text-muted);
}

.col-val {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    color: var(--text-primary);
}

/* Details Record Subpage layout styling matching user screenshot */
.details-record-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.details-record-header {
    height: 54px;
    background-color: var(--bg-header);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.header-back-btn {
    color: var(--text-primary);
    font-size: 16px;
    text-decoration: none;
}

.header-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
}

.details-meta-summary {
    background-color: #24252a;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-bottom: 8px solid #131417; /* dark partition divider bar */
}

.meta-title-row {
    display: flex;
    align-items: center;
}

.meta-coin-segment {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-primary);
}

.meta-columns-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border-top: 1px solid rgba(255, 255, 255, 0.015);
    padding-top: 12px;
}

.transaction-history-table {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.history-table-header {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    padding-bottom: 8px;
}

.history-content-empty {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--text-muted);
}

/* Auth modal popup */
.auth-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.65);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    padding: 30px;
}

.auth-modal {
    background-color: #2b2c32;
    border-radius: 16px;
    width: 100%;
    max-width: 320px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.modal-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    text-align: center;
}

.modal-body-text {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    text-align: center;
    line-height: 1.5;
}

.modal-confirm-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 44px;
    background-color: var(--color-peach);
    color: var(--color-peach-dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    border-radius: 22px;
    transition: opacity 0.2s ease;
}

.modal-confirm-btn:hover {
    opacity: 0.95;
}

/* Home / Market / General */
.banner-carousel {
    position: relative;
    margin: 16px;
    height: 140px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.banner-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.banner-slide {
    display: none;
    width: 100%;
    height: 100%;
    padding: 20px;
    align-items: center;
    justify-content: space-between;
    transition: opacity 0.4s ease-in-out;
}

.banner-slide.active {
    display: flex;
}

.banner-text {
    flex: 1;
}

.banner-text h3 {
    font-size: 17px;
    font-weight: 800;
    line-height: 1.35;
    color: #ffffff;
    margin-bottom: 6px;
}

.banner-text p {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 500;
}

.banner-image {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-dots {
    position: absolute;
    bottom: 12px;
    left: 20px;
    display: flex;
    gap: 6px;
    z-index: 5;
}

.banner-dots .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.25s ease;
}

.banner-dots .dot.active {
    background-color: #ffffff;
    width: 16px;
    border-radius: 3px;
}

.announcement-ticker {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #202125;
    border-radius: 8px;
    margin: 0 16px 16px 16px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.015);
}

.announcement-ticker i {
    color: var(--color-gold);
    font-size: 13px;
}

.ticker-wrap {
    overflow: hidden;
    flex: 1;
}

.ticker-content {
    display: inline-block;
    white-space: nowrap;
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 500;
    animation: homeTicker 25s linear infinite;
    padding-left: 100%;
}

@keyframes homeTicker {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

.actions-panel {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin: 0 16px 16px 16px;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.action-btn:hover {
    transform: translateY(-2px);
}

.action-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #24252a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #ffd89b; /* gold icon color */
    margin-bottom: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.action-btn span {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 600;
}

.top-tickers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 0 16px 16px 16px;
}

.ticker-card {
    background-color: #24252a;
    border-radius: 12px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border: 1px solid rgba(255, 255, 255, 0.01);
}

.ticker-card-title {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
}

.ticker-card-price {
    font-size: 16px;
    font-weight: 750;
    font-family: var(--font-mono);
}

.ticker-card-change {
    font-size: 11px;
    font-weight: 700;
}

.market-section-header {
    border-top: 8px solid #131417; /* dark partition segment */
    padding: 16px 16px 10px 16px;
}

.market-tabs {
    display: flex;
    gap: 16px;
}

.market-tab {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-secondary);
    cursor: pointer;
    position: relative;
    padding-bottom: 6px;
}

.market-tab.active {
    color: var(--color-gold);
}

.market-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 10%;
    width: 80%;
    height: 2px;
    background-color: var(--color-gold);
    border-radius: 2px;
}

.search-section { padding: 16px 16px 12px 16px; }
.search-input-wrapper { position: relative; display: flex; align-items: center; background-color: #2b2c30; border-radius: 20px; padding: 0 14px; height: 38px; }
.search-icon { color: #6a6c72; font-size: 14px; margin-right: 8px; }
.search-input-wrapper input { background: transparent; border: none; outline: none; color: var(--text-primary); font-size: 13px; width: 100%; }
.search-input-wrapper input::placeholder { color: #6a6c72; }
.crypto-tab-header { padding: 0 16px 6px 16px; display: flex; }
.crypto-tab-title { font-size: 14px; font-weight: 700; color: var(--text-secondary); cursor: pointer; position: relative; padding-bottom: 6px; }
.crypto-tab-title.active { color: var(--color-gold); }
.crypto-tab-title.active::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background-color: var(--color-gold); }
.market-table-header { display: grid; grid-template-columns: 1.5fr 1fr 1fr; padding: 8px 16px; font-size: 11px; color: #6a6c72; border-bottom: 1px solid rgba(255, 255, 255, 0.02); font-weight: 600; }
.hdr-left { text-align: left; }
.hdr-center { text-align: right; padding-right: 15px; }
.hdr-right { text-align: right; }
.coin-list { padding: 0; }
.coin-row { display: grid; grid-template-columns: 1.5fr 1fr 1fr; align-items: center; padding: 14px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.015); text-decoration: none; color: inherit; transition: background-color 0.2s ease, filter 0.2s ease; }
.coin-row:hover { background-color: rgba(255, 255, 255, 0.01); }
.coin-info { display: flex; align-items: center; gap: 10px; }
.coin-icon { width: 26px; height: 26px; border-radius: 50%; background-color: #f0b90b; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 8px; color: #121314; }
.icon-btc { background: #f7931a; color: #fff; }
.icon-ltc { background: #345d9d; color: #fff; }
.icon-eth { background: #627eea; color: #fff; }
.icon-etc { background: #32c972; color: #fff; }
.icon-sol { background: #14f195; color: #000; }
.coin-details { display: flex; flex-direction: column; }
.coin-symbol { font-weight: 700; font-size: 13px; }
.coin-symbol-suffix { font-size: 10px; color: #6a6c72; }
.coin-vol { font-size: 10px; color: #6a6c72; margin-top: 1px; }
.coin-price-block { display: flex; flex-direction: column; text-align: right; padding-right: 15px; }
.coin-price { font-family: var(--font-mono); font-weight: 700; font-size: 13px; transition: color 0.15s ease; }
.coin-converted-price { font-size: 10px; color: #6a6c72; margin-top: 1px; }
.coin-market-data-badge { display: flex; justify-content: flex-end; }
.coin-change-badge { width: 72px; padding: 6px 0; border-radius: 4px; text-align: center; font-size: 11px; font-weight: 700; color: #fff; transition: background-color 0.25s ease; }
.up { color: var(--color-green) !important; }
.down { color: var(--color-red) !important; }
.bg-up { background-color: var(--color-green); }
.bg-down { background-color: var(--color-red); }
@keyframes flashUpEffect { 0% { background-color: rgba(3, 192, 135, 0.25); } 100% { background-color: transparent; } }
@keyframes flashDownEffect { 0% { background-color: rgba(242, 54, 87, 0.25); } 100% { background-color: transparent; } }
.flash-up { animation: flashUpEffect 0.6s ease-out; }
.flash-down { animation: flashDownEffect 0.6s ease-out; }

/* Auth forms footer spacing */
.auth-footer { margin-top: 24px; text-align: center; font-size: 13px; color: var(--text-secondary); }
.auth-footer-split { margin-top: 20px; display: flex; justify-content: space-between; font-size: 13px; color: var(--text-secondary); }
.footer-link { color: var(--text-secondary); text-decoration: none; }
.footer-link-highlight { color: var(--color-gold); text-decoration: none; font-weight: 600; }

/* Transfer page styles matching user screenshot layout */
.transfer-page-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: var(--bg-main);
}

.transfer-header {
    height: 54px;
    background-color: var(--bg-header);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.transfer-illustration-card {
    background-color: #202125;
    border-radius: 16px;
    margin: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.illustration-img-wrapper {
    width: 100%;
    height: 140px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 12px;
    background-color: #2b2c32; /* Soft wrapper background matching theme */
}

.illustration-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.card-available-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 4px;
}

.card-available-row .lbl {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.card-available-row .val {
    font-size: 14px;
    color: #4fa3f7; /* vivid blue in screenshot */
    font-weight: 700;
    font-family: var(--font-mono);
}

.transfer-body {
    padding: 0 16px 16px 16px;
    display: flex;
    flex-direction: column;
}

.transfer-body .section-title {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: capitalize;
}

.transfer-select-box {
    background-color: #24252a;
    border: 1px solid #2d2e33;
    border-radius: 8px;
    height: 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
}

.transfer-select-box .box-label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.transfer-select-box .select-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.transfer-select-box select {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 700;
    padding-right: 20px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.transfer-select-box select option {
    background-color: #24252a;
    color: var(--text-primary);
}

.transfer-select-box .dropdown-arrow {
    position: absolute;
    right: 0;
    font-size: 10px;
    color: var(--text-muted);
    pointer-events: none;
}

.swap-direction-divider {
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 4px 0;
}

.swap-direction-divider .divider-line {
    width: 100%;
    border-top: 1px dashed #2d2e33;
}

.swap-circle-btn {
    position: absolute;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    color: #4fa3f7;
    font-size: 13px;
    transition: transform 0.2s ease;
    z-index: 5;
}

.swap-circle-btn:active {
    transform: scale(0.9) rotate(180deg);
}

.transfer-qty-input-box {
    background-color: #24252a;
    border: 1px solid #2d2e33;
    border-radius: 8px;
    padding: 10px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 12px;
}

.transfer-qty-input-box .box-label {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
}

.transfer-qty-input-box .input-inner-wrapper {
    display: flex;
    align-items: center;
}

.transfer-qty-input-box input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 700;
    font-family: var(--font-mono);
}

.transfer-qty-input-box input::placeholder {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 500;
}

.coin-selector-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-right: 12px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    margin-right: 12px;
    color: var(--text-primary);
}

.coin-selector-badge .select-icon {
    font-size: 11px;
    color: var(--text-muted);
}

.coin-selector-badge .coin-name {
    font-size: 12px;
    font-weight: 700;
}

.transfer-qty-input-box .all-btn {
    background-color: transparent;
    border: none;
    color: var(--color-gold);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.transfer-submit-btn {
    width: 100%;
    height: 42px;
    border-radius: 8px;
    background-color: #ffd89b; /* light orange gold */
    color: #4e3518;
    font-weight: 700;
    font-size: 13px;
    border: none;
    cursor: pointer;
    margin-top: 18px;
    transition: opacity 0.2s ease;
}

.transfer-submit-btn.disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.transfer-history-section {
    border-top: 8px solid #131417;
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.transfer-history-section .history-title {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 10px;
}

.transfer-history-section .history-table-header {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    padding-bottom: 8px;
}

.history-list-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.history-empty-state {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--text-muted);
    padding-top: 20px;
}

.transfer-record-row {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.015);
    font-size: 11px;
}

.transfer-record-row .time-cell {
    color: var(--text-secondary);
}

.transfer-record-row .qty-cell {
    text-align: center;
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--text-primary);
}

.transfer-record-row .record-cell {
    text-align: right;
    color: var(--color-gold);
    font-weight: 600;
}

/* Withdraw page styles matching user screenshot layout */
.withdraw-page-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: var(--bg-main);
}

.withdraw-header {
    height: 54px;
    background-color: var(--bg-header);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.header-history-btn {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.header-history-btn:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.withdraw-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
}

.withdraw-form-group {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
}

.currency-selector-row {
    background-color: #24252a;
    border: 1px solid #2d2e33;
    border-radius: 8px;
    height: 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.currency-selector-row:hover {
    background-color: #2b2c32;
}

.currency-selector-row .lbl {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.coin-val-select {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 700;
}

.coin-val-select .arrow-chevron {
    font-size: 11px;
    color: var(--text-muted);
}

.available-balance-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 4px 0 4px;
}

.available-balance-row .lbl {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
}

.available-balance-row .val {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 600;
    font-family: var(--font-mono);
}

.withdraw-form-group .section-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 8px;
}

.chain-chips-container {
    display: flex;
    gap: 10px;
}

.chain-chip {
    padding: 0 16px;
    height: 34px;
    border-radius: 6px;
    border: none;
    background-color: #24252a;
    color: var(--text-primary);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chain-chip.active {
    background-color: #ffd89b; /* active peach/gold chip color */
    color: #4e3518;
}

.address-input-wrapper {
    background-color: #24252a;
    border: 1px solid #2d2e33;
    border-radius: 8px;
    height: 48px;
    display: flex;
    align-items: center;
    padding: 0 16px;
}

.address-input-wrapper input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 13px;
}

.address-input-wrapper input::placeholder {
    color: var(--text-muted);
    font-size: 12px;
}

.amount-input-box {
    background-color: #24252a;
    border: 1px solid #2d2e33;
    border-radius: 8px;
    height: 48px;
    display: flex;
    align-items: center;
    padding: 0 16px;
}

.amount-input-box .input-inner-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
}

.amount-input-box input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 700;
    font-family: var(--font-mono);
}

.amount-input-box input::placeholder {
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 500;
}

.amount-currency-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-primary);
    padding-right: 12px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    margin-right: 12px;
}

.amount-input-box .all-btn {
    background-color: transparent;
    border: none;
    color: var(--color-gold);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.withdraw-submit-btn {
    width: 100%;
    height: 42px;
    border-radius: 8px;
    background-color: #ffd89b;
    color: #4e3518;
    font-weight: 700;
    font-size: 13px;
    border: none;
    cursor: pointer;
    margin-top: 18px;
    transition: opacity 0.2s ease;
}

.withdraw-submit-btn.disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

/* Coin Select Modal Overlay */
.coin-select-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.65);
    z-index: 100;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.coin-select-modal {
    background-color: #202125;
    border-radius: 16px 16px 0 0;
    padding: 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 -5px 25px rgba(0,0,0,0.5);
    animation: slideUpModal 0.25s ease-out;
}

@keyframes slideUpModal {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.coin-select-modal .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.02);
    padding-bottom: 10px;
}

.coin-select-modal .modal-header .title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}

.coin-select-modal .modal-header .close-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 16px;
    cursor: pointer;
}

.coin-options-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.coin-option-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.coin-option-row:hover {
    background-color: rgba(255,255,255,0.02);
}

.coin-option-row .icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    color: white;
}

.coin-option-row .name {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
}

/* Deposit page styles matching user screenshot layout */
.deposit-page-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: var(--bg-main);
}

.deposit-header {
    height: 54px;
    background-color: var(--bg-header);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.deposit-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
}

.deposit-form-group {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
}

.deposit-form-group .section-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 8px;
}

.deposit-qr-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 8px 0 20px 0;
}

.qr-border-wrap {
    padding: 10px;
    border-radius: 18px;
    background-color: #ffffff;
    border: 3px solid #ffd89b; /* Gold QR code frame matching screenshot */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.deposit-qr-img {
    width: 155px;
    height: 155px;
    display: block;
}

.address-copy-row {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.address-text-box {
    flex: 1;
    background-color: #24252a;
    border: 1px solid #2d2e33;
    border-radius: 8px;
    padding: 12px 14px;
    color: var(--text-primary);
    font-size: 11px;
    font-family: var(--font-mono);
    word-break: break-all;
    line-height: 1.45;
}

.address-copy-row .copy-btn {
    padding: 0 16px;
    background-color: #ffd89b;
    color: #4e3518;
    font-weight: 700;
    font-size: 13px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.address-copy-row .copy-btn:hover {
    opacity: 0.9;
}

.amount-input-wrapper {
    background-color: #24252a;
    border: 1px solid #2d2e33;
    border-radius: 8px;
    height: 48px;
    display: flex;
    align-items: center;
    padding: 0 16px;
}

.amount-input-wrapper input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 13px;
}

.amount-input-wrapper input::placeholder {
    color: var(--text-muted);
    font-size: 12px;
}

.upload-receipt-box {
    background-color: #24252a;
    border: 1.5px dashed #2d2e33;
    border-radius: 8px;
    height: 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.upload-receipt-box:hover {
    border-color: var(--color-gold);
}

.upload-placeholder-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    gap: 6px;
}

.upload-placeholder-content .camera-icon {
    font-size: 24px;
    color: var(--text-muted);
}

.upload-preview-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.upload-preview-content img {
    max-height: 80px;
    object-fit: contain;
    border-radius: 4px;
}

.upload-preview-content .filename-lbl {
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 4px;
    max-width: 90%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.deposit-submit-btn {
    width: 100%;
    height: 42px;
    border-radius: 8px;
    background-color: #ffd89b;
    color: #4e3518;
    font-weight: 700;
    font-size: 13px;
    border: none;
    cursor: pointer;
    margin-top: 18px;
    transition: opacity 0.2s ease;
}

.deposit-submit-btn.disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.deposit-tips-container {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 20px;
}

.deposit-tips-container p {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.5;
    text-align: left;
}

/* Premium App Preloader & Smooth Page Transitions */
#app-preloader {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg-main);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

#app-preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.preloader-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(226, 171, 91, 0.1);
    border-top: 3px solid var(--color-gold);
    border-radius: 50%;
    animation: preloaderSpin 0.8s linear infinite;
}

@keyframes preloaderSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.app-main-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    transition: opacity 0.3s ease-in-out;
}

.page-fade-in {
    opacity: 0;
}

.page-fade-in.active {
    opacity: 1;
}

.page-fade-out {
    opacity: 0 !important;
}


