:root{
  --fanuc-orange:#0a66ff;
  --fanuc-orange-dark:#0057e6;
  --fanuc-bg:#f3f8ff;
  --fanuc-card:#ffffff;
  --fanuc-text:#151515;
  --fanuc-muted:#6b7a90;
  --fanuc-line:#d9e7ff;
  --fanuc-radius:24px;
  --fanuc-shadow:0 14px 34px rgba(10,102,255,.12);
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--fanuc-bg);color:var(--fanuc-text);font-family:"Be Vietnam Pro",Arial,sans-serif;overflow-x:hidden}
a{color:inherit;text-decoration:none}
body.fanuc-body{padding:0;min-height:100vh}
.fanuc-app{max-width:860px;margin:0 auto;background:var(--fanuc-bg);min-height:100vh;padding-bottom:96px}
.fanuc-top-spacer{height:10px}
.fanuc-main{padding:0 16px 24px}
.fanuc-card{background:var(--fanuc-card);border-radius:28px;box-shadow:var(--fanuc-shadow)}
.fanuc-section-title{font-size:28px;font-weight:800;margin:0 0 18px;letter-spacing:-.02em}
.fanuc-page-title{font-size:32px;font-weight:800;text-align:center;margin:12px 0 18px;letter-spacing:-.02em}
.fanuc-subtle{color:var(--fanuc-muted)}
.fanuc-btn,.btn.fanuc-btn{display:inline-flex;align-items:center;justify-content:center;border:none;border-radius:18px;background:var(--fanuc-orange);color:#fff;font-weight:800;padding:16px 20px;text-decoration:none;width:100%;font-size:20px;box-shadow:none}
.fanuc-btn-outline{display:inline-flex;align-items:center;justify-content:center;border-radius:18px;border:1px solid #ddd;background:#fff;padding:14px 18px;text-decoration:none;font-weight:700}
.fanuc-input,.fanuc-select{width:100%;border:none;border-bottom:1px solid var(--fanuc-line);background:transparent;padding:0 0 18px;font-size:20px;color:var(--fanuc-text);outline:none;border-radius:0;box-shadow:none}
.fanuc-label{display:block;color:#aeaeae;font-size:15px;font-weight:700;margin-bottom:14px}
.fanuc-field{padding:0 0 18px}
.fanuc-list-card{background:#fff;border-radius:26px;padding:18px 20px;box-shadow:var(--fanuc-shadow)}
.fanuc-row-between{display:flex;align-items:center;justify-content:space-between;gap:12px}
.fanuc-muted-line{color:#ababab}
.fanuc-badge{display:inline-flex;align-items:center;justify-content:center;padding:6px 12px;border-radius:999px;background:#f7f7f7;font-size:13px;font-weight:700}
.fanuc-empty{padding:44px 16px;text-align:center;color:#b6b6b6}
.fanuc-empty .icon{width:160px;height:160px;border-radius:50%;background:#eef0f4;margin:0 auto 18px;display:flex;align-items:center;justify-content:center;font-size:74px;color:#0a66ff}
.fanuc-auth-wrap{padding:18px 16px 26px;max-width:860px;margin:0 auto 96px}
.fanuc-auth-brand{font-size:68px;line-height:1;font-weight:900;color:#0a66ff;text-align:center;margin:36px 0 36px;letter-spacing:.03em}
.fanuc-auth-title{font-size:34px;font-weight:900;text-align:center;margin:0 0 42px}
.fanuc-auth-form{padding:0 6px}
.fanuc-auth-action{margin-top:28px}
.fanuc-auth-footer{color:#b0b0b0;text-align:center;font-size:17px;margin-top:28px}
.fanuc-auth-footer a{color:var(--fanuc-orange);font-weight:800;text-decoration:underline}
.fanuc-auth-prefix{font-size:22px;font-weight:800;padding-right:14px;color:#111}
.fanuc-auth-inline{display:flex;align-items:center;border-bottom:1px solid var(--fanuc-line);padding-bottom:18px;margin-bottom:34px}
.fanuc-captcha-box{display:flex;align-items:center;justify-content:center;min-width:120px;padding:8px 10px;background:#d9ebff;border-radius:0;font-size:28px;font-style:italic;color:#0057e6;font-weight:700;letter-spacing:.2em}
.fanuc-topbar{display:flex;align-items:center;justify-content:center;position:relative;padding:12px 0 18px}
.fanuc-back{position:absolute;left:0;top:6px;width:42px;height:42px;display:flex;align-items:center;justify-content:center;text-decoration:none;font-size:28px;color:#111}
.fanuc-orange-hero{background:var(--fanuc-orange);padding:34px 16px 78px;border-bottom-left-radius:0;border-bottom-right-radius:0}
.fanuc-center-title{font-size:28px;font-weight:800;color:#fff;text-align:center;margin:0}
.fanuc-balance-card{margin:-54px 16px 18px;background:#fff;border-radius:28px;padding:24px 18px;box-shadow:var(--fanuc-shadow);text-align:center}
.fanuc-balance-card .logo{font-size:58px;font-weight:900;color:#fff}
.fanuc-profile-header{background:var(--fanuc-orange);padding:28px 16px 84px}
.fanuc-brand{text-align:center;font-size:60px;font-weight:900;color:#fff;letter-spacing:.03em}
.fanuc-account-card{margin:-56px 16px 20px;background:#eef4ff;border-radius:28px;padding:22px 18px;text-align:center;box-shadow:0 10px 20px rgba(0,0,0,.04)}
.fanuc-account-card .idline{font-size:24px;color:#7a7a7a}
.fanuc-account-card .idline strong{color:var(--fanuc-orange)}
.fanuc-account-card .balanceline{font-size:22px;color:#7a7a7a}
.fanuc-account-card .balanceline strong{color:var(--fanuc-orange);text-decoration:none}
.fanuc-menu{background:#fff0;border-top:1px solid #ddd}
.fanuc-menu-item{display:flex;align-items:center;justify-content:space-between;padding:24px 16px;border-top:1px solid #dcdcdc;text-decoration:none;color:#111;background:transparent;font-size:24px}
.fanuc-menu-item .left{display:flex;align-items:center;gap:18px}
.fanuc-menu-item .ico{color:#0a66ff;width:38px;text-align:center}
.fanuc-menu-item .arrow{color:#afafaf}
.fanuc-bottom-nav{position:fixed;left:0;right:0;bottom:0;background:#fff;border-top:1px solid #ddd;display:grid;grid-template-columns:repeat(3,1fr);z-index:50;max-width:860px;margin:0 auto}
.fanuc-bottom-nav a{padding:12px 6px 10px;text-align:center;text-decoration:none;color:#c8c8c8;font-size:15px;font-weight:700}
.fanuc-bottom-nav a i{display:block;font-size:24px;margin-bottom:4px}
.fanuc-bottom-nav a.active{color:var(--fanuc-orange)}
.fanuc-home-card{border-radius:24px;background:#fff;padding:14px 14px 16px;box-shadow:var(--fanuc-shadow);margin-bottom:16px}
.fanuc-home-banner{border-radius:22px;background:#fff;padding:10px;overflow:hidden;margin-bottom:16px}
.fanuc-home-banner img{width:100%;display:block;border-radius:18px;object-fit:cover;max-height:220px}
.fanuc-marquee{background:#fff;border-radius:20px;padding:18px;color:#b1b1b1;font-size:20px;margin-bottom:16px;white-space:nowrap;overflow:hidden}
.fanuc-products-title{font-size:28px;font-weight:900;margin:10px 0 14px}
.fanuc-product-card{display:grid;grid-template-columns:120px 1fr;gap:16px;background:#fff;border-radius:22px;padding:14px;margin-bottom:16px;box-shadow:var(--fanuc-shadow)}
.fanuc-product-card img{width:100%;height:130px;object-fit:contain;background:#fff;border-radius:12px}
.fanuc-product-name{font-size:18px;font-weight:800;margin:0 0 8px}
.fanuc-product-price{font-size:20px;font-weight:800;color:var(--fanuc-orange);white-space:nowrap}
.fanuc-product-meta{background:#f4f4f4;border-radius:14px;padding:10px 12px;margin-top:8px;color:#7b8aa5;font-size:14px}
.fanuc-product-meta div{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;line-height:1.25;margin-bottom:3px}
.fanuc-product-meta div:last-child{margin-bottom:0}
.fanuc-product-meta .val{color:#111;font-weight:800;white-space:nowrap;flex:0 0 auto;font-size:13px}
.fanuc-link-buy{display:inline-block;margin-top:12px;color:var(--fanuc-orange);font-size:18px;font-weight:800;text-decoration:underline}
.fanuc-detail-wrap{padding:10px 16px 22px}
.fanuc-detail-image{background:#fff;padding:14px 14px 4px;text-align:center}
.fanuc-detail-image img{width:100%;max-height:320px;object-fit:contain}
.fanuc-detail-title-row{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin:18px 0}
.fanuc-detail-title-row h2,.fanuc-detail-title-row .price{font-size:28px;font-weight:900;margin:0}
.fanuc-detail-stats{background:#fff;border-radius:22px;padding:16px 18px;margin-bottom:18px}
.fanuc-detail-stats .row{display:flex;justify-content:space-between;gap:16px;margin:10px 0;font-size:18px}
.fanuc-detail-stats .val{color:#0a66ff;font-weight:800;text-align:right}
.fanuc-payment-title{font-size:26px;font-weight:500;margin:0 0 12px}
.fanuc-pills{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:18px}
.fanuc-pill{padding:8px 14px;border-radius:999px;background:#fff;color:#c5c5c5;font-weight:800;font-size:14px;border:none}
.fanuc-pill.active{color:#111;text-decoration:underline}
.fanuc-detail-desc{font-size:20px;line-height:1.4;font-weight:800}
.fanuc-withdraw-wrap,.fanuc-bank-wrap,.fanuc-history-wrap,.fanuc-team-wrap{padding:10px 16px 22px}
.fanuc-withdraw-card,.fanuc-info-card,.fanuc-bank-form,.fanuc-history-card{background:#fff;border-radius:28px;padding:20px;box-shadow:var(--fanuc-shadow)}
.fanuc-withdraw-balance{font-size:24px;color:#7d7d7d;font-weight:800;display:flex;justify-content:space-between;margin-bottom:20px}
.fanuc-withdraw-balance strong{color:#111;font-size:28px;text-decoration:none}
.fanuc-note{text-align:center;font-size:18px;line-height:1.45;margin-top:18px}
.fanuc-note strong{font-weight:900}
.fanuc-history-head{font-size:18px;font-weight:500;margin:0 0 18px;color:#333}
.fanuc-history-table{width:100%;border-collapse:collapse}
.fanuc-history-table th,.fanuc-history-table td{padding:16px 10px;text-align:left;border-top:1px solid #eee;font-size:16px;vertical-align:top}
.fanuc-history-table thead th{border-top:none;color:#444;font-weight:500}
.fanuc-success{color:#45c79a;font-weight:800}
.fanuc-tabs{display:flex;background:#dbe8ff;border-radius:999px;padding:3px;gap:4px;margin:10px 0 22px}
.fanuc-tabs a{flex:1;text-align:center;padding:12px 8px;border-radius:999px;text-decoration:none;color:#111;font-weight:700;font-size:17px}
.fanuc-tabs a.active{background:#fff;color:var(--fanuc-orange);box-shadow:0 1px 3px rgba(0,0,0,.05)}
.fanuc-history-item{background:#fff;border-radius:24px;padding:18px 18px 8px;margin-bottom:16px;box-shadow:var(--fanuc-shadow)}
.fanuc-history-item h3{font-size:22px;font-weight:900;margin:0 0 4px}
.fanuc-history-date{font-size:14px;color:#9e9e9e;margin-bottom:14px}
.fanuc-grid-two{display:grid;grid-template-columns:1fr 1fr;gap:8px 18px;background:#eef4ff;border-radius:18px;padding:14px 16px}
.fanuc-grid-two .label{color:#9c9c9c;font-size:15px}
.fanuc-grid-two .value{font-weight:800;color:var(--fanuc-orange);font-size:18px}
.fanuc-team-summary{background:var(--fanuc-orange);padding:20px 16px 44px;margin:0 -16px 0}
.fanuc-team-summary-card{background:#fff;border-radius:24px;padding:18px 16px;margin-top:18px}
.fanuc-team-summary-top{display:flex;justify-content:flex-start;gap:22px;align-items:flex-end;color:var(--fanuc-orange);font-size:22px;font-weight:800;margin-bottom:12px;flex-wrap:wrap}
.fanuc-team-summary-boxes{display:grid;grid-template-columns:1fr 1fr;background:#eef4ff;border-radius:18px;overflow:hidden;text-align:center}
.fanuc-team-summary-boxes > div{padding:18px 8px}
.fanuc-team-summary-boxes strong{display:block;font-size:26px;color:#111}
.fanuc-team-summary-boxes span{font-size:14px;color:#444}
.fanuc-team-desc{background:#fff;border-radius:24px;padding:18px 16px;margin: -28px 0 18px;box-shadow:var(--fanuc-shadow);font-size:18px;line-height:1.45}
.fanuc-levels{display:flex;justify-content:space-between;gap:14px;margin:16px 0 10px}
.fanuc-level{flex:1;text-align:center;border:none;background:transparent;padding:0;cursor:pointer;-webkit-appearance:none;appearance:none}
.fanuc-level .icon{width:76px;height:76px;border-radius:22px;margin:0 auto 8px;display:flex;align-items:center;justify-content:center;font-size:32px}
.fanuc-level.lv1 .icon{background:#e8f1ff;color:#0a66ff}
.fanuc-level.lv2 .icon{background:#dcebff;color:#3b82f6}
.fanuc-level.lv3 .icon{background:#cfe2ff;color:#2563eb}
.fanuc-level.active{color:#111;font-weight:900}
.fanuc-level:not(.active){color:#c9c9c9;font-weight:800}
.fanuc-commission-card{border-radius:28px;padding:20px 16px 18px;position:relative;overflow:hidden;margin-bottom:18px}
.fanuc-commission-card.lv1{background:linear-gradient(135deg,#dcebff,#bfd9ff 60%,#e8f2ff)}
.fanuc-commission-card.lv2{background:linear-gradient(135deg,#d9ebff,#c5ddff 60%,#edf5ff)}
.fanuc-commission-card.lv3{background:linear-gradient(135deg,#cce2ff,#a8cbff 60%,#deedff)}
.fanuc-commission-card .title{font-size:34px;font-weight:900;margin:0 0 18px;color:#0c4fc7}
.fanuc-commission-card.lv3 .title{color:#0a66ff}
.fanuc-commission-inner{background:rgba(255,255,255,.65);border-radius:24px;padding:18px 16px}
.fanuc-commission-row{display:flex;justify-content:space-between;gap:12px;font-size:17px;margin:8px 0}
.fanuc-commission-row .value{font-weight:900}
.fanuc-record-card{background:#fff;border-radius:22px;padding:18px 16px;margin-bottom:14px;box-shadow:var(--fanuc-shadow)}
.fanuc-record-grid{display:grid;grid-template-columns:1fr auto;gap:10px 14px}
.fanuc-record-grid .label{color:#adadad;font-size:15px}
.fanuc-record-grid .value{font-size:17px;font-weight:800;text-align:right}
.fanuc-record-grid .value.highlight{color:#0a66ff;text-decoration:none}
.fanuc-copy-box{background:#fff;border-radius:24px;padding:16px 16px 6px;box-shadow:var(--fanuc-shadow);margin-bottom:18px}
.fanuc-share-banner{background:var(--fanuc-orange);color:#fff;border-radius:20px 20px 0 0;padding:16px 18px;font-size:22px;font-weight:500;text-align:left}
.fanuc-share-code{background:#eef4ff;border-radius:0 0 20px 20px;padding:18px;font-size:22px;text-align:center}
.fanuc-share-code strong{color:var(--fanuc-orange);text-decoration:none}
.fanuc-copy-btn{margin-top:12px}
.fanuc-hide-desktop{display:block}
@media (min-width:861px){
  .fanuc-bottom-nav{left:50%;transform:translateX(-50%);border-left:1px solid #ddd;border-right:1px solid #ddd;border-top-left-radius:18px;border-top-right-radius:18px;overflow:hidden}
}
@media (max-width:575.98px){
  .fanuc-main,.fanuc-detail-wrap,.fanuc-withdraw-wrap,.fanuc-bank-wrap,.fanuc-history-wrap,.fanuc-team-wrap,.fanuc-auth-wrap{padding-left:14px;padding-right:14px}
  .fanuc-brand{font-size:48px}
  .fanuc-auth-brand{font-size:58px}
  .fanuc-auth-title{font-size:30px}
  .fanuc-product-card{grid-template-columns:98px 1fr}
  .fanuc-product-card img{height:112px}
  .fanuc-product-meta{font-size:13px}
  .fanuc-detail-title-row h2,.fanuc-detail-title-row .price,.fanuc-section-title,.fanuc-page-title{font-size:24px}
  .fanuc-menu-item{font-size:18px;padding:20px 14px}
  .fanuc-tabs a{font-size:15px}
}


/* Remove underline/line decoration from money values */
.fanuc-account-card .balanceline,
.fanuc-account-card .balanceline *,
.fanuc-withdraw-balance,
.fanuc-withdraw-balance *,
.fanuc-record-grid .value,
.fanuc-record-grid .value *,
.fanuc-share-code,
.fanuc-share-code *,
.fanuc-product-price,
.fanuc-product-price *,
.fanuc-detail-title-row .price,
.fanuc-detail-title-row .price *,
[class*="money"],
[class*="money"] *,
[class*="price"],
[class*="price"] *,
[class*="amount"],
[class*="amount"] *,
[class*="profit"],
[class*="profit"] *,
[class*="balance"],
[class*="balance"] *{
  text-decoration:none !important;
  border-bottom:none !important;
  box-shadow:none !important;
}


.fanuc-col-date{width:120px;max-width:120px;font-size:14px!important;line-height:1.35}
.fanuc-col-money,.fanuc-col-money strong,.fanuc-col-status,.fanuc-col-nowrap{white-space:nowrap!important}
.fanuc-col-money{min-width:110px}
.fanuc-col-money strong,.fanuc-col-money,.fanuc-col-money *{color:#1f6fff!important}
.fanuc-detail-title-row .price,.fanuc-product-price,.fanuc-withdraw-balance strong,.fanuc-grid-two .value,.fanuc-team-summary-top,.fanuc-team-summary-boxes strong,.fanuc-record-grid .value.highlight{color:#1f6fff!important}
.fanuc-col-status{min-width:104px;font-weight:800}
.fanuc-status-success{color:#45c79a!important;font-weight:800}
.fanuc-status-pending{color:#eab308!important;font-weight:800}
.fanuc-status-failed{color:#ef4444!important;font-weight:800}
.fanuc-note-left{text-align:left}
.fanuc-btn-block{display:block;width:100%}
.fanuc-select,.fanuc-input-box{height:52px;border-radius:18px;border:1px solid #e5e7eb;padding:0 16px;font-size:16px;box-shadow:none}
.fanuc-select:focus,.fanuc-input-box:focus{border-color:rgba(10,102,255,.45);box-shadow:none}
.fanuc-history-table-deposit th,.fanuc-history-table-deposit td{font-size:15px}
.fanuc-history-table-deposit th,.fanuc-history-table-deposit td,
.fanuc-history-table-withdraw th,.fanuc-history-table-withdraw td{vertical-align:middle}
.fanuc-empty-history{text-align:center!important;color:#8b8b8b;padding:22px 12px!important}


/* Fix bo gach chan va can lai giao dien nap/rut */
.fanuc-app a,
.fanuc-app a:hover,
.fanuc-app a:focus,
.fanuc-app a:active,
.fanuc-menu-item,
.fanuc-menu-item:hover,
.fanuc-menu-item:focus,
.fanuc-menu-item:active,
.fanuc-bottom-nav a,
.fanuc-bottom-nav a:hover,
.fanuc-bottom-nav a:focus,
.fanuc-bottom-nav a:active,
.fanuc-link-buy,
.fanuc-link-buy:hover,
.fanuc-tabs a,
.fanuc-tabs a:hover,
.fanuc-tabs a:focus,
.fanuc-tabs a:active,
.fanuc-pill,
.fanuc-pill:hover,
.fanuc-pill:focus,
.fanuc-pill:active,
.fanuc-pill.active,
.fanuc-auth-footer a,
.fanuc-auth-footer a:hover{
  text-decoration:none !important;
}

.fanuc-withdraw-balance{
  font-size:18px;
  align-items:center;
  gap:12px;
  flex-wrap:nowrap;
}
.fanuc-withdraw-balance span{
  font-size:18px;
  line-height:1.25;
}
.fanuc-withdraw-balance strong{
  color:#111;
  font-size:22px;
  line-height:1.2;
  white-space:nowrap;
  word-break:normal;
  overflow-wrap:normal;
  flex:0 0 auto;
}

.fanuc-history-card{overflow:hidden}
.fanuc-history-table-withdraw{table-layout:fixed}
.fanuc-history-card-scroll{overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}
.fanuc-history-card-scroll .fanuc-history-table{min-width:560px;table-layout:auto}
.fanuc-history-card-scroll .fanuc-col-date{min-width:140px;max-width:none}
.fanuc-history-card-scroll .fanuc-col-money{min-width:120px}
.fanuc-history-card-scroll .fanuc-col-status{min-width:120px}
.fanuc-empty-wrap{padding:8px 0}
.fanuc-history-table th,.fanuc-history-table td{
  word-break:normal;
  overflow-wrap:normal;
}
.fanuc-col-date{
  width:33%;
  font-size:14px !important;
}
.fanuc-col-money,
.fanuc-col-money strong,
.fanuc-col-nowrap{
  white-space:nowrap;
}
.fanuc-col-money{width:25%}
.fanuc-col-status{
  width:24%;
  white-space:nowrap;
  font-size:13px !important;
}
.fanuc-status-pending{color:#c18a00;font-weight:800}
.fanuc-status-failed{color:#e03b3b;font-weight:800}
.fanuc-status-success{color:#45c79a;font-weight:800}

.fanuc-history-table-deposit .fanuc-col-date{width:30%}
.fanuc-history-table-deposit .fanuc-col-money{width:24%}
.fanuc-history-table-deposit .fanuc-col-status{width:22%}

@media (max-width: 520px){
  .fanuc-withdraw-balance{font-size:16px}
  .fanuc-withdraw-balance span{font-size:16px}
  .fanuc-withdraw-balance strong{font-size:19px}
  .fanuc-history-table th,.fanuc-history-table td{padding:14px 8px;font-size:14px}
  .fanuc-col-date{width:31%;font-size:13px !important}
  .fanuc-col-money{width:25%}
  .fanuc-col-status{width:22%;font-size:12px !important}
}


/* Tao web: thu nho anh manh hon + bo khoang trang anh + giu gia khong xuong doc */
.fanuc-detail-image{
  background:transparent!important;
  padding:0!important;
  margin:0 0 4px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  line-height:0!important;
}
.fanuc-detail-image img{
  width:52%!important;
  max-width:160px!important;
  max-height:150px!important;
  object-fit:contain!important;
  display:block!important;
  margin:0 auto!important;
}
.fanuc-detail-title-row{align-items:center!important;gap:10px!important;flex-wrap:nowrap!important;margin:10px 0 14px!important}
.fanuc-detail-title-row h2{flex:1 1 auto;min-width:0;font-size:19px!important;line-height:1.25!important;word-break:break-word}
.fanuc-detail-title-row .price{flex:0 0 auto;white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;font-size:19px!important;line-height:1.2!important}

/* Ho so thanh toan: trang thai thanh cong mau xanh success */
.fanuc-grid-two .value.fanuc-status-success{color:#45c79a!important}

@media (max-width:575.98px){
  .fanuc-detail-image{margin-bottom:2px!important}
  .fanuc-detail-image img{width:46%!important;max-width:130px!important;max-height:122px!important}
  .fanuc-detail-title-row h2{font-size:17px!important}
  .fanuc-detail-title-row .price{font-size:17px!important}
}
