/* Pride Infra Dream - Custom Palette & Modern UI Design System */
:root {
    --primary-navy: #082956;
    --primary-navy-dark: #012553;
    --accent-orange: #F89F34;
    --success-green: #1D9866;
    --secondary-teal: #7ABDA3;
    --warm-peach: #FACA8E;
    --slate-gray: #818DA8;
    --bg-light: #F8F9F8;
    --bg-cream: #EEEDE9;
    --bg-white: #FFFFFF;
    --border-light: #E8EBF0;
    --border-focus: #F89F34;
}

body {
    background-color: var(--bg-light);
    color: #2D3748;
}

/* Auth Page Layout */
.auth-page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding: 20px 16px 40px;
    background: radial-gradient(circle at 50% 0%, rgba(250, 202, 142, 0.35) 0%, rgba(248, 249, 248, 0.9) 65%), #F8F9F8;
}

.auth-container {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
}

/* Header & Logo */
.auth-header-block {
    text-align: center;
    margin-bottom: 24px;
    padding-top: 10px;
}

.auth-logo-wrap {
    display: inline-block;
    padding: 8px;
    margin-bottom: 12px;
}

.auth-logo {
    max-height: 80px;
    max-width: 180px;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(8, 41, 86, 0.08));
}

.auth-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 6px;
    letter-spacing: -0.3px;
}

.auth-subtitle {
    font-size: 13.5px;
    color: var(--slate-gray);
    font-weight: 400;
    margin-bottom: 0;
}

/* Modern Pill Input Groups */
.auth-form-card {
    background: transparent;
    border: none;
    box-shadow: none;
}

.custom-input-group {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    background: var(--bg-white);
    border: 1.5px solid var(--border-light);
    border-radius: 14px;
    transition: all 0.25s ease-in-out;
    box-shadow: 0 2px 8px rgba(8, 41, 86, 0.03);
}

.custom-input-group:focus-within {
    border-color: var(--accent-orange);
    box-shadow: 0 4px 14px rgba(248, 159, 52, 0.18);
    background: #FFFFFF;
}

.custom-input-group .input-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    padding-left: 14px;
    font-size: 20px;
    color: var(--slate-gray);
    transition: color 0.2s ease;
    flex-shrink: 0;
}

.custom-input-group:focus-within .input-icon {
    color: var(--accent-orange);
}

.custom-input-group .custom-form-control {
    width: 100%;
    height: 52px;
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
    color: var(--primary-navy-dark);
    padding: 0 14px 0 6px;
    font-weight: 500;
}

.custom-input-group .custom-form-control::placeholder {
    color: #A0AEC0;
    font-weight: 400;
}

.custom-input-group .toggle-password {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 14px;
    font-size: 20px;
    color: var(--slate-gray);
    cursor: pointer;
    user-select: none;
    transition: color 0.2s ease;
}

.custom-input-group .toggle-password:hover {
    color: var(--primary-navy);
}

/* Custom Checkbox */
.custom-checkbox-wrapper {
    display: flex;
    align-items: center;
    padding: 4px 2px;
}

.custom-checkbox-wrapper label {
    font-size: 13px;
    color: var(--slate-gray);
    cursor: pointer;
    display: flex;
    align-items: center;
    user-select: none;
    margin: 0;
}

.custom-checkbox-wrapper input[type="checkbox"] {
    width: 17px;
    height: 17px;
    accent-color: var(--primary-navy);
    cursor: pointer;
    border-radius: 4px;
}

.custom-checkbox-wrapper .terms-link {
    color: var(--accent-orange);
    font-weight: 600;
    text-decoration: none;
    margin-left: 4px;
}

.custom-checkbox-wrapper .terms-link:hover {
    text-decoration: underline;
}

/* Primary Auth Action Button */
.btn-custom-auth {
    width: 100%;
    height: 52px;
    background: var(--primary-navy);
    color: #FFFFFF;
    border: none;
    border-radius: 14px;
    font-size: 14.5px;
    font-weight: 600;
    letter-spacing: 0.8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 18px rgba(8, 41, 86, 0.25);
    margin-top: 10px;
}

