.user-page .hero{padding-bottom:40px}.user-grid{display:grid;grid-template-columns:minmax(280px,420px) 1fr;gap:24px;align-items:start}.user-card{background:rgba(255,255,255,.92);border:1px solid rgba(30,64,175,.12);border-radius:28px;box-shadow:0 24px 70px rgba(15,23,42,.10);padding:24px}.user-tabs{display:flex;gap:8px;background:#eef4ff;border-radius:18px;padding:6px;margin-bottom:18px}.user-tabs button{border:0;background:transparent;border-radius:14px;padding:10px 16px;font-family:inherit;font-weight:800;cursor:pointer;flex:1;color:#244}.user-tabs button.is-active{background:#fff;color:#0b3aa8;box-shadow:0 8px 24px rgba(30,64,175,.12)}.user-form{display:grid;gap:14px}.user-form[hidden],.user-dashboard[hidden],.user-card[hidden]{display:none!important}.user-form h2,.user-dashboard h2{margin:0 0 4px}.user-form label{display:grid;gap:7px;font-weight:700;color:#334155}.user-form input{width:100%;border:1px solid rgba(30,64,175,.16);border-radius:16px;padding:13px 14px;font:inherit;background:#fff;outline:none}.user-form input:focus{border-color:#1e40af;box-shadow:0 0 0 4px rgba(30,64,175,.10)}.user-note{min-height:24px;font-weight:700;color:#0b3aa8}.user-note.is-error{color:#b42318}.user-dashboard__head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;border-bottom:1px solid rgba(15,23,42,.08);padding-bottom:16px;margin-bottom:16px}.user-dashboard__head p{margin:.2rem 0 0;color:#64748b}.user-mini-actions{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:18px}.user-orders{display:grid;gap:12px}.user-order{border:1px solid rgba(15,23,42,.10);border-radius:20px;padding:16px;background:#fff}.user-order header{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.user-order strong{font-size:1.05rem}.user-badge{display:inline-flex;border-radius:999px;padding:4px 10px;background:#eef4ff;color:#0b3aa8;font-size:.84rem;font-weight:800}.user-empty{padding:18px;border:1px dashed rgba(30,64,175,.25);border-radius:20px;background:#f8fbff;color:#64748b}.seo-page .hero__animation-card img{max-width:100%;height:auto;border-radius:24px;object-fit:contain}.seo-badge{display:inline-flex;margin-top:14px;border-radius:999px;padding:8px 14px;background:#eef4ff;color:#0b3aa8;font-weight:900}.seo-ltr{direction:ltr;text-align:left}.portfolio-card__body a{text-decoration:none;color:inherit}@media(max-width:860px){.user-grid{grid-template-columns:1fr}.user-card{border-radius:22px;padding:18px}.user-dashboard__head{flex-direction:column}.user-page .hero{padding-top:60px}}
.field-help{margin:-6px 0 2px;color:#64748b;font-size:.9rem;line-height:1.8}.link-btn{border:0;background:transparent;color:#0b3aa8;font:inherit;font-weight:800;text-align:right;cursor:pointer;padding:0 2px}.link-btn:hover{text-decoration:underline}.user-form--compact{border-top:1px solid rgba(15,23,42,.08);padding-top:16px;margin-top:8px}.user-note.is-ok{color:#0b3aa8}.verify-card{max-width:760px;margin:80px auto;text-align:center}.verify-card.is-ok{border-color:rgba(16,185,129,.32)}.verify-card.is-error{border-color:rgba(220,38,38,.28)}

/* ===== Auth page redesign v3 ===== */
.auth-body{background:radial-gradient(1200px 600px at 15% -10%,rgba(11,58,168,.10),transparent 60%),radial-gradient(900px 500px at 100% 0%,rgba(6,182,212,.10),transparent 55%),#f6f7fb;min-height:100vh}
.topbar--minimal .topbar__nav{display:none}
.topbar--minimal .topbar__inner{justify-content:space-between}
.footer--minimal{background:transparent;border-top:1px solid rgba(15,23,42,.06)}
.auth-page{display:flex;align-items:center;justify-content:center;padding:32px 16px 56px;min-height:calc(100vh - 64px)}
.auth-shell{width:100%;max-width:980px;display:grid;grid-template-columns:1fr;border-radius:28px;overflow:hidden;box-shadow:0 30px 80px rgba(15,23,42,.12);background:#fff}
@media(min-width:860px){.auth-shell{grid-template-columns:.9fr 1.1fr}}
.auth-side{position:relative;display:none;flex-direction:column;justify-content:center;gap:16px;padding:44px 38px;background:linear-gradient(160deg,#0b3aa8,#0a2d80 55%,#062064);color:#eaf1ff;overflow:hidden}
@media(min-width:860px){.auth-side{display:flex}}
.auth-side__brand{display:flex;align-items:center;gap:10px;font-weight:800;font-size:18px}
.auth-side__brand img{width:38px;height:38px;border-radius:10px;object-fit:contain;background:#fff;padding:4px}
.auth-side h2{font-size:26px;line-height:1.4;margin:6px 0 2px;font-weight:800}
.auth-side p{color:rgba(234,241,255,.82);font-size:14.5px;line-height:1.9;margin:0}
.auth-side__list{list-style:none;margin:18px 0 0;padding:0;display:flex;flex-direction:column;gap:10px}
.auth-side__list li{font-size:13.5px;color:rgba(234,241,255,.92);padding-inline-start:22px;position:relative}
.auth-side__list li::before{content:"";position:absolute;inset-inline-start:0;top:7px;width:9px;height:9px;border-radius:50%;background:#06b6d4}
.auth-side__glow{position:absolute;width:340px;height:340px;border-radius:50%;background:radial-gradient(circle,rgba(6,182,212,.35),transparent 70%);bottom:-140px;inset-inline-end:-120px}
.auth-main{padding:36px 28px;display:flex;align-items:center}
@media(max-width:540px){.auth-main{padding:26px 18px}}
.auth-card{width:100%;background:transparent;border:0;box-shadow:none;padding:0}
.auth-card h1{font-size:22px;margin:4px 0 4px;font-weight:800;color:var(--ink)}
.auth-card__sub{margin:0 0 18px;color:#64748b;font-size:13.5px}
.user-form__row{display:grid;gap:14px}
@media(min-width:480px){.user-form__row{grid-template-columns:1fr 1fr}}
.user-tabs{max-width:320px}
.user-dashboard{max-width:640px;margin:0 auto}

/* ===== User panel tabs + support chat ===== */
.user-tabs--panel{margin:20px 0 14px}
.user-panel-section{margin-top:8px}
.support-chat{display:flex;flex-direction:column;height:min(460px,60vh);border:1px solid var(--line-soft);border-radius:18px;overflow:hidden;background:#fbfcff}
.support-chat__messages{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:10px}
.support-msg{max-width:82%;padding:10px 13px;border-radius:16px;font-size:13.5px;line-height:1.8;word-break:break-word}
.support-msg p{margin:0}
.support-msg--me{align-self:flex-start;background:#0b3aa8;color:#fff;border-bottom-right-radius:6px}
.support-msg--admin{align-self:flex-end;background:#fff;border:1px solid var(--line-soft);color:var(--ink);border-bottom-left-radius:6px}
.support-msg__file{display:inline-block;margin-top:4px;font-size:12.5px;font-weight:700;text-decoration:underline;color:inherit}
.support-msg__meta{margin-top:4px;font-size:10.5px;opacity:.75;display:flex;gap:8px;align-items:center}
.support-msg__seen{font-size:10px}
.support-chat__form{border-top:1px solid var(--line-soft);background:#fff;padding:10px}
.support-chat__filerow{display:flex;align-items:center;justify-content:space-between;gap:8px;background:var(--brand-tint);border-radius:10px;padding:6px 10px;margin-bottom:8px;font-size:12px;color:#0b3aa8;font-weight:700}
.support-chat__filerow button{border:0;background:transparent;color:#b91c1c;cursor:pointer;font-size:14px;font-weight:900}
.support-chat__inputrow{display:flex;align-items:flex-end;gap:8px}
.support-chat__attach{flex:none;width:42px;height:42px;border-radius:12px;border:1px solid var(--line);display:grid;place-items:center;cursor:pointer;color:var(--ink-soft);background:#fff}
.support-chat__attach:hover{border-color:var(--brand);color:var(--brand)}
.support-chat__inputrow textarea{flex:1;resize:none;border:1px solid var(--line);border-radius:12px;padding:10px 12px;font:inherit;font-size:13.5px;line-height:1.7;max-height:120px;min-height:42px}
.support-chat__inputrow .btn{flex:none;height:42px}

/* ============================================================
   USER PANEL UX V5 — polished mobile-first dashboard
   ============================================================ */
.auth-body{background:radial-gradient(900px 520px at 10% 0%,rgba(11,58,168,.16),transparent 60%),radial-gradient(760px 460px at 100% 10%,rgba(56,189,248,.16),transparent 58%),linear-gradient(180deg,#f8fbff 0%,#eef4ff 100%);}
.auth-shell{max-width:1120px;border:1px solid rgba(255,255,255,.75);box-shadow:0 34px 100px -54px rgba(2,6,23,.65);}
.auth-card,.user-dashboard{width:100%;}
.user-dashboard{max-width:980px;border:0;background:transparent;box-shadow:none;padding:0;}
.user-dashboard__hero{position:relative;overflow:hidden;border-radius:30px;padding:22px;background:linear-gradient(135deg,rgba(255,255,255,.98),rgba(241,247,255,.94));border:1px solid rgba(148,163,184,.22);box-shadow:0 24px 70px -45px rgba(15,23,42,.5);margin-bottom:16px;}
.user-dashboard__hero::after{content:"";position:absolute;inset:auto -60px -95px auto;width:220px;height:220px;border-radius:50%;background:radial-gradient(circle,rgba(11,58,168,.16),transparent 68%);pointer-events:none;}
.user-dashboard__head{position:relative;z-index:1;border:0;margin:0 0 16px;padding:0;align-items:center;}
.user-dashboard__head h2{font-size:clamp(22px,4vw,34px);line-height:1.35;color:#0f172a;}
.user-dashboard__head p{color:#64748b;direction:ltr;unicode-bidi:plaintext;text-align:right;}
.user-stat-grid{position:relative;z-index:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0;}
.user-stat{display:grid;gap:4px;padding:14px;border:1px solid rgba(30,64,175,.10);border-radius:20px;background:rgba(255,255,255,.82);box-shadow:0 12px 32px -25px rgba(15,23,42,.5);}
.user-stat span,.user-stat small{color:#64748b;font-size:12px;font-weight:800;}
.user-stat strong{color:#0b3aa8;font-size:clamp(18px,4vw,26px);font-weight:900;}
.user-mini-actions{position:relative;z-index:1;margin:16px 0 0;}
.user-mini-actions .btn{border-radius:15px;min-height:42px;}
.user-tabs--panel{max-width:none;width:100%;display:grid;grid-template-columns:1fr 1fr;border:1px solid rgba(30,64,175,.10);background:rgba(255,255,255,.72);backdrop-filter:blur(14px);position:sticky;top:76px;z-index:6;}
.user-tabs--panel button{position:relative;min-height:46px;}
.user-tab-dot{position:absolute;top:10px;left:12px;width:9px;height:9px;border-radius:50%;background:#ef4444;box-shadow:0 0 0 4px rgba(239,68,68,.14);}
.user-orders{gap:14px;}
.user-order{border:1px solid rgba(30,64,175,.10);border-radius:24px;background:linear-gradient(180deg,#fff,#f9fbff);box-shadow:0 16px 45px -35px rgba(15,23,42,.65);}
.user-order header{align-items:flex-start;}
.user-order p{margin:6px 0 0;color:#64748b;line-height:1.8;}
.user-order small{display:block;margin-top:12px;color:#94a3b8;direction:ltr;unicode-bidi:plaintext;}
.user-badge{background:#eaf1ff;color:#0b3aa8;border:1px solid rgba(11,58,168,.12);}
.user-empty--nice{display:grid;gap:6px;text-align:center;background:linear-gradient(135deg,#fff,#f8fbff);}
.user-empty--nice strong{color:#0f172a;font-size:15px;}
.user-empty--nice span{color:#64748b;line-height:1.9;}
.support-chat{height:min(620px,68vh);border-radius:26px;border:1px solid rgba(30,64,175,.12);box-shadow:0 20px 60px -44px rgba(15,23,42,.65);background:linear-gradient(180deg,#f8fbff,#fff);}
.support-chat__messages{padding:18px;background:radial-gradient(500px 220px at 0% 0%,rgba(11,58,168,.07),transparent 70%);}
.support-msg{border-radius:20px;box-shadow:0 10px 28px -24px rgba(15,23,42,.65);}
.support-msg--me{background:linear-gradient(135deg,#0b3aa8,#1d4ed8);border-bottom-right-radius:7px;}
.support-msg--admin{background:#fff;border:1px solid rgba(30,64,175,.10);border-bottom-left-radius:7px;}
.support-chat__form{padding:12px;background:rgba(255,255,255,.92);backdrop-filter:blur(12px);}
.support-chat__inputrow textarea{border-radius:16px;background:#f8fbff;}
.support-chat__attach{border-radius:16px;background:#f8fbff;}
@media(max-width:860px){
  .auth-page{align-items:flex-start;padding:18px 12px 38px;}
  .auth-shell{border-radius:26px;box-shadow:none;background:transparent;overflow:visible;}
  .auth-main{padding:0;display:block;}
  .auth-card,.user-dashboard__hero,.support-chat,.user-order{box-shadow:0 18px 55px -42px rgba(15,23,42,.75);}
  .auth-card{background:rgba(255,255,255,.96);border:1px solid rgba(148,163,184,.18);border-radius:26px;padding:18px;}
  .user-dashboard__head{flex-direction:row;align-items:flex-start;}
  .user-stat-grid{grid-template-columns:1fr;}
  .user-tabs--panel{top:10px;}
  .support-chat{height:calc(100dvh - 255px);min-height:420px;border-radius:22px;}
  .support-chat__inputrow{gap:6px;}
  .support-chat__inputrow .btn{padding-inline:12px;}
}
@media(max-width:520px){
  .topbar--minimal .topbar__inner{gap:10px;}
  .topbar--minimal .brand__name{font-size:15px;}
  .topbar--minimal .topbar__cta{padding:8px 10px;font-size:12px;}
  .user-dashboard__hero{border-radius:24px;padding:16px;}
  .user-dashboard__head{gap:10px;}
  .user-dashboard__head .btn{padding:8px 11px;}
  .user-mini-actions{display:grid;grid-template-columns:1fr;}
  .support-msg{max-width:90%;}
  .support-chat{height:calc(100dvh - 235px);min-height:390px;}
  .support-chat__messages{padding:12px;}
  .support-chat__form{padding:9px;}
}

/* ===== V7 account settings panel ===== */
.user-tabs--panel{grid-template-columns:repeat(3,minmax(0,1fr));}
.user-settings-form{display:grid;gap:16px;border:1px solid rgba(30,64,175,.10);border-radius:26px;background:linear-gradient(180deg,#fff,#f8fbff);padding:18px;box-shadow:0 18px 55px -42px rgba(15,23,42,.65)}
.user-settings-form__head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:8px;border-bottom:1px solid rgba(148,163,184,.18)}
.user-settings-form h3{margin:3px 0 4px;color:#0f172a;font-size:22px;line-height:1.45}
.user-settings-form p{margin:0;color:#64748b;line-height:1.9;font-size:13px}
.user-settings-form label{display:grid;gap:7px;color:#334155;font-size:13px;font-weight:900}
.user-settings-form input{width:100%;min-height:48px;border:1px solid var(--line,#dbe4f0);border-radius:15px;background:#fff;padding:10px 13px;font:inherit;color:#0f172a;outline:0;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}
.user-settings-form input:focus{border-color:#0b3aa8;box-shadow:0 0 0 4px rgba(11,58,168,.10);background:#fbfdff}
.user-form__row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.user-note.is-ok{color:#15803d;font-weight:900}
.user-note.is-error{color:#b91c1c;font-weight:900}
@media(max-width:680px){
  .user-tabs--panel{grid-template-columns:1fr;gap:6px;padding:7px;border-radius:18px;position:static;top:auto}
  .user-tabs--panel button{border-radius:14px;min-height:42px}
  .user-form__row{grid-template-columns:1fr}
  .user-settings-form{padding:14px;border-radius:22px}
  .user-settings-form h3{font-size:19px}
}

/* Schematic "I'm not a robot" captcha (visual only, no external service). */
.captcha-box{display:flex;align-items:center;gap:12px;width:100%;max-width:302px;margin:6px 0 2px;padding:12px 14px;background:#f9f9f9;border:1px solid #d3d3d3;border-radius:6px;box-shadow:0 1px 2px rgba(0,0,0,.06);cursor:pointer;user-select:none;transition:border-color .15s}
.captcha-box:hover{border-color:#b5b5b5}
.captcha-box__check{flex:0 0 auto;width:26px;height:26px;border:2px solid #c1c1c1;border-radius:3px;background:#fff;position:relative;cursor:pointer;transition:border-color .15s}
.captcha-box.is-checked .captcha-box__check{border-color:#4caf50}
.captcha-box.is-checked .captcha-box__check::after{content:"";position:absolute;left:8px;top:2px;width:7px;height:14px;border:solid #4caf50;border-width:0 3px 3px 0;transform:rotate(45deg)}
.captcha-box__label{flex:1;font-size:14px;color:#3c4043}
.captcha-box__logo{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;gap:2px;opacity:.9}
.captcha-box__logo svg{display:block}

/* ===== Chat: delete button, image previews, nicer panel ===== */
.support-msg__del{background:transparent;border:0;cursor:pointer;font-size:12px;opacity:.5;padding:0 2px;line-height:1;transition:opacity .15s}
.support-msg:hover .support-msg__del{opacity:1}
.support-msg--me .support-msg__del{color:#dbeafe}
.support-msg__img{display:block;margin-top:6px;border-radius:12px;overflow:hidden;max-width:200px}
.support-msg__img img{display:block;width:100%;height:auto;border-radius:12px}
.support-msg__seen{font-size:10px}

/* Nicer stat cards + dashboard */
.user-stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:16px 0}
.user-stat{background:linear-gradient(135deg,#eff5ff,#ffffff);border:1px solid rgba(30,64,175,.12);border-radius:18px;padding:14px;text-align:center;box-shadow:0 12px 30px -26px rgba(15,23,42,.5)}
.user-stat span{display:block;font-size:11.5px;color:#64748b;font-weight:700}
.user-stat strong{display:block;font-size:22px;font-weight:900;color:#0b3aa8;margin:4px 0 2px}
.user-stat small{font-size:10.5px;color:#94a3b8}
.user-dashboard__hero{background:linear-gradient(135deg,#0b3aa8,#1e40af);color:#fff;border-radius:24px;padding:22px;margin-bottom:18px;box-shadow:0 26px 60px -34px rgba(11,58,168,.8)}
.user-dashboard__hero .eyebrow{color:#bfdbfe;font-weight:800;font-size:12px}
.user-dashboard__hero h2{color:#fff;margin:4px 0}
.user-dashboard__hero p{color:#dbeafe;margin:0}
.user-dashboard__hero .user-stat{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.18)}
.user-dashboard__hero .user-stat span{color:#c7d7f5}
.user-dashboard__hero .user-stat strong{color:#fff}
.user-dashboard__hero .user-stat small{color:#bcd0f2}
.user-order{transition:transform .15s ease,box-shadow .15s ease}
.user-order:hover{transform:translateY(-2px);box-shadow:0 18px 40px -30px rgba(15,23,42,.5)}
@media(max-width:560px){.user-stat-grid{grid-template-columns:1fr}.support-msg__img{max-width:160px}}
