.investor-module{min-height:100vh;padding:22px;color:#e5efff;background:radial-gradient(circle at 28% 0%,rgba(37,99,235,.16),transparent 34%),linear-gradient(135deg,#030712 0%,#07111f 55%,#020617 100%)}
.inv-hero{border:1px solid #22304f;background:linear-gradient(135deg,rgba(16,24,44,.96),rgba(10,37,54,.96));box-shadow:0 18px 42px rgba(0,0,0,.22)}
.inv-hero p,.inv-hero small{color:#9fb0d0}.inv-select,.investor-module .input,.investor-module .select,.investor-module textarea{border:1px solid #294064;color:#e5efff;background:#081022}
.inv-tabs button{border-color:#22304f;color:#dbeafe;background:#091224}.inv-tabs button.active{border-color:#1677ff;background:linear-gradient(135deg,#1677ff,#8b20e8)}
.inv-card,.inv-kpi,.inv-loading,.inv-empty{border:1px solid #22304f;color:#e5efff;background:rgba(16,24,44,.82);box-shadow:0 18px 42px rgba(0,0,0,.22)}
.inv-card h2,.inv-kpi strong{color:#f8fbff}.inv-kpi span,.inv-kpi small,.inv-formula,.inv-contribution small,.inv-period label,.inv-settlement-head p{color:#9fb0d0}
.inv-profile-grid>div{border:1px solid #22304f;background:#09172a}.inv-profile-grid span{color:#8da0bf}.inv-owner-line{color:#6ee7b7;background:rgba(5,150,105,.2)}
.investor-module table th{color:#9db9ee}.investor-module table td{border-color:#273653;color:#d7e2f5}.investor-module .btn{border-color:#294064;color:#dbeafe;background:#091224}.investor-module .btn.primary{border:0;color:#fff;background:linear-gradient(135deg,#1677ff,#8b20e8)}
.inv-purchase-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:14px;margin-bottom:14px}.inv-purchase-head{display:grid;grid-template-columns:1.1fr .8fr 1.1fr;gap:12px;margin-bottom:15px}.inv-purchase-head label,.inv-fund-line{display:grid;gap:7px;color:#d7e2f5}.inv-purchase-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px}.inv-purchase-foot strong{font-size:20px;color:#60a5fa}.inv-funding{display:grid;gap:12px}.inv-fund-line{padding:11px;border:1px solid #294064;border-radius:12px;background:#09172a}.inv-fund-line small,.inv-funding-total small{color:#8da0bf}.inv-funding-total{padding:12px;border:1px solid #294064;border-radius:12px;background:#0b1a2f}.inv-funding-total p{display:flex;justify-content:space-between;margin:6px 0}.inv-funding .btn:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:1150px){.inv-purchase-layout{grid-template-columns:1fr}.inv-purchase-head{grid-template-columns:1fr 1fr}}@media(max-width:760px){.investor-module{padding:14px}.inv-purchase-head{grid-template-columns:1fr}.inv-purchase-foot{align-items:stretch;flex-direction:column}}
.inv-nh-page{min-height:0;padding:0;background:transparent}.inv-nh-page .nh-panel,.inv-nh-page .nh-kpi{background:rgba(16,24,44,.82)}.ip-funding-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}.ip-funding-grid label{display:grid;gap:7px;padding:11px;border:1px solid #294064;border-radius:12px;color:#d7e2f5;background:#09172a}.ip-funding-grid small{color:#8da0bf}.ip-receipts{margin-top:12px}.ip-receipts button:disabled{opacity:.35;cursor:not-allowed}.ip-detail{color:#e5efff}.ip-detail h2{color:#f8fbff}@media(max-width:760px){.ip-funding-grid{grid-template-columns:1fr}}

/* Mobile shell: keep desktop-width tables inside their own scrollers instead
   of allowing them to widen the whole Nhà đầu tư module. */
@media(max-width:760px){
  .investor-module{
    width:calc(100% + 20px);
    max-width:none;
    min-width:0;
    min-height:calc(100vh - 64px);
    margin:-10px;
    padding:10px 10px 24px;
    gap:10px;
    overflow-x:hidden;
  }
  .investor-module *,
  .investor-module #investorBody,
  .investor-module .inv-nh-page,
  .investor-module .nh-main,
  .investor-module .nh-side,
  .investor-module .nh-panel,
  .investor-module .inv-card,
  .investor-module .inv-grid-two,
  .investor-module .inv-kpis{min-width:0;max-width:100%}
  .investor-module .inv-hero{width:100%;padding:14px;border-radius:0}
  .investor-module .inv-hero h1{font-size:20px;line-height:1.25;overflow-wrap:anywhere}
  .investor-module .inv-hero>div,
  .investor-module .inv-hero>div:last-child{width:100%;min-width:0}
  .investor-module .inv-tabs{
    width:100%;
    max-width:100%;
    gap:6px;
    padding:2px 10px 8px;
    overflow-x:auto;
    overflow-y:hidden;
    overscroll-behavior-x:contain;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
  }
  .investor-module .inv-tabs::-webkit-scrollbar{display:none}
  .investor-module .inv-tabs button{flex:0 0 auto;padding:9px 11px;font-size:13px}
  .investor-module .inv-kpis{grid-template-columns:1fr;gap:10px}
  .investor-module .inv-kpi{width:100%;min-height:88px;padding:12px}
  .investor-module .inv-card,
  .investor-module .nh-panel{width:100%;padding:12px;border-radius:14px}
  .investor-module .tablewrap,
  .investor-module .nh-tablewrap,
  .investor-module .productTableWrap,
  .investor-module .ip-multi-funding .tablewrap{
    display:block;
    width:100%;
    max-width:100%;
    overflow-x:auto;
    overscroll-behavior-x:contain;
    -webkit-overflow-scrolling:touch;
  }
  .investor-module .nh-head{grid-template-columns:1fr;gap:10px}
  .investor-module .nh-head h1{font-size:21px}
  .investor-module .nh-head-actions,
  .investor-module .nh-head-actions .nh-primary{width:100%}
  .investor-module .nh-form-grid,
  .investor-module .nh-product-toolbar,
  .investor-module .nh-payment-row{grid-template-columns:1fr}
  .investor-module .nh-shipping-row,
  .investor-module .nh-form-foot,
  .investor-module .inv-settlement-head,
  .investor-module .inv-fund-heading{align-items:stretch;flex-direction:column}
  .investor-module .nh-shipping-row label{min-width:0;width:100%}
  .investor-module .inv-period{display:grid;grid-template-columns:1fr 1fr;align-items:stretch}
  .investor-module .inv-period>*{min-width:0;width:100%}
  .investor-module .inv-investor-row{width:100%}
  .investor-module .dialog{width:100%;max-width:100%;padding:12px;border-radius:16px}
}
@media(max-width:420px){
  .investor-module .inv-period{grid-template-columns:1fr}
  .investor-module .inv-hero{padding-top:12px}
}