.btn-custom-auth:hover {
    background: var(--primary-navy-dark);
    box-shadow: 0 8px 22px rgba(8, 41, 86, 0.35);
    transform: translateY(-1px);
    color: #FFFFFF;
}

.btn-custom-auth:active {
    transform: translateY(1px);
    box-shadow: 0 3px 10px rgba(8, 41, 86, 0.2);
}

.btn-custom-auth ion-icon {
    font-size: 18px;
    transition: transform 0.2s ease;
}

.btn-custom-auth:hover ion-icon {
    transform: translateX(3px);
}

/* Auth Footer */
.auth-footer {
    text-align: center;
    margin-top: 24px;
}

.auth-footer-text {
    font-size: 13.5px;
    color: var(--slate-gray);
    margin: 0;
}

.auth-link {
    color: var(--accent-orange);
    font-weight: 600;
    text-decoration: none;
    margin-left: 4px;
    transition: color 0.2s ease;
}

.auth-link:hover {
    color: #D87E18;
    text-decoration: underline;
}

/* Top Back Button in Auth */
.auth-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0 16px;
}

.auth-back-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-white);
    border: 1.5px solid var(--border-light);
    border-radius: 12px;
    color: var(--primary-navy);
    font-size: 22px;
    box-shadow: 0 2px 6px rgba(8, 41, 86, 0.04);
    transition: all 0.2s ease;
    text-decoration: none;
}

.auth-back-btn:hover {
    background: var(--primary-navy);
    color: #FFFFFF;
    border-color: var(--primary-navy);
}

.auth-login-pill {
    padding: 6px 14px;
    background: rgba(248, 159, 52, 0.12);
    color: var(--accent-orange);
    font-size: 13px;
    font-weight: 600;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.auth-login-pill:hover {
    background: var(--accent-orange);
    color: #FFFFFF;
}

/* Optional field badge */
.input-tag {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
    background: rgba(129, 141, 168, 0.12);
    color: var(--slate-gray);
    font-weight: 500;
    margin-right: 10px;
}

/* Splash Screen Styles */
.splash-wrapper {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 36px 20px 24px;
    background: radial-gradient(circle at 50% 12%, rgba(250, 202, 142, 0.45) 0%, rgba(248, 249, 248, 0.95) 55%), #F8F9F8;
    position: relative;
    overflow: hidden;
}

.splash-wrapper::before {
    content: '';
    position: absolute;
    top: -70px;
    right: -70px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(248, 159, 52, 0.18) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.splash-wrapper::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(8, 41, 86, 0.10) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.splash-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: auto 0;
    z-index: 1;
}

.splash-logo-container {
    width: 105px;
    height: 105px;
    background: #FFFFFF;
    border-radius: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px rgba(8, 41, 86, 0.12), 0 2px 6px rgba(248, 159, 52, 0.15);
    margin-bottom: 22px;
    position: relative;
    border: 1.5px solid rgba(250, 202, 142, 0.6);
    animation: floatLogo 3.2s ease-in-out infinite;
}

@keyframes floatLogo {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}

.splash-logo-container img {
    max-width: 78%;
    max-height: 78%;
    object-fit: contain;
}

.splash-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--primary-navy);
    letter-spacing: -0.3px;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.splash-title span {
    color: var(--accent-orange);
}

.splash-subtitle {
    font-size: 13.5px;
    color: var(--slate-gray);
    line-height: 1.5;
    max-width: 310px;
    margin: 0 auto 20px;
}

.splash-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 12px;
}

.splash-feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-navy);
    box-shadow: 0 2px 6px rgba(8, 41, 86, 0.04);
}

.splash-feature-pill ion-icon {
    font-size: 16px;
    color: var(--accent-orange);
}

/* Splash 3 Buttons */
.splash-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    z-index: 1;
}

.btn-splash {
    width: 100%;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.4px;
    box-sizing: border-box;
}

.btn-splash ion-icon {
    font-size: 20px;
}

