/* ===== Self-hosted fonts (no external CDN dependency) ===== */
@font-face{font-family:'Inter'; src:url('fonts/Inter-Regular.woff2') format('woff2'); font-weight:100 900; font-style:normal; font-display:swap;}
@font-face{font-family:'Poppins'; src:url('fonts/Poppins-Regular.woff2') format('woff2'); font-weight:400; font-style:normal; font-display:swap;}
@font-face{font-family:'Poppins'; src:url('fonts/Poppins-Medium.woff2') format('woff2'); font-weight:500; font-style:normal; font-display:swap;}
@font-face{font-family:'Poppins'; src:url('fonts/Poppins-SemiBold.woff2') format('woff2'); font-weight:600; font-style:normal; font-display:swap;}
@font-face{font-family:'Poppins'; src:url('fonts/Poppins-Bold.woff2') format('woff2'); font-weight:700; font-style:normal; font-display:swap;}
@font-face{font-family:'Poppins'; src:url('fonts/Poppins-ExtraBold.woff2') format('woff2'); font-weight:800; font-style:normal; font-display:swap;}

html{color-scheme:light only;}

  :root{
    --red:#e8543f;
    --red-dark:#d4432f;
    --ink:#2b2f36;
    --muted:#7c828c;
    --line:#e7e5e2;
    --bg:#ffffff;
    --gold:#c9860f;
    --radius:4px;
    --sans:'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --disp:'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  }
  *{box-sizing:border-box; margin:0; padding:0;}
  body{font-family:var(--sans); color:var(--ink); background:var(--bg); font-size:14px;}
  .plan-card{transition:transform .2s ease, box-shadow .2s ease;}
  .plan-card:hover{transform:translateY(-6px);}
  .plan-cta{transition:opacity .15s ease;}
  .plan-cta:hover{opacity:0.88;}
  @keyframes popIn{0%{transform:scale(0.5); opacity:0;} 60%{transform:scale(1.1);} 100%{transform:scale(1); opacity:1;}}
  a{text-decoration:none; color:inherit;}
  ul{list-style:none;}
  .wrap{max-width:1180px; margin:0 auto; padding:0 20px;}
  button{font-family:inherit; cursor:pointer;}

  .topbar{background:#f1efec; border-bottom:1px solid var(--line);}
  .topbar-row{display:flex; align-items:center; justify-content:space-between; padding:10px 20px; max-width:1180px; margin:0 auto;}
  .social{display:flex; gap:10px; color:#555;}
  .social a{width:34px; height:34px; border-radius:8px; background:#fff; border:1px solid var(--line); display:flex; align-items:center; justify-content:center; font-size:15px; color:#555; transition:all .2s ease;}
  .social a:hover{background:var(--red); color:#fff; border-color:var(--red); transform:translateY(-2px); box-shadow:0 4px 10px rgba(232,84,63,0.3);}
  .util-right{display:flex; align-items:center; gap:12px; font-size:13px; color:#444; flex-wrap:wrap; justify-content:flex-end;}
  .util-right a, .util-right button{display:flex; align-items:center; gap:6px; background:none; border:none; color:#444; font-size:13px;}
  .util-right a:hover, .util-right button:hover{color:var(--red);}

  .header{padding:22px 0; border-bottom:1px solid var(--line);}
  .header-row{display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:24px;}
  .header-row .searchbar{justify-self:center; width:100%;}
  @media(max-width:640px){ .header-row{grid-template-columns:1fr; justify-items:center;} }
  .logo{display:flex; align-items:center; gap:10px; font-family:var(--disp); font-weight:800; font-size:26px; white-space:nowrap;}
  .logo .mark{width:54px; height:54px; border-radius:50%; background:var(--gold); display:flex; align-items:center; justify-content:center; color:#fff; font-size:20px;}
  .logo .gsm{color:var(--gold);}
  .logo .jtsr{color:var(--red);}
  .logo .logo-text{color:var(--red);}

  .searchbar{flex:1; min-width:240px; max-width:680px; display:flex; align-items:center; border:1.5px solid var(--line); border-radius:99px; overflow:hidden; transition:all .2s ease; background:#f8f9fa; box-shadow:0 2px 8px rgba(20,25,40,0.04);}
  .searchbar:focus-within{border-color:var(--red); box-shadow:0 4px 16px rgba(232,84,63,0.15); background:#fff;}
  .searchbar .search-ico{padding:0 16px; font-size:17px; opacity:0.55; flex-shrink:0;}
  .searchbar input{flex:1; border:none; outline:none; padding:15px 6px; font-size:15.5px; background:transparent;}
  .searchbar button{border:none; background:linear-gradient(135deg,var(--red),#ff6b6b); color:#fff; padding:15px 28px; font-size:14.5px; font-weight:700; transition:all .2s; cursor:pointer;}
  .searchbar button:hover{background:linear-gradient(135deg,var(--red-dark),#ff5555);}
  .searchbar .clear-search{border:none; background:transparent; color:var(--muted); padding:0 12px; font-size:15px; cursor:pointer; display:none;}
  .searchbar .clear-search:hover{color:var(--red);}

  .search-filters{display:flex; gap:8px; flex-wrap:wrap; margin-top:16px; margin-bottom:6px;}
  .filter-chip{display:inline-flex; align-items:center; gap:6px; padding:7px 14px; border-radius:99px; border:1px solid var(--line); background:#fff; font-size:12.5px; font-weight:600; color:var(--muted); cursor:pointer; transition:.15s ease;}
  .filter-chip:hover{border-color:var(--red); color:var(--red);}
  .filter-chip.active{background:var(--red); border-color:var(--red); color:#fff;}
  .filter-chip .count{font-size:11px; background:rgba(0,0,0,0.1); padding:1px 6px; border-radius:99px;}
  .filter-chip.active .count{background:rgba(255,255,255,0.25);}

  .search-meta{font-size:12.5px; color:var(--muted); margin-bottom:12px; display:flex; align-items:center; gap:8px;}
  .search-meta strong{color:var(--ink);}

  .cart{display:flex; align-items:center; gap:12px; white-space:nowrap; font-size:13px; color:var(--muted);}
  .user-chip{font-weight:600; color:var(--ink);}

  nav.mainnav{background:var(--red);}
  .mainnav ul{display:flex; max-width:1180px; margin:0 auto; flex-wrap:wrap;}
  .mainnav a{display:flex; align-items:center; gap:9px; padding:19px 24px; color:#fff; font-weight:700; font-size:15.5px; border-right:1px solid rgba(255,255,255,0.15);}
  .mainnav a:hover{background:var(--red-dark);}

  .quota-bar{background:#ececea; border-bottom:1px solid var(--line);}
  .quota-row{display:flex; align-items:center; gap:16px; max-width:1180px; margin:0 auto; padding:10px 16px;}
  .quota-label{display:flex; align-items:center; gap:8px; font-weight:700; font-size:13px; color:#9a9a9a; min-width:150px;}
  .quota-track{flex:1; height:14px; background:#2a2d34; border:1px solid #3a3d44; border-radius:10px; overflow:hidden;}
  .quota-fill{height:100%; background:linear-gradient(90deg,#2e7d43,#66bb6a); width:0%; border-radius:10px; transition:width .8s ease; box-shadow:0 0 8px rgba(46,125,67,0.5);}
  .quota-amount{font-size:12.5px; font-weight:600; color:#9a9a9a; white-space:nowrap;}

  .crumb-block{border-bottom:1px solid var(--line); background:#fafaf9;}
  .crumb-row{display:flex; align-items:stretch; max-width:1180px; margin:0 auto; flex-wrap:wrap;}
  .crumb-tab{display:flex; align-items:center; gap:8px; padding:12px 18px; font-size:13px; color:var(--muted); font-weight:600; cursor:pointer;}
  .crumb-tab:hover{color:var(--red);}

  section{padding:20px 0 50px;}
  .cat-header{display:flex; align-items:center; gap:16px; padding:14px 0 8px;}
  .back-btn{width:54px; height:54px; border-radius:var(--radius); background:var(--red); color:#fff; border:none; display:flex; align-items:center; justify-content:center; font-size:18px; flex-shrink:0;}
  .cat-header h1{font-family:var(--disp); font-size:20px; font-weight:700;}

  .folder-grid{display:grid; grid-template-columns:repeat(auto-fill,minmax(320px,1fr)); gap:22px; margin-top:18px;}
  .folder-card{position:relative; border:1px solid var(--line); border-radius:var(--radius); padding:28px; display:flex; align-items:flex-start; gap:18px; transition:.15s ease; cursor:pointer; overflow:hidden; background:none; text-align:left; width:100%;}
  .folder-card:hover{border-color:var(--red); box-shadow:0 2px 8px rgba(0,0,0,0.05);}
  .folder-card .f-icon{width:68px; height:58px; flex-shrink:0; border-radius:4px 8px 8px 4px; position:relative; display:flex; align-items:center; justify-content:center; background:#4a90d9;}
  .folder-card .f-icon:not(.has-svg-icon)::before{content:''; position:absolute; top:-9px; left:0; width:34px; height:12px; border-radius:4px 4px 0 0; background:inherit;}
  .folder-card .f-icon.has-svg-icon::before{display:none;}
  .folder-card .f-icon.has-svg-icon{width:72px; height:62px; background:transparent !important;}
  .folder-card h4{font-size:16px; font-weight:700;}
  .folder-card p{font-size:13.5px; color:var(--muted); margin-top:5px;}
  .ribbon{position:absolute; top:10px; left:-26px; transform:rotate(-45deg); background:var(--red); color:#fff; font-size:9.5px; font-weight:700; padding:2px 30px; text-transform:uppercase;}

  .file-list{display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:12px; margin-top:12px;}
  .file-list.list-view{display:flex; flex-direction:column; gap:8px;}
  .file-list.list-view .file-card{flex-direction:row; align-items:stretch;}
  .file-list.list-view .fc-body{flex-direction:row; align-items:flex-start; padding:16px 18px; flex:1;}
  .file-list.list-view .file-icon{width:60px; height:66px;}
  .file-list.list-view .fc-action{padding:16px 18px;}
  .file-card{background:#fff; border:1px solid var(--line); border-radius:12px; overflow:hidden; transition:all 0.25s ease; position:relative; display:flex; flex-direction:column;}
  .file-card:hover{border-color:var(--red); box-shadow:0 8px 28px rgba(0,0,0,0.12); transform:scale(1.02); z-index:5;}
  .file-card .fc-body{padding:16px 16px; display:flex; gap:14px; align-items:flex-start; flex:1;}
  .file-icon{width:56px; height:64px; border-radius:6px; background:#eef1f4; display:flex; align-items:center; justify-content:center; color:#4a90d9; font-size:13px; font-weight:700; flex-shrink:0; overflow:hidden; position:relative;}
  .file-icon img{width:100%; height:100%; object-fit:cover; border-radius:4px;}
  .file-icon.has-image::after{display:none;}
  .file-meta{flex:1; min-width:0;}
  .file-name{font-size:15.5px; font-weight:700; color:var(--ink); line-height:1.4; word-break:break-word; display:inline;}
  .file-sub{font-size:13px; color:var(--muted); margin-top:5px; line-height:1.5;}
  .file-badge{display:inline-block; font-size:10px; font-weight:700; padding:3px 9px; border-radius:4px; color:#fff; text-transform:uppercase; margin-left:8px; vertical-align:middle;}
  .file-badge.new{background:var(--red);}
  .file-badge.featured{background:#3a6fd8;}
  .price-tag{display:inline-block; font-size:12px; font-weight:700; color:#fff; background:#2e7d43; padding:3px 9px; border-radius:5px; white-space:nowrap; margin-bottom:6px;}
  .price-tag.free{background:#eef1f4; color:var(--muted);}
  .price-tag.paid{background:var(--red); font-family:var(--disp); font-size:15px; padding:4px 11px; box-shadow:0 2px 6px rgba(232,84,63,0.3);}
  .fc-meta-row{display:flex; align-items:center; gap:12px; margin-top:8px; font-size:12.5px; color:var(--muted);}
  .fc-meta-row .meta-item{white-space:nowrap;}
  .fc-meta-row .sep{width:1px; height:10px; background:var(--line);}
  .fc-action{display:flex; align-items:center; flex-shrink:0; padding:16px 18px;}.fc-action .fc-btn{display:flex; align-items:center; gap:6px; border:none; border-radius:8px; padding:10px 22px; font-size:14px; font-weight:700; color:#fff; cursor:pointer; transition:all 0.25s ease;}
  .fc-action .fc-btn.dl{background:var(--red);}
  .fc-action .fc-btn.dl:hover{background:var(--red-dark); transform:scale(1.08);}
  .fc-action .fc-btn.buy{background:#1c1f24;}
  .fc-action .fc-btn.buy:hover{background:#333; transform:scale(1.08);}
  .file-list.grid-view .file-card{flex-direction:column;}
  .file-list.grid-view .fc-body{flex-direction:column; text-align:center; gap:6px;}
  .file-list.grid-view .file-icon{margin:0 auto;}
  .file-list.grid-view .fc-action{justify-content:center; padding-top:0; border-top:1px solid #f0f0f0; width:100%;}
  
  
  .file-list.grid-view .fc-action .fc-btn{width:100%; justify-content:center;}
  .empty-msg{padding:40px; text-align:center; color:var(--muted); font-size:13.5px; grid-column:1/-1;}
  .folder-empty{text-align:center; padding:40px 20px; display:flex; flex-direction:column; align-items:center; justify-content:center; min-height:50vh; grid-column:1/-1;}
  .folder-empty h2{font-family:var(--disp); font-size:28px; font-weight:700; color:var(--red); margin-bottom:10px;}
  .folder-empty p{font-size:14px; color:var(--muted); margin-bottom:24px;}
  .folder-empty .fe-btn{display:inline-flex; align-items:center; gap:8px; background:#3a6fd8; color:#fff; border:none; border-radius:8px; padding:12px 24px; font-size:14px; font-weight:600; cursor:pointer; text-decoration:none;}
  .folder-empty .fe-btn:hover{background:#2a5fb8;}

  /* Sort/Filter Bar */
  .sort-bar{display:flex; align-items:center; gap:10px; padding:10px 0; margin-bottom:12px; flex-wrap:wrap;}
  .sort-bar select{padding:7px 12px; border:1px solid var(--line); border-radius:6px; font-size:13px; background:#fff; color:var(--ink); cursor:pointer;}
  .sort-bar select:hover{border-color:var(--red);}
  .sort-btn{padding:7px 16px; background:var(--red); color:#fff; border:none; border-radius:6px; font-size:13px; font-weight:600; cursor:pointer;}
  .sort-btn:hover{background:var(--red-dark);}
  .view-toggle{display:flex; gap:4px; margin-left:auto;}
  .view-toggle button{width:36px; height:34px; border:1px solid var(--line); background:#fff; border-radius:6px; cursor:pointer; font-size:14px; display:flex; align-items:center; justify-content:center;}
  .view-toggle button.active{background:var(--red); color:#fff; border-color:var(--red);}
  .view-toggle button:hover{border-color:var(--red);}

  /* Floating Social Buttons */
  .float-social{position:fixed; left:16px; bottom:80px; z-index:90; display:flex; flex-direction:column; gap:10px;}
  .float-social a{width:48px; height:48px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:22px; color:#fff; text-decoration:none; box-shadow:0 4px 12px rgba(0,0,0,0.15); transition:all 0.25s ease;}
  .float-social a:hover{transform:scale(1.15) translateY(-2px);}
  .float-social .wa{background:#25D366;}
  .float-social .tg{background:#0088cc;}

  /* Horizontal file list items */
  .section-block{margin-bottom:16px;}
  .section-label{display:inline-flex; align-items:center; gap:6px; background:var(--red); color:#fff; font-size:12px; font-weight:700; padding:5px 12px; border-radius:4px; text-transform:uppercase; white-space:nowrap; margin-bottom:8px;}
  .section-label.top{background:var(--red);}
  .h-file-list{display:block; overflow:hidden; position:relative; padding:6px 0;}
  .h-file-track{display:flex; gap:0; width:max-content; animation:scrollLeft 30s linear infinite;}
  .h-file-list:hover .h-file-track{animation-play-state:paused;}
  @keyframes scrollLeft{0%{transform:translateX(0);}100%{transform:translateX(-50%);}}
  .h-file-item{display:inline-flex; align-items:center; gap:6px; padding:4px 0; white-space:nowrap; cursor:pointer;}
  .h-file-item:not(:last-child)::after{content:'|'; color:var(--line); margin-left:8px; margin-right:8px;}
  .h-file-item:hover .hf-name{text-decoration:underline;}
  .h-file-item .hf-name{font-size:13px; font-weight:600; color:var(--red); text-decoration:none;}
  .h-file-item .hf-badge{font-size:9px; font-weight:700; padding:1px 6px; border-radius:3px; color:#fff; text-transform:uppercase; background:#3a6fd8; margin-left:4px;}
  .h-file-item .hf-badge.new{background:var(--red);}
  .h-file-item .hf-meta{font-size:11px; color:var(--muted); margin-left:4px;}
  .h-file-empty{flex:1; font-size:12.5px; color:var(--muted); padding:8px 14px;}

  /* Auth modal */
  .modal-bg{display:none; position:fixed; inset:0; background:rgba(0,0,0,0.55); z-index:100; align-items:center; justify-content:center; backdrop-filter:blur(3px);}
  .modal-bg.open{display:flex;}
  .modal{background:#fff; border-radius:16px; padding:32px 28px; width:380px; max-width:92vw; max-height:90vh; overflow-y:auto; box-shadow:0 12px 40px rgba(0,0,0,0.15);}
  .modal-wrap{position:relative;}
  .modal h3{font-family:var(--disp); font-size:22px; margin-bottom:4px; font-weight:700;}
  .modal .subhead{font-size:13px; color:var(--muted); margin-bottom:20px;}
  .modal label{display:block; font-size:12.5px; font-weight:600; color:#444; margin-bottom:5px; margin-top:10px;}
  .modal input[type=text],.modal input[type=email],.modal input[type=tel],.modal input[type=password]{width:100%; padding:12px 14px; border:1.5px solid #e0e0e0; border-radius:10px; font-size:14px; transition:border-color .2s; background:#fafafa;}
  .modal input:focus{outline:none; border-color:var(--red); background:#fff;}
  .modal .pwd-wrap{position:relative;}
  .modal .pwd-wrap input{padding-right:42px;}
  .modal .pwd-toggle{position:absolute; right:12px; top:50%; transform:translateY(-50%); cursor:pointer; color:var(--muted); font-size:16px; background:none; border:none;}
  .modal .remember-row{display:flex; align-items:center; justify-content:space-between; margin:14px 0 4px;}
  .modal .remember-row label{display:flex; align-items:center; gap:6px; margin:0; cursor:pointer; font-size:13px; color:#555; font-weight:500;}
  .modal input[type=checkbox]{accent-color:var(--red); width:16px; height:16px;}
  .modal .forgot-link{font-size:12.5px; color:var(--red); font-weight:600; text-decoration:none;}
  .modal .forgot-link:hover{text-decoration:underline;}
  .modal button.submit{width:100%; background:var(--red); color:#fff; border:none; padding:13px; border-radius:10px; font-weight:700; font-size:15px; margin-top:14px; cursor:pointer; transition:background .2s;}
  .modal button.submit:hover{background:var(--red-dark);}
  .modal .divider{display:flex; align-items:center; text-align:center; margin:18px 0;}
  .modal .divider::before,.modal .divider::after{content:''; flex:1; height:1px; background:#e8e8e8;}
  .modal .divider span{padding:0 14px; font-size:11px; color:var(--muted); font-weight:600; letter-spacing:0.5px;}
  .modal .oauth-btn{width:100%; background:#fff; border:1.5px solid #e8e8e8; border-radius:10px; padding:11px; font-size:13.5px; font-weight:600; color:#333; cursor:pointer; display:flex; align-items:center; justify-content:center; gap:10px; margin-bottom:9px; transition:background .2s;}
  .modal .oauth-btn:hover{background:#f8f8f8;}
  .modal .switch{text-align:center; margin-top:16px; font-size:13px; color:var(--muted);}
  .modal .switch a{color:var(--red); font-weight:600; text-decoration:none;}
  .modal .switch a:hover{text-decoration:underline;}
  .modal .close{position:absolute; top:16px; right:20px; background:none; border:none; font-size:20px; color:var(--muted); cursor:pointer; z-index:1;}
  .modal .close:hover{color:#333;}
  .modal-msg{font-size:12.5px; margin-bottom:12px; padding:10px 12px; border-radius:8px;}
  .modal-msg.err{background:#fdeceb; color:var(--red-dark);}
  .modal-msg.ok{background:#e9f7ee; color:#2e7d43;}
  .otp-input{width:48px; height:52px; text-align:center; font-size:20px; font-weight:700; border:1.5px solid #e0e0e0; border-radius:10px; background:#fafafa; transition:border-color .2s;}
  .otp-input:focus{outline:none; border-color:var(--red); background:#fff;}


  /* ===== Customer Dashboard - Premium ===== */
  .dash-overlay{display:none; position:fixed; inset:0; background:rgba(15,18,25,0.65); z-index:90; align-items:center; justify-content:center; backdrop-filter:blur(4px); animation:fadeIn .2s;}
  @keyframes fadeIn{from{opacity:0}to{opacity:1}}
  .dash-overlay.open{display:flex;}
  .dash-box{background:#fff; border-radius:18px; width:1150px; max-width:96vw; max-height:92vh; overflow:hidden; display:flex; box-shadow:0 20px 60px rgba(0,0,0,0.2); position:relative; animation:slideUp .3s ease-out;}
  @keyframes slideUp{from{transform:translateY(20px); opacity:0}to{transform:translateY(0); opacity:1}}
  .dash-sidebar{width:280px; background:linear-gradient(180deg,#1a1d24 0%,#22262e 100%); color:#c9c8c5; display:flex; flex-direction:column; overflow-y:auto; flex-shrink:0;}
  .dash-sidebar::-webkit-scrollbar{width:5px;}
  .dash-sidebar::-webkit-scrollbar-thumb{background:#3a3f47; border-radius:5px;}
  .dash-sidebar .user-block{padding:24px 18px; border-bottom:1px solid rgba(255,255,255,0.06); text-align:center;}
  .dash-sidebar .avatar{width:64px; height:64px; border-radius:50%; background:linear-gradient(135deg,var(--red),#ff6b6b); color:#fff; display:flex; align-items:center; justify-content:center; font-size:26px; font-weight:700; margin:0 auto 10px; box-shadow:0 4px 12px rgba(230,57,70,0.3);}
  .dash-sidebar .uname{font-size:14px; font-weight:600; color:#fff; word-break:break-all; overflow-wrap:break-word; line-height:1.3;}
  .dash-sidebar .uemail{font-size:12px; color:#7a7e87; margin-top:3px; word-break:break-word;}
  .dash-plan-card{padding:16px 18px; border-bottom:1px solid rgba(255,255,255,0.06); background:rgba(0,0,0,0.2);}
  .dash-plan-card .pname{font-size:13px; font-weight:700; color:#ffb74d; text-transform:uppercase; letter-spacing:0.8px; display:flex; align-items:center; gap:6px;}
  .dash-plan-card .pdates{font-size:11.5px; color:#7a7e87; margin:6px 0 12px;}
  .dash-plan-card .pbar-wrap{margin-bottom:10px;}
  .dash-plan-card .pbar-label{display:flex; justify-content:space-between; font-size:11px; color:#9a9ea7; margin-bottom:4px;}
  .dash-plan-card .pbar{height:7px; background:rgba(255,255,255,0.08); border-radius:4px; overflow:hidden;}
  .dash-plan-card .pbar-fill{height:100%; border-radius:4px; transition:width .4s ease; position:relative; background:linear-gradient(90deg,#4caf7d,#2e9e5b);}
  .dash-plan-card .pbar-fill::after{content:''; position:absolute; inset:0; background:linear-gradient(90deg,transparent,rgba(255,255,255,0.2),transparent); animation:shimmer 2s infinite;}
  @keyframes shimmer{0%{transform:translateX(-100%)}100%{transform:translateX(100%)}}
  .pbar-fill.green{background:linear-gradient(90deg,#4caf50,#66bb6a);}
  .pbar-fill.orange{background:linear-gradient(90deg,#ff9800,#ffa726);}
  .pbar-fill.red{background:linear-gradient(90deg,#f44336,#ef5350);}
  .dash-nav{flex:1; padding:10px 0;}
  .dash-nav a{display:flex; align-items:center; gap:12px; padding:12px 20px; font-size:14px; color:#a8acb5; text-decoration:none; cursor:pointer; transition:all .2s; border-left:3px solid transparent; font-weight:500;}
  .dash-nav a:hover{background:rgba(255,255,255,0.04); color:#fff;}
  .dash-nav a.active{background:rgba(230,57,70,0.08); border-left-color:var(--red); color:#fff; font-weight:600;}
  .dash-nav a .ico{font-size:18px; width:22px; text-align:center;}
  .dash-main{flex:1; overflow-y:auto; padding:32px 34px; background:#f5f6f8;}
  .dash-main::-webkit-scrollbar{width:6px;}
  .dash-main::-webkit-scrollbar-thumb{background:#d0d0d0; border-radius:5px;}
  .dash-main h2{font-size:24px; font-weight:800; color:#1a1d24; margin-bottom:6px;}
  .dash-main .sub{font-size:14px; color:#7a7e87; margin-bottom:26px;}
  .dash-close{position:absolute; top:16px; right:20px; background:rgba(0,0,0,0.05); border:none; width:36px; height:36px; border-radius:50%; font-size:18px; color:#666; cursor:pointer; z-index:10; display:flex; align-items:center; justify-content:center; transition:all .2s;}
  .dash-close:hover{background:rgba(0,0,0,0.1); color:#333; transform:rotate(90deg);}
  .dash-info-grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:16px; margin-bottom:26px;}
  .dash-info-card{background:#fff; border:1px solid #ececef; border-radius:14px; padding:18px 20px; transition:transform .2s, box-shadow .2s;}
  .dash-info-card:hover{transform:translateY(-2px); box-shadow:0 8px 24px rgba(0,0,0,0.06);}
  .dash-info-card .lbl{font-size:11px; color:#9a9ea7; text-transform:uppercase; letter-spacing:0.8px; margin-bottom:6px; font-weight:600;}
  .dash-info-card .val{font-size:17px; font-weight:700; color:#1a1d24; word-break:break-word;}
  .dash-info-card .ico-circle{width:38px; height:38px; border-radius:10px; display:flex; align-items:center; justify-content:center; font-size:18px; margin-bottom:10px;}
  .dash-balance-box{background:linear-gradient(135deg,#1a1d24 0%,#2d3139 100%); color:#fff; border-radius:16px; padding:28px; text-align:center; margin-bottom:26px; position:relative; overflow:hidden;}
  .dash-balance-box::before{content:''; position:absolute; top:-30px; right:-30px; width:120px; height:120px; background:rgba(230,57,70,0.15); border-radius:50%;}
  .dash-balance-box::after{content:''; position:absolute; bottom:-40px; left:-20px; width:100px; height:100px; background:rgba(255,183,77,0.1); border-radius:50%;}
  .dash-balance-box .b-lbl{font-size:14px; opacity:0.7; position:relative;}
  .dash-balance-box .amt{font-size:36px; font-weight:800; margin:8px 0 14px; position:relative;}
  .dash-balance-box .amt .rupee{color:#ffb74d;}
  .dash-balance-box button{position:relative;}
  .dash-table-wrap{background:#fff; border:1px solid #ececef; border-radius:14px; overflow:hidden;}
  .dash-table{width:100%; border-collapse:collapse;}
  .dash-table th{text-align:left; font-size:11px; color:#9a9ea7; text-transform:uppercase; letter-spacing:0.6px; padding:14px 16px; border-bottom:2px solid #ececef; background:#fafafa; font-weight:700;}
  .dash-table td{padding:13px 16px; font-size:13.5px; border-bottom:1px solid #f0f0f3; color:#444;}
  .dash-table tr:last-child td{border-bottom:none;}
  .dash-table tr:hover{background:#f9f9fb;}
  .dash-form{max-width:520px;}
  .dash-form label{display:block; font-size:13px; font-weight:600; color:#1a1d24; margin-bottom:6px; margin-top:18px;}
  .dash-form input{width:100%; padding:12px 16px; border:1.5px solid #e0e0e4; border-radius:12px; font-size:14px; background:#fff; transition:border-color .2s, box-shadow .2s;}
  .dash-form input:focus{outline:none; border-color:var(--red); box-shadow:0 0 0 3px rgba(230,57,70,0.1);}
  .dash-form input:disabled{opacity:0.5; background:#f5f6f8;}
  .dash-form button{margin-top:18px;}
  .dash-empty{text-align:center; padding:50px 20px; color:#9a9ea7; font-size:15px;}
  .dash-empty .emoji{font-size:42px; margin-bottom:12px; display:block;}
  .badge-ok{background:linear-gradient(135deg,#e9f7ee,#d4f0dd); color:#2e7d43; padding:4px 12px; border-radius:20px; font-size:11.5px; font-weight:700; display:inline-flex; align-items:center; gap:4px;}
  .badge-exp{background:linear-gradient(135deg,#fdeceb,#f9d6d3); color:var(--red-dark); padding:4px 12px; border-radius:20px; font-size:11.5px; font-weight:700; display:inline-flex; align-items:center; gap:4px;}
  .ref-card{background:linear-gradient(135deg,#fff8f0,#fff); border:2px dashed #ffb74d; border-radius:16px; padding:28px; text-align:center; margin-bottom:18px;}
  .ref-card .code{font-size:28px; font-weight:800; color:var(--red); letter-spacing:3px; margin:10px 0; font-family:monospace;}
  .ref-card .copy-btn{margin-top:8px;}
  .dash-section-title{font-size:17px; font-weight:700; color:#1a1d24; margin:26px 0 14px; padding-bottom:8px; border-bottom:2px solid #ececef;}
  .dash-btn{background:var(--red); color:#fff; border:none; padding:10px 24px; border-radius:10px; font-weight:600; font-size:14px; cursor:pointer; transition:background .2s, transform .2s;}
  .dash-btn:hover{background:var(--red-dark); transform:translateY(-1px);}
  .dash-btn.outline{background:#fff; color:var(--red); border:1.5px solid var(--red);}
  .dash-btn.outline:hover{background:#fff5f5;}
  .stat-row{display:flex; gap:16px; margin-bottom:26px; flex-wrap:wrap;}
  .stat-pill{background:#fff; border:1px solid #ececef; border-radius:14px; padding:16px 20px; flex:1; min-width:200px; display:flex; align-items:center; gap:14px; overflow:hidden;}
  .stat-pill .pill-ico{width:54px; height:54px; border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:22px; flex-shrink:0;}
  .stat-pill .pill-val{font-size:17px; font-weight:800; color:#1a1d24; word-break:break-all; overflow-wrap:break-word; line-height:1.2; overflow:hidden; text-overflow:ellipsis;}
  .stat-pill .pill-lbl{font-size:12px; color:#9a9ea7; font-weight:500; white-space:nowrap;}
  @media(max-width:768px){
    .dash-box{flex-direction:column;}
    .dash-sidebar{width:100%; max-height:200px;}
    .dash-nav{display:flex; flex-wrap:wrap; padding:6px;}
    .dash-nav a{padding:8px 12px; font-size:12px; border-left:none; border-bottom:3px solid transparent;}
    .dash-nav a.active{border-bottom-color:var(--red); border-left:none;}
    .dash-main{padding:20px 16px;}
  }

  footer{background:#2b2f36; color:#c9c8c5; padding:34px 0; margin-top:40px; font-size:12.5px;}
  .foot-row{display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; max-width:1180px; margin:0 auto; padding:0 20px;}

  @media(max-width:720px){
    .file-list{grid-template-columns:1fr;}
  }

  
  /* Auth area on dark topbar */
  .util-right .user-chip{color:#fff; font-weight:600; font-size:13.5px; display:inline-flex; align-items:center; gap:6px; padding:4px 12px; background:rgba(255,255,255,0.08); border-radius:99px;}
  .util-right a{color:#c9c8c5; transition:color .2s;}
  .util-right a:hover{color:#ffb74d;}
  .util-right button{color:#c9c8c5; background:rgba(255,255,255,0.08); border:1px solid rgba(255,255,255,0.1); padding:5px 14px; border-radius:6px; font-size:12.5px; transition:all .2s;}
  .util-right button:hover{background:rgba(232,84,63,0.2); color:#fff; border-color:var(--red);}

  /* Plan Badge */
  .plan-badge{display:inline-flex; align-items:center; gap:8px; background:linear-gradient(135deg,#f0f7ff,#e8f4fd); border:1.5px solid #b3d9f2; color:#1a73e8; padding:8px 16px; border-radius:99px; font-size:13px; font-weight:700; white-space:nowrap; transition:all .2s;}
  .plan-badge:hover{box-shadow:0 2px 8px rgba(26,115,232,0.15);}
  .plan-dot{width:8px; height:8px; border-radius:50%; background:#1a73e8; animation:pulse 2s infinite;}
  @keyframes pulse{0%,100%{opacity:1}50%{opacity:0.5}}
  .cart{display:none;}

/* ===== Hero Banner ===== */
  .hero-banner{position:relative; background:linear-gradient(135deg,#1a1d24 0%,#2d1820 40%,#3a1a14 70%,#e8543f 100%); overflow:hidden;}
  .hero-overlay{position:absolute; inset:0; background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60"><circle cx="30" cy="30" r="1" fill="rgba(255,255,255,0.08)"/></svg>') repeat; opacity:0.5;}
  .hero-content{position:relative; text-align:center; z-index:1; min-height:280px; display:flex; flex-direction:column; justify-content:center; padding:95px 0 85px;}
  .hero-title{font-family:var(--disp); font-size:44px; font-weight:800; color:#fff; line-height:1.2; margin-bottom:14px; letter-spacing:-0.5px;}
  .hero-accent{background:linear-gradient(90deg,#ffb74d,#e8543f); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;}
  .hero-sub{font-size:16.5px; color:rgba(255,255,255,0.75); margin-bottom:36px; max-width:620px; margin-left:auto; margin-right:auto; line-height:1.6;}
  .hero-search{display:flex; max-width:620px; margin:0 auto 22px; background:rgba(255,255,255,0.95); border-radius:12px; overflow:hidden; box-shadow:0 8px 30px rgba(0,0,0,0.3);}
  .hero-search input{flex:1; border:none; outline:none; padding:16px 20px; font-size:15px; background:transparent;}
  .hero-search button{border:none; background:linear-gradient(135deg,var(--red),#ff6b6b); color:#fff; padding:0 28px; font-size:15px; font-weight:700; cursor:pointer; transition:all .2s;}
  .hero-search button:hover{background:linear-gradient(135deg,var(--red-dark),#ff5555); transform:scale(1.02);}
  .hero-stats{display:flex; align-items:center; justify-content:center; gap:32px;}
  .hero-stat{display:flex; flex-direction:column; align-items:center;}
  .hero-stat strong{font-family:var(--disp); font-size:28px; font-weight:800; color:#ffb74d;}
  .hero-stat span{font-size:12.5px; color:rgba(255,255,255,0.6); text-transform:uppercase; letter-spacing:0.5px; margin-top:3px;}
  .hero-stat-divider{width:1px; height:40px; background:rgba(255,255,255,0.15);}
  @media(max-width:600px){
    .hero-content{min-height:0;}
    .hero-title{font-size:26px;}
    .hero-sub{font-size:13px; margin-bottom:22px;}
    .hero-search{flex-direction:column; border-radius:12px;}
    .hero-search button{padding:14px; border-radius:0 0 12px 12px;}
    .hero-stats{gap:14px;}
    .hero-stat strong{font-size:18px;}
  }

  /* ===== Improved Folder Cards ===== */
  .folder-card{position:relative; border:1px solid var(--line); border-radius:12px; padding:28px; display:flex; align-items:flex-start; gap:18px; transition:all .25s ease; cursor:pointer; overflow:hidden; background:#fff; text-align:left; width:100%;}
  .folder-card:hover{border-color:var(--red); box-shadow:0 8px 24px rgba(232,84,63,0.12); transform:translateY(-3px);}
  .folder-card:active{transform:translateY(-1px);}
  .folder-card .f-icon{transition:transform .25s ease;}
  .folder-card:hover .f-icon{transform:scale(1.08);}

  /* ===== Premium Section Labels ===== */
  .section-label{display:inline-flex; align-items:center; gap:6px; background:linear-gradient(135deg,var(--red),#ff6b6b); color:#fff; font-size:12px; font-weight:700; padding:6px 14px; border-radius:6px; text-transform:uppercase; white-space:nowrap; margin-bottom:10px; box-shadow:0 2px 8px rgba(232,84,63,0.2);}
  .section-label.top{background:linear-gradient(135deg,#ff9800,#ffb74d);}

  /* ===== Premium Nav ===== */
  nav.mainnav{background:linear-gradient(90deg,#1a1d24 0%,#2d1820 50%,#e8543f 100%); box-shadow:0 2px 10px rgba(0,0,0,0.15);}
  .mainnav a{transition:all .2s;}
  .mainnav a:hover{background:rgba(255,255,255,0.12);}

  /* ===== Premium Topbar ===== */
  .topbar{background:#1a1d24; border-bottom:1px solid rgba(255,255,255,0.05);}
  .topbar-row{color:#c9c8c5;}
  .social{color:#9a9ea7;}
  .util-right{color:#c9c8c5;}
  .util-right a, .util-right button{color:#c9c8c5;}
  .util-right a:hover, .util-right button:hover{color:#ffb74d;}

  /* ===== Premium Logo ===== */
  .logo .mark{background:linear-gradient(135deg,var(--gold),#ffb74d); box-shadow:0 4px 12px rgba(201,134,15,0.3); transition:transform .3s;}
  .logo:hover .mark{transform:rotate(360deg); transition:transform .6s ease;}

  /* ===== Premium Header ===== */
  .header{background:#fff; box-shadow:0 1px 0 rgba(0,0,0,0.03);}

  /* ===== Premium Quota Bar ===== */
  .quota-bar{background:#1a1d24; border-bottom:1px solid rgba(255,255,255,0.05);}
  .quota-label{color:#9a9ea7;}
  .quota-track{background:#2d3139; border-color:#3a3f47;}
  .quota-fill{background:linear-gradient(90deg,#2e9e5b,#4caf7d,#2e9e5b); background-size:200% 100%; border-radius:var(--radius); transition:width .6s cubic-bezier(.4,0,.2,1); animation:quota-shimmer 2.5s linear infinite, quota-pulse 2s ease-in-out infinite; box-shadow:0 0 10px rgba(46,158,91,0.6);}
  @keyframes quota-shimmer{0%{background-position:0% 0;} 100%{background-position:200% 0;}}
  @keyframes quota-pulse{0%,100%{box-shadow:0 0 6px rgba(46,158,91,0.4);} 50%{box-shadow:0 0 16px rgba(46,158,91,0.8);}}
  .quota-amount{color:#9a9ea7;}

  /* ===== Premium Breadcrumb ===== */
  .crumb-block{background:#1a1d24; border-bottom:1px solid rgba(255,255,255,0.05);}
  .crumb-tab{color:#9a9ea7; transition:all .2s;}
  .crumb-tab:hover{color:#ffb74d;}

  /* ===== Premium Footer ===== */
  footer{background:#1a1d24; color:#9a9ea7;}

  /* ===== File Card Hover ===== */
  .file-card{transition:all .25s ease;}
  .file-card:hover{box-shadow:0 10px 32px rgba(0,0,0,0.14); transform:scale(1.02); z-index:5;}

  /* ===== Ticker (auto-scrolling Recent/Top Files strip) ===== */
  .ticker-row{display:flex; align-items:stretch; border:1px solid var(--line); border-radius:10px; overflow:hidden; margin-bottom:10px; background:#fff; height:44px;}
  .ticker-label{flex-shrink:0; display:flex; align-items:center; gap:7px; padding:0 16px; background:var(--ink); color:#fff; font-weight:700; font-size:12.5px; white-space:nowrap; border-right:3px solid var(--red);}
  .ticker-viewport{flex:1; overflow:hidden; position:relative;}
  .ticker-track{display:flex; align-items:center; width:max-content; animation:ticker-scroll linear infinite; animation-duration:var(--ticker-duration, 30s);}
  .ticker-viewport:hover .ticker-track, .ticker-track.paused{animation-play-state:paused;}
  .ticker-item{display:flex; align-items:center; gap:8px; padding:10px 18px; white-space:nowrap; text-decoration:none; color:var(--ink); border-right:1px solid var(--line); font-size:13px;}
  .ticker-item:hover{background:#faf9f7;}
  .ticker-date{color:var(--muted); font-size:11.5px;}
  .ticker-badge{display:inline-block; font-size:10px; font-weight:700; padding:2px 8px; border-radius:99px; color:#fff;}
  .ticker-badge.featured{background:#2f6fed;}
  .ticker-badge.free{background:#2e9e5b;}
  .ticker-badge.price{background:#2e9e5b;}
  @keyframes ticker-scroll{
    from{transform:translateX(0);}
    to{transform:translateX(-50%);}
  }
  @media (max-width:640px){
    .ticker-label{padding:0 10px; font-size:12px;}
    .ticker-item{padding:8px 12px; font-size:12px;}
  }

  /* ===== Filewale-style horizontal file list (folder.php) ===== */
  .files-heading{font-size:20px; font-weight:800; color:var(--ink); margin:20px 0 12px;}
  .hfile-list{display:flex; flex-direction:column; gap:12px;}
  .hfile-card{display:flex; align-items:center; gap:18px; background:#fff; border:2px solid transparent; background-clip:padding-box; border-radius:14px; padding:20px 26px; transition:transform .25s ease, box-shadow .25s ease; position:relative;}
  .hfile-card::before{content:''; position:absolute; inset:0; border-radius:14px; padding:2px; background:linear-gradient(270deg,#e8543f,#2f6fed,#2e9e5b,#f5a623,#e8543f); background-size:400% 400%; animation:hfile-border-flow 6s linear infinite; -webkit-mask:linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite:xor; mask-composite:exclude; opacity:0; transition:opacity .25s ease; pointer-events:none; z-index:1;}
  .hfile-card:hover{transform:scale(1.025); box-shadow:0 14px 36px rgba(20,25,40,0.14);}
  .hfile-card:hover::before{opacity:1;}
  @keyframes hfile-border-flow{0%{background-position:0% 50%;} 100%{background-position:400% 50%;}}
  .hfile-card.is-featured{border-color:#6d8ef2; box-shadow:0 0 0 1px #6d8ef2 inset;}
  .hfile-icon{flex-shrink:0; width:50px; height:50px; border-radius:10px; background:#eef1f6; display:flex; align-items:center; justify-content:center; color:#6b7684; font-size:22px; overflow:hidden;}

  /* ===== Homepage root-level files — horizontal cards ===== */
  .rootfile-grid{display:grid; grid-template-columns:repeat(auto-fill,minmax(330px,1fr)); gap:14px;}
  .rf-card{position:relative; background:#fff; border:1px solid var(--line); border-radius:14px; padding:14px 16px; transition:.2s; overflow:hidden;}
  .rf-card::before{content:""; position:absolute; left:0; top:0; bottom:0; width:3px; background:linear-gradient(180deg,#ff8a3d,#e8543f); opacity:0; transition:.2s;}
  .rf-card:hover{box-shadow:0 10px 26px rgba(20,25,40,0.10); transform:translateY(-2px); border-color:#e3e0dc;}
  .rf-card:hover::before{opacity:1;}
  .rf-card.is-featured{border-color:#ffd9c2; background:linear-gradient(180deg,#fffaf7,#fff);}
  .rf-top{display:flex; align-items:flex-start; gap:12px;}
  .rf-icon{flex-shrink:0; width:46px; height:46px; border-radius:11px; background:linear-gradient(135deg,#fff1e8,#ffe4d6); display:flex; align-items:center; justify-content:center; color:#e8543f; font-size:20px; overflow:hidden;}
  .rf-icon img{width:100%; height:100%; object-fit:cover;}
  .rf-info{flex:1; min-width:0;}
  .rf-name{display:block; font-weight:700; font-size:14px; color:var(--ink); text-decoration:none; line-height:1.3; word-break:break-word; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;}
  .rf-name:hover{color:#e8543f;}
  .rf-desc{font-size:11.5px; color:var(--muted); margin-top:3px; display:-webkit-box; -webkit-line-clamp:1; -webkit-box-orient:vertical; overflow:hidden;}
  .rf-badge{flex-shrink:0; background:linear-gradient(135deg,#ff8a3d,#e8543f); color:#fff; font-size:9.5px; font-weight:800; padding:3px 9px; border-radius:99px; white-space:nowrap;}
  .rf-bottom{display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:12px; padding-top:11px; border-top:1px dashed #eceae7;}
  .rf-meta{display:flex; align-items:center; gap:8px; font-size:11px; color:#9a9ea7; flex-wrap:wrap; min-width:0;}
  .rf-dot{color:#d9d6d2;}
  .rf-meta .price-tag{font-size:10px; padding:2px 8px; margin:0;}
  .rf-btn{flex-shrink:0; display:inline-flex; align-items:center; gap:7px; background:linear-gradient(135deg,#ff7a3d,#e8543f); color:#fff; font-weight:700; font-size:12.5px; padding:9px 16px; border-radius:9px; text-decoration:none; box-shadow:0 4px 12px rgba(232,84,63,0.25); transition:.2s;}
  .rf-btn:hover{transform:translateY(-1px); box-shadow:0 7px 18px rgba(232,84,63,0.35);}
  @media(max-width:560px){ .rootfile-grid{grid-template-columns:1fr;} .rf-btn{padding:8px 13px; font-size:12px;} }
.hfile-icon img{width:100%; height:100%; object-fit:cover;}
  .hfile-main{flex:1; min-width:0;}
  .hfile-title-row{display:flex; align-items:center; gap:8px; flex-wrap:wrap;}
  .hfile-name{font-weight:700; font-size:17px; color:var(--ink);}
  .hfile-pill{display:inline-flex; align-items:center; gap:4px; font-size:11px; font-weight:700; padding:3px 10px; border-radius:99px; color:#fff; white-space:nowrap;}
  .hfile-pill.new{background:#f5a623;}
  .hfile-pill.featured{background:#2e9e5b;}
  .hfile-pill.free{background:#2e9e5b;}
  .hfile-pill.price{background:#e8543f;}
  .hfile-pill.planonly{background:#6d8ef2;}
  .hfile-desc{font-size:14px; color:var(--muted); margin-top:4px;}
  .hfile-meta{display:flex; gap:16px; margin-top:6px; flex-wrap:wrap;}
  .hfile-meta span{display:inline-flex; align-items:center; gap:5px; font-size:13.5px; color:#6b7684;}
  .hfile-price-block{flex-shrink:0; display:flex; flex-direction:column; align-items:flex-end; margin-right:4px;}
  .hfile-price-amt{font-family:var(--disp); font-size:22px; font-weight:800; color:var(--red); line-height:1.1;}
  .hfile-price-label{font-size:10.5px; color:var(--muted); font-weight:600; text-transform:uppercase; letter-spacing:0.4px;}
  .hfile-dl-btn{flex-shrink:0; display:inline-flex; align-items:center; gap:8px; background:linear-gradient(135deg,#ff7a3d,#e8543f); color:#fff; font-weight:700; font-size:13.5px; padding:11px 22px; border-radius:8px; text-decoration:none; white-space:nowrap;}
  .hfile-dl-btn:hover{opacity:0.92;}
  @media (max-width:700px){
    .hfile-card{flex-wrap:wrap;}
    .hfile-price-block{width:100%; flex-direction:row; align-items:baseline; gap:8px; order:2; margin:4px 0 0;}
    .hfile-dl-btn{width:100%; justify-content:center; order:3;}
  }

  /* ===== Customer Dashboard (full page, not modal) ===== */
  .dash-page-wrap{display:flex; background:#fff; border-radius:18px; overflow:hidden; box-shadow:0 10px 40px rgba(0,0,0,0.08); margin:24px auto; max-width:1180px; min-height:560px; align-items:stretch; padding:0;}
  .dash-sidebar{border-radius:18px 0 0 18px;}
  .dash-sidebar{width:280px; flex-shrink:0; background:linear-gradient(180deg,#1a1d24 0%,#22262e 100%); color:#c9c8c5; display:flex; flex-direction:column;}
  .dash-sidebar .user-block{padding:24px 18px; border-bottom:1px solid rgba(255,255,255,0.06); text-align:center;}
  .dash-sidebar .avatar{width:64px; height:64px; border-radius:50%; background:linear-gradient(135deg,var(--red),#ff6b6b); color:#fff; display:flex; align-items:center; justify-content:center; font-size:26px; font-weight:700; margin:0 auto 10px; box-shadow:0 4px 12px rgba(230,57,70,0.3);}
  .dash-sidebar .uname{font-size:14px; font-weight:600; color:#fff; word-break:break-word; line-height:1.3;}
  .dash-sidebar .uemail{font-size:12px; color:#7a7e87; margin-top:3px; word-break:break-word;}
  .dash-plan-card{padding:16px 18px; border-bottom:1px solid rgba(255,255,255,0.06); background:rgba(0,0,0,0.2);}
  .dash-plan-card .pname{font-size:13px; font-weight:700; color:#ffb74d; text-transform:uppercase; letter-spacing:0.8px; display:flex; align-items:center; gap:6px;}
  .dash-plan-card .pdates{font-size:11.5px; color:#7a7e87; margin:6px 0 12px;}
  .dash-plan-card .pbar-wrap{margin-bottom:10px;}
  .dash-plan-card .pbar-label{display:flex; justify-content:space-between; font-size:11px; color:#9a9ea7; margin-bottom:4px;}
  .dash-plan-card .pbar{height:7px; background:rgba(255,255,255,0.08); border-radius:4px; overflow:hidden;}
  .dash-plan-card .pbar-fill{height:100%; border-radius:4px; transition:width .4s ease; background:linear-gradient(90deg,#4caf7d,#2e9e5b);}
  .pbar-fill.orange{background:linear-gradient(90deg,#ff9800,#ffa726);}
  .pbar-fill.red{background:linear-gradient(90deg,#f44336,#ef5350);}
  .dash-nav{flex:1; padding:10px 0;}
  .dash-nav a{display:flex; align-items:center; gap:12px; padding:12px 20px; font-size:13.5px; color:#a8acb5; text-decoration:none; transition:all .2s; border-left:3px solid transparent; font-weight:500;}
  .dash-nav a:hover{background:rgba(255,255,255,0.04); color:#fff;}
  .dash-nav a.active{background:rgba(230,57,70,0.08); border-left-color:var(--red); color:#fff; font-weight:600;}
  .dash-nav a .ico{font-size:17px; width:20px; text-align:center;}
  .dash-main{flex:1; overflow-x:hidden; padding:30px 32px; background:#f5f6f8;}
  .dash-main h2{font-size:22px; font-weight:800; color:#1a1d24; margin-bottom:6px;}
  .dash-main .sub{font-size:13.5px; color:#7a7e87; margin-bottom:24px;}
  .stat-row{display:flex; gap:16px; margin-bottom:24px; flex-wrap:wrap;}
  .stat-pill{background:#fff; border:1px solid #ececef; border-radius:14px; padding:16px 20px; flex:1; min-width:190px; display:flex; align-items:center; gap:14px; overflow:hidden;}
  .stat-pill .pill-ico{width:50px; height:50px; border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:20px; flex-shrink:0;}
  .stat-pill .pill-val{font-size:16px; font-weight:800; color:#1a1d24; word-break:break-word; line-height:1.2;}
  .stat-pill .pill-lbl{font-size:11.5px; color:#9a9ea7; font-weight:500; white-space:nowrap;}
  .dash-info-grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(190px,1fr)); gap:16px; margin-bottom:24px;}
  .dash-info-card{background:#fff; border:1px solid #ececef; border-radius:14px; padding:18px 20px;}
  .dash-info-card .lbl{font-size:11px; color:#9a9ea7; text-transform:uppercase; letter-spacing:0.8px; margin-bottom:6px; font-weight:600;}
  .dash-info-card .val{font-size:16px; font-weight:700; color:#1a1d24; word-break:break-word;}
  .dash-info-card .ico-circle{width:36px; height:36px; border-radius:10px; display:flex; align-items:center; justify-content:center; font-size:17px; margin-bottom:10px;}
  .dash-balance-box{background:linear-gradient(135deg,#1a1d24 0%,#2d3139 100%); color:#fff; border-radius:16px; padding:26px; text-align:center; margin-bottom:24px; position:relative; overflow:hidden;}
  .dash-balance-box .b-lbl{font-size:13.5px; opacity:0.7; position:relative;}
  .dash-balance-box .amt{font-size:32px; font-weight:800; margin:8px 0 14px; position:relative;}
  .dash-balance-box .amt .rupee{color:#ffb74d;}
  .dash-table-wrap{background:#fff; border:1px solid #ececef; border-radius:14px; overflow:hidden; overflow-x:auto;}
  .dash-table{width:100%; border-collapse:collapse;}
  .dash-table th{text-align:left; font-size:11px; color:#9a9ea7; text-transform:uppercase; letter-spacing:0.6px; padding:13px 16px; border-bottom:2px solid #ececef; background:#fafafa; font-weight:700; white-space:nowrap;}
  .dash-table td{padding:12px 16px; font-size:13px; border-bottom:1px solid #f0f0f3; color:#444; white-space:nowrap;}
  .dash-table tr:last-child td{border-bottom:none;}
  .dash-table tr:hover{background:#f9f9fb;}
  .dash-empty{text-align:center; padding:50px 20px; color:#9a9ea7; font-size:14.5px; background:#fff; border-radius:14px; border:1px solid #ececef;}
  .dash-empty .emoji{font-size:40px; margin-bottom:12px; display:block;}
  .badge-ok{background:linear-gradient(135deg,#e9f7ee,#d4f0dd); color:#2e7d43; padding:4px 12px; border-radius:20px; font-size:11.5px; font-weight:700; display:inline-flex; align-items:center; gap:4px;}
  .badge-exp{background:linear-gradient(135deg,#fdeceb,#f9d6d3); color:var(--red-dark); padding:4px 12px; border-radius:20px; font-size:11.5px; font-weight:700; display:inline-flex; align-items:center; gap:4px;}
  .ref-card{background:linear-gradient(135deg,#fff8f0,#fff); border:2px dashed #ffb74d; border-radius:16px; padding:26px; text-align:center; margin-bottom:18px;}
  .ref-card .code{font-size:26px; font-weight:800; color:var(--red); letter-spacing:3px; margin:10px 0; font-family:monospace;}
  .dash-btn{background:var(--red); color:#fff; border:none; padding:10px 22px; border-radius:10px; font-weight:600; font-size:13.5px; cursor:pointer; text-decoration:none; display:inline-block;}
  .dash-btn:hover{background:var(--red-dark);}
  @media (max-width:820px){
    .dash-page-wrap{flex-direction:column;}
    .dash-sidebar{width:100%;}
    .dash-nav{display:flex; flex-wrap:wrap; padding:8px;}
    .dash-nav a{border-left:none; border-radius:8px; padding:8px 12px;}
  }