.btn-splash-primary {
    background: var(--accent-orange);
    color: #FFFFFF !important;
    box-shadow: 0 6px 18px rgba(248, 159, 52, 0.35);
    border: none;
}

.btn-splash-primary:hover {
    background: #E68D25;
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(248, 159, 52, 0.45);
}

.btn-splash-secondary {
    background: var(--primary-navy);
    color: #FFFFFF !important;
    box-shadow: 0 6px 18px rgba(8, 41, 86, 0.25);
    border: none;
}

.btn-splash-secondary:hover {
    background: var(--primary-navy-dark);
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(8, 41, 86, 0.35);
}

.btn-splash-outline {
    background: #FFFFFF;
    color: var(--primary-navy) !important;
    border: 1.5px solid var(--border-light);
    box-shadow: 0 2px 8px rgba(8, 41, 86, 0.04);
}

.btn-splash-outline:hover {
    background: rgba(248, 159, 52, 0.08);
    border-color: var(--accent-orange);
    color: var(--accent-orange) !important;
    transform: translateY(-1px);
}

.splash-footer-note {
    font-size: 12px;
    color: var(--slate-gray);
    text-align: center;
    margin-top: 14px;
    margin-bottom: 0;
}

/* ==========================================================
/* ==========================================================
   GLOBAL BRAND COLOR PALETTE OVERRIDES FOR FINAPP TEMPLATE
   ========================================================== */
.bg-primary {
    background: var(--primary-navy) !important;
}

.text-primary {
    color: var(--primary-navy) !important;
}

.text-warning {
    color: var(--accent-orange) !important;
}

.text-success {
    color: var(--success-green) !important;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-navy-dark) 100%) !important;
    border-color: var(--primary-navy) !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 14px rgba(8, 41, 86, 0.2) !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background: linear-gradient(135deg, var(--accent-orange) 0%, #E68518 100%) !important;
    border-color: var(--accent-orange) !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 16px rgba(248, 159, 52, 0.28) !important;
}

.btn-warning {
    background: linear-gradient(135deg, var(--accent-orange) 0%, #E68518 100%) !important;
    border-color: var(--accent-orange) !important;
    color: #FFFFFF !important;
}

.btn-success {
    background: linear-gradient(135deg, var(--success-green) 0%, #157951 100%) !important;
    border-color: var(--success-green) !important;
    color: #FFFFFF !important;
}

/* ==========================================================
   DREAM INDIA - BRAND APP HEADER (ROYAL NAVY & GOLD)
   ========================================================== */
/* ==========================================================
   DREAM INDIA - MODERN CLEAN NEO-BANK HEADER
   ========================================================== */
.appHeader.di-clean-header {
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border-bottom: 1px solid rgba(8, 41, 86, 0.06) !important;
    height: 60px !important;
    box-shadow: 0 2px 14px rgba(8, 41, 86, 0.03) !important;
    padding: 0 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.appHeader.di-clean-header:before {
    background: #FFFFFF !important;
}

.di-brand-logo {
    height: 36px !important;
    max-height: 36px !important;
    width: auto !important;
    object-fit: contain !important;
    display: block;
}

.di-icon-btn {
    width: 38px !important;
    height: 38px !important;
    border-radius: 12px !important;
    background: #F3F5F9 !important;
    border: 1px solid #E8EBF0 !important;
    color: var(--primary-navy) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    transition: all 0.2s ease !important;
}

.di-icon-btn:hover,
.di-icon-btn:active {
    background: rgba(248, 159, 52, 0.12) !important;
    border-color: var(--accent-orange) !important;
    color: var(--accent-orange) !important;
}

.di-icon-btn ion-icon {
    font-size: 20px !important;
    color: var(--primary-navy) !important;
}

.di-icon-btn:hover ion-icon {
    color: var(--accent-orange) !important;
}

.di-notif-dot {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    background: var(--accent-orange);
    border-radius: 50%;
    border: 1.5px solid #FFFFFF;
}

/* ==========================================================
   USER GREETING BLOCK (REFERENCE 1 & 2 STYLE)
   ========================================================== */
.di-greeting-sub {
    font-size: 13px;
    color: var(--slate-gray);
    font-weight: 500;
    margin-bottom: 1px;
}

.di-greeting-name {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-navy);
    letter-spacing: -0.4px;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.di-verified-check {
    color: var(--success-green);
    font-size: 19px;
    display: inline-flex;
    align-items: center;
}

.di-user-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.di-plan-chip {
    background: rgba(248, 159, 52, 0.12);
    color: #D97706;
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    border: 1px solid rgba(248, 159, 52, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.di-id-chip {
    background: #F1F4F8;
    color: var(--slate-gray);
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}

.di-avatar-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #082956 0%, #0F3D7A 100%);
    color: #FFFFFF;
    font-weight: 800;
    font-size: 16px;
    border: 2px solid var(--accent-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(8, 41, 86, 0.18);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.di-avatar-circle:hover {
    transform: scale(1.05);
}

/* ==========================================================
   TOTAL BALANCE HERO CARD (REFERENCE 2 NEO-BANK STYLE)
   ========================================================== */
.di-hero-balance-card {
    background: radial-gradient(circle at 90% 10%, rgba(248, 159, 52, 0.25) 0%, transparent 45%),
                radial-gradient(circle at 10% 90%, rgba(29, 152, 102, 0.2) 0%, transparent 45%),
                linear-gradient(145deg, #082956 0%, #0F3D7A 60%, #06224A 100%);
    border-radius: 26px;
    padding: 22px 20px 18px;
    color: #FFFFFF;
    box-shadow: 0 16px 36px rgba(8, 41, 86, 0.25);
    border: 1px solid rgba(250, 202, 142, 0.35);
    position: relative;
    overflow: hidden;
}

.di-hero-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--warm-peach);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0.95;
}

.btn-balance-eye {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.65);
    font-size: 16px;
    padding: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s ease;
}

.btn-balance-eye:hover {
    color: var(--accent-orange);
}

.di-hero-badge {
    background: rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.di-hero-balance-val {
    font-size: 36px;
    font-weight: 800;
    color: #FFFFFF;
    margin: 6px 0 16px;
    letter-spacing: -0.6px;
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-feature-settings: "tnum";
}

.di-hero-balance-val .currency {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-orange);
}

.di-hero-balance-val .cents {
    font-size: 20px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
}

/* Dual Sub-Metrics (Reference 2 Layout) */
.di-hero-sub-row {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.di-hero-sub-sep {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.16);
}

.sub-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    margin-bottom: 2px;
}

.sub-value.text-roi {
    font-size: 14.5px;
    font-weight: 800;
    color: #34D399;
}

.sub-value.text-earnings {
    font-size: 14.5px;
    font-weight: 800;
    color: #FBBF24;
}

.sub-freq {
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================
   3 QUICK ACTION TILES (DEPOSIT, WITHDRAW, MY TEAM)
   ========================================================== */
.di-action-tiles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.di-action-tile-btn {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 14px 10px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(8, 41, 86, 0.04);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.di-action-tile-btn:hover,
.di-action-tile-btn:active {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(8, 41, 86, 0.08);
    border-color: rgba(248, 159, 52, 0.4);
}

.tile-icon-wrap {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 8px;
    transition: transform 0.2s ease;
}

.di-action-tile-btn:hover .tile-icon-wrap {
    transform: scale(1.08);
}

.tile-icon-wrap.deposit {
    background: rgba(29, 152, 102, 0.12);
    color: #1D9866;
}

.tile-icon-wrap.withdraw {
    background: rgba(248, 159, 52, 0.12);
    color: #F89F34;
}

.tile-icon-wrap.team {
    background: rgba(8, 41, 86, 0.08);
    color: #082956;
}

.tile-text {
    text-align: center;
}

.tile-text strong {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--primary-navy);
    display: block;
    margin-bottom: 1px;
}

.tile-text span {
    font-size: 10px;
    color: var(--slate-gray);
    font-weight: 500;
    display: block;
}

/* ==========================================================
   FLOATING NEO-BANKING BOTTOM NAVIGATION DOCK
   ========================================================== */
.appBottomMenu.di-floating-dock {
    position: fixed !important;
    bottom: 14px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    width: calc(100% - 28px) !important;
    max-width: 440px !important;
    box-sizing: border-box !important;
    min-height: unset !important;
    height: 64px !important;
    background: #FFFFFF !important;
    border-radius: 26px !important;
    box-shadow: 0 10px 32px rgba(8, 41, 86, 0.14) !important;
    border: 1px solid rgba(8, 41, 86, 0.08) !important;
    border-top: 1px solid rgba(8, 41, 86, 0.08) !important;
    z-index: 990 !important;
    padding: 0 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-around !important;
    margin: 0 !important;
}

/* Hide floating bottom dock completely when any modal or drawer is active */
body.modal-open .appBottomMenu,
body.modal-open .appBottomMenu.di-floating-dock {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    z-index: -1 !important;
}

.appBottomMenu.di-floating-dock .item {
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0 !important;
    height: 52px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 4px 4px !important;
    border-radius: 18px !important;
    color: var(--slate-gray) !important;
    transition: all 0.25s ease !important;
    text-decoration: none !important;
}

.appBottomMenu.di-floating-dock .item:before {
    display: none !important;
}

.appBottomMenu.di-floating-dock .item ion-icon {
    font-size: 22px !important;
    color: var(--slate-gray) !important;
    transition: all 0.2s ease !important;
}

.appBottomMenu.di-floating-dock .item strong {
    font-size: 10.5px !important;
    font-weight: 600 !important;
    margin-top: 2px !important;
    color: var(--slate-gray) !important;
    transition: all 0.2s ease !important;
}

.appBottomMenu.di-floating-dock .item.active {
    background: rgba(8, 41, 86, 0.07) !important;
}

.appBottomMenu.di-floating-dock .item.active ion-icon {
    color: var(--accent-orange) !important;
    transform: translateY(-1px) !important;
}

.appBottomMenu.di-floating-dock .item.active strong {
    color: var(--primary-navy) !important;
}

/* Multi-Wallet Grid Cards (Executive Portfolio Look) */
.di-section-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary-navy);
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.di-section-title .link-more {
    font-size: 12.5px;
    color: var(--accent-orange);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.di-section-title .link-more:hover {
    color: #D97706;
}

.di-wallet-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 22px;
}

.di-stat-box {
    background: #FFFFFF;
    border-radius: 18px;
    padding: 16px 14px 14px;
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 14px rgba(8, 41, 86, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    transition: all 0.25s ease;
}

.di-stat-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(8, 41, 86, 0.08);
}

.di-stat-box.pin-wallet::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #082956, #012553);
}

.di-stat-box.roi::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1D9866, #34D399);
}

.di-stat-box.referral::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #F89F34, #FBBF24);
}

.di-stat-box.withdrawn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #818DA8, #A0AEC0);
}

.di-stat-box-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.di-stat-box .box-icon {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    margin-bottom: 0;
}

.di-stat-box.roi .box-icon {
    background: rgba(29, 152, 102, 0.12);
    color: var(--success-green);
}

.di-stat-box.referral .box-icon {
    background: rgba(248, 159, 52, 0.12);
    color: var(--accent-orange);
}

.di-stat-box.pin-wallet .box-icon {
    background: rgba(8, 41, 86, 0.08);
    color: var(--primary-navy);
}

.di-stat-box.withdrawn .box-icon {
    background: rgba(129, 141, 168, 0.12);
    color: var(--slate-gray);
}

.di-stat-box .box-tag {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 8px;
    letter-spacing: 0.3px;
}

.di-stat-box.pin-wallet .box-tag {
    background: rgba(8, 41, 86, 0.06);
    color: var(--primary-navy);
}

.di-stat-box.roi .box-tag {
    background: rgba(29, 152, 102, 0.1);
    color: var(--success-green);
}

.di-stat-box.referral .box-tag {
    background: rgba(248, 159, 52, 0.1);
    color: var(--accent-orange);
}

.di-stat-box.withdrawn .box-tag {
    background: rgba(129, 141, 168, 0.1);
    color: var(--slate-gray);
}

.di-stat-box .box-title {
    font-size: 11.5px;
    color: var(--slate-gray);
    font-weight: 500;
    margin-bottom: 3px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.di-stat-box .box-value {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-navy);
    letter-spacing: -0.4px;
}

/* Daily ROI Live Tracker Card */
.di-roi-card {
    background: #FFFFFF;
    border-radius: 20px;
    border: 1px solid rgba(29, 152, 102, 0.25);
    border-top: 3.5px solid var(--success-green);
    padding: 18px 20px;
    box-shadow: 0 4px 16px rgba(29, 152, 102, 0.07);
    margin-bottom: 22px;
}

.di-roi-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

@keyframes diPulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(29, 152, 102, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(29, 152, 102, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(29, 152, 102, 0); }
}

.di-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #1D9866;
    display: inline-block;
    animation: diPulse 2s infinite;
}

.di-roi-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(29, 152, 102, 0.1);
    color: var(--success-green);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    border: 1px solid rgba(29, 152, 102, 0.2);
}

.di-roi-details {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 12px;
}

.di-roi-rate {
    font-size: 24px;
    font-weight: 800;
    color: var(--success-green);
}

.di-roi-progress-wrap {
    background: #F1F5F9;
    height: 8px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 8px;
}

.di-roi-progress-bar {
    background: linear-gradient(90deg, #1D9866 0%, #7ABDA3 100%);
    height: 100%;
    border-radius: 10px;
}

.di-roi-footer-info {
    display: flex;
    justify-content: space-between;
    font-size: 11.5px;
    color: var(--slate-gray);
}

/* Referral Sharing Bar */
.di-referral-bar {
    background: #FFFFFF;
    border-radius: 18px;
    padding: 16px 18px;
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 12px rgba(8, 41, 86, 0.04);
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.di-referral-info h4 {
    font-size: 13px;
    color: var(--slate-gray);
    margin: 0 0 2px;
    font-weight: 500;
}

.di-referral-info .code {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary-navy);
    letter-spacing: 0.5px;
}

.di-copy-btn {
    background: rgba(248, 159, 52, 0.12);
    color: var(--accent-orange);
    border: 1px solid rgba(248, 159, 52, 0.3);
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 12.5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.di-copy-btn:hover {
    background: var(--accent-orange);
    color: #FFFFFF;
}

/* Plans Carousel / Cards */
.di-plans-scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 10px;
    margin-bottom: 20px;
    scrollbar-width: none;
}

.di-plans-scroll::-webkit-scrollbar {
    display: none;
}

.di-plan-card {
    min-width: 200px;
    background: #FFFFFF;
    border: 1.5px solid var(--border-light);
    border-radius: 18px;
    padding: 18px 16px;
    box-shadow: 0 4px 14px rgba(8, 41, 86, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.di-plan-card.featured {
    border-color: var(--accent-orange);
    box-shadow: 0 6px 18px rgba(248, 159, 52, 0.15);
    position: relative;
}

.di-plan-card .plan-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--slate-gray);
    margin-bottom: 4px;
}

.di-plan-card .plan-price {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 12px;
}

.di-plan-card .plan-features {
    font-size: 11.5px;
    color: var(--slate-gray);
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
}

.di-plan-card .plan-features li {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 5px;
}

.di-plan-card .plan-features ion-icon {
    color: var(--success-green);
    font-size: 14px;
}

.di-plan-card .btn-activate {
    width: 100%;
    padding: 8px 0;
    background: var(--primary-navy);
    color: #FFFFFF;
    border: none;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s ease;
}

.di-plan-card.featured .btn-activate {
    background: var(--accent-orange);
}

.di-plan-card .btn-activate:hover {
    background: var(--primary-navy-dark);
    color: #FFFFFF;
}

/* Property Cards */
.di-property-card {
    background: #FFFFFF;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 14px rgba(8, 41, 86, 0.05);
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
}

.di-property-card .prop-img {
    height: 140px;
    width: 100%;
    object-fit: cover;
    position: relative;
}

.di-property-card .prop-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary-navy);
    color: #FFFFFF;
    font-size: 10.5px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    text-transform: uppercase;
}

.di-property-card .prop-body {
    padding: 14px;
}

.di-property-card .prop-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 4px;
}

.di-property-card .prop-location {
    font-size: 12px;
    color: var(--slate-gray);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
}

.di-property-card .prop-price {
    font-size: 16px;
    font-weight: 800;
    color: var(--accent-orange);
}

/* Modern Transaction Item */
.di-txn-item {
    background: #FFFFFF;
    border-radius: 14px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--border-light);
    margin-bottom: 10px;
    transition: transform 0.2s ease;
}

.di-txn-item:hover {
    transform: translateX(2px);
}

.di-txn-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.di-txn-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.di-txn-icon.credit {
    background: rgba(29, 152, 102, 0.12);
    color: var(--success-green);
}

.di-txn-icon.debit {
    background: rgba(239, 68, 68, 0.12);
    color: #EF4444;
}

.di-txn-info h4 {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--primary-navy);
    margin: 0 0 2px;
}

.di-txn-info span {
    font-size: 11px;
    color: var(--slate-gray);
}

.di-txn-amount {
    font-size: 14.5px;
    font-weight: 700;
    text-align: right;
}

.di-txn-amount.credit {
    color: var(--success-green);
}

.di-txn-amount.debit {
    color: #EF4444;
}

/* ==========================================================
   MODAL & SIDEBAR BRAND PALETTE POLISH
   ========================================================== */
.modal.action-sheet .modal-content {
    border-radius: 24px 24px 0 0 !important;
    background: #FFFFFF !important;
}

.modal.action-sheet .modal-header {
    padding: 16px 20px 12px !important;
    border-bottom: 1px solid var(--border-light) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.modal.action-sheet .modal-header .modal-title {
    font-size: 17px !important;
    font-weight: 700 !important;
    color: var(--primary-navy) !important;
    text-align: left !important;
}

.modal.action-sheet .close-button {
    color: var(--slate-gray) !important;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(8, 41, 86, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.modal.action-sheet .close-button:hover {
    background: rgba(248, 159, 52, 0.15) !important;
    color: var(--accent-orange) !important;
}

/* ==========================================================
   SIDEBAR DRAWER & NAVIGATION LIST STYLING (NEO-BANKING)
   ========================================================== */
.modal.panelbox {
    z-index: 1060 !important;
}

.modal.panelbox .modal-dialog {
    z-index: 1065 !important;
}

.modal.panelbox-left .modal-dialog .modal-content {
    background: #FFFFFF !important;
    border-radius: 0 24px 24px 0 !important;
    border: none !important;
    width: 310px !important;
    max-width: 86vw !important;
    height: 100vh !important;
    overflow-y: auto !important;
    box-shadow: 10px 0 40px rgba(8, 41, 86, 0.22) !important;
    display: flex;
    flex-direction: column;
}

/* Sidebar Profile Header */
.sidebar-profile-box {
    background: linear-gradient(145deg, #082956 0%, #0d3875 100%) !important;
    padding: 26px 18px 20px !important;
    position: relative;
    border-bottom: 2px solid rgba(248, 159, 52, 0.35);
}

.sidebar-profile-box .avatar-wrapper {
    position: relative;
    width: 52px;
    height: 52px;
    flex-shrink: 0;
}

.sidebar-profile-box .avatar-initials {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, #F89F34 0%, #fbaa49 100%);
    color: #FFFFFF;
    font-weight: 800;
    font-size: 20px;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(248, 159, 52, 0.35);
}

.sidebar-profile-box .avatar-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #1D9866;
    border: 2px solid #082956;
}

.sidebar-profile-box .user-name {
    font-size: 16px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0;
    line-height: 1.25;
}

.sidebar-profile-box .user-meta {
    font-size: 11.5px;
    color: #FACA8E;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.sidebar-profile-box .badge-verified {
    background: rgba(29, 152, 102, 0.25);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.4);
    font-size: 10px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.sidebar-profile-box .badge-plan-tag {
    background: rgba(248, 159, 52, 0.18);
    color: #F89F34;
    border: 1px solid rgba(248, 159, 52, 0.35);
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 12px;
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.sidebar-profile-box .sidebar-close-btn {
    position: absolute;
    top: 16px;
    right: 14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #FFFFFF !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.sidebar-profile-box .sidebar-close-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #FFFFFF !important;
    transform: scale(1.06);
}

/* Drawer Section Titles */
.panelbox .listview-title {
    font-size: 10.5px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    color: #818DA8 !important;
    padding: 14px 18px 6px !important;
    margin: 0 !important;
}

/* Drawer List & Items */
.panelbox ul.di-drawer-list {
    list-style: none !important;
    padding: 0 10px !important;
    margin: 0 !important;
}

.panelbox ul.di-drawer-list > li {
    margin-bottom: 4px !important;
    list-style: none !important;
}

.panelbox ul.di-drawer-list > li a.item {
    display: flex !important;
    align-items: center !important;
    padding: 10px 12px !important;
    border-radius: 14px !important;
    color: #1E293B !important;
    text-decoration: none !important;
    background: transparent !important;
    transition: all 0.2s ease !important;
}

.panelbox ul.di-drawer-list > li a.item:hover,
.panelbox ul.di-drawer-list > li a.item:active {
    background: #F1F5F9 !important;
    color: #082956 !important;
    transform: translateX(3px);
}

.panelbox ul.di-drawer-list > li a.item.active-item {
    background: rgba(8, 41, 86, 0.06) !important;
    color: #082956 !important;
    font-weight: 600 !important;
}

/* Pastel Tinted Icon Box for Drawer */
.di-drawer-icon {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    border-radius: 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-right: 12px !important;
    font-size: 20px !important;
    transition: transform 0.2s ease !important;
    flex-shrink: 0 !important;
}

.panelbox ul.di-drawer-list > li a.item:hover .di-drawer-icon {
    transform: scale(1.08);
}

.di-drawer-icon ion-icon {
    font-size: 20px !important;
    color: inherit !important;
}

.di-icon-navy {
    background: rgba(8, 41, 86, 0.08) !important;
    color: #082956 !important;
}

.di-icon-green {
    background: rgba(29, 152, 102, 0.12) !important;
    color: #1D9866 !important;
}

.di-icon-orange {
    background: rgba(248, 159, 52, 0.14) !important;
    color: #EA7A00 !important;
}

.di-icon-teal {
    background: rgba(122, 189, 163, 0.22) !important;
    color: #0F766E !important;
}

.di-icon-blue {
    background: rgba(37, 99, 235, 0.10) !important;
    color: #2563EB !important;
}

.di-icon-slate {
    background: rgba(129, 141, 168, 0.14) !important;
    color: #475569 !important;
}

.di-icon-red {
    background: rgba(239, 68, 68, 0.12) !important;
    color: #EF4444 !important;
}

.panelbox ul.di-drawer-list .in {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
}

.panelbox ul.di-drawer-list .item-arrow {
    color: #94A3B8 !important;
    font-size: 16px !important;
    margin-left: auto !important;
    transition: transform 0.2s ease, color 0.2s ease !important;
}

.panelbox ul.di-drawer-list > li a.item:hover .item-arrow {
    transform: translateX(2px);
    color: #082956 !important;
}

/* Page Spacing for Floating Dock & Modern Clean Layout */
#appCapsule {
    padding-top: 66px !important;
    padding-bottom: 96px !important;
}

.appFooter {
    padding-bottom: 90px !important;
    border-top: 1px solid rgba(8, 41, 86, 0.06) !important;
    background: transparent !important;
}