.dota-card-head {
  padding-right: 46px;
}

.modal-close {
  z-index: 2;
  right: 14px;
  top: 14px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  background: #111218;
  font-size: 24px;
  line-height: 1;
}

.modal-close:hover {
  border-color: var(--line);
  background: rgba(255, 90, 43, 0.12);
  color: #fff;
}

/* Match the standard RENTAL black / ember dashboard. */
html, body { font-family: Montserrat, "Segoe UI", sans-serif; }
body { background: #020405; }
body::before { content:""; position:fixed; z-index:-2; inset:0; background:linear-gradient(90deg,rgba(1,3,4,.94),rgba(3,5,6,.84),rgba(1,3,4,.92)),url("/RENTAL/assets/gaming-lava-bg.webp") center top/cover no-repeat; }
.ambient { opacity:.42; }
.app-shell { grid-template-columns:260px minmax(0,1fr); gap:24px; max-width:none; width:calc(100% - 24px); padding:0 0 30px; }
.rental-topbar { grid-column:1/-1; display:grid; grid-template-columns:minmax(255px,1fr) auto 1fr auto; align-items:center; gap:32px; min-height:69px; border-bottom:1px solid rgba(255,83,28,.16); }
.rental-brand { display:flex; align-items:center; gap:9px; color:#fff; text-decoration:none; }
.rental-brand span { color:#ff4e18; font-size:31px; filter:drop-shadow(0 0 10px rgba(255,65,11,.45)); }
.rental-brand b { font-size:18px; letter-spacing:.05em; }
.rental-brand i { padding-left:10px; border-left:1px solid rgba(255,255,255,.15); color:#797979; font-size:11px; font-style:normal; letter-spacing:.08em; }
.rental-topnav { align-self:stretch; display:flex; gap:42px; }
.rental-topnav a,.rental-topnav span { position:relative; display:flex; align-items:center; padding:0 5px; color:#858585; font-size:13px; text-decoration:none; }
.rental-topnav .active { color:#ff5a21; }
.rental-topnav .active::after { content:""; position:absolute; right:0; bottom:-1px; left:0; height:2px; background:#ff4c16; box-shadow:0 0 15px rgba(255,73,20,.75); }
.rental-online { justify-self:end; display:flex; align-items:center; gap:7px; padding:8px 13px; border:1px solid rgba(111,111,111,.2); border-radius:18px; color:#45d36b; font:600 10px "JetBrains Mono",monospace; }
.rental-online i { width:6px; height:6px; border-radius:50%; background:#45d36b; box-shadow:0 0 8px #45d36b; }
.rental-user { display:grid; place-items:center; width:38px; height:38px; border:1px solid rgba(255,78,24,.45); border-radius:50%; color:#ff6229; font-weight:600; }
.sidebar { top:91px; height:calc(100vh - 111px); padding:0; border-color:rgba(255,91,31,.28); border-radius:7px; background:rgba(4,5,6,.92); box-shadow:0 18px 48px rgba(0,0,0,.24); }
.brand { min-height:104px; padding:18px; border-bottom-color:rgba(255,91,31,.22); background:radial-gradient(circle at 80% 15%,rgba(255,75,16,.28),transparent 36%),linear-gradient(145deg,rgba(42,11,4,.72),rgba(5,6,7,.95)); }
.brand-mark { width:56px; height:56px; border-radius:50%; border:1px solid rgba(255,84,22,.58); background:rgba(2,3,4,.74); color:#ff652a; box-shadow:0 0 28px rgba(255,67,12,.14); }
.seller-pill { margin:0; padding:15px 18px; border-bottom:1px solid rgba(255,255,255,.07); }
nav { padding:4px 0; }
nav button { min-height:48px; margin:0; padding:0 18px; border-radius:0; border-left:2px solid transparent; font-size:12px; }
nav button.active { border-left-color:#ff4d18; background:linear-gradient(90deg,rgba(82,23,7,.54),rgba(16,6,3,.25)); box-shadow:none; color:#ff6329; }
.back-link { margin:8px 12px 12px; border-radius:5px; color:#ff5c25; border-color:rgba(255,79,24,.48); }
main { padding:7px 0 40px; }
header { min-height:104px; margin:0 0 14px; padding:20px 24px; border:1px solid rgba(255,85,25,.3); border-radius:7px; background:rgba(4,5,6,.91); }
.panel,.stat,.finance-card,.hero { border-color:rgba(255,85,25,.28); border-radius:7px; background:rgba(4,5,6,.92); }
.panel-head { border-bottom-color:rgba(255,91,31,.18); }
.account-row { border-bottom-color:rgba(255,255,255,.065); }
.account-row:hover { background:linear-gradient(90deg,rgba(82,23,7,.18),transparent); }
.avatar { border-radius:7px; background:radial-gradient(circle,rgba(255,75,15,.22),rgba(12,8,6,.94)),url("/RENTAL/assets/gaming-lava-bg.webp") center/cover; }
.btn,.icon-btn,.toolbar input,.toolbar select,.field input,.field select,.field textarea { border-radius:5px; }
.btn.primary { background:linear-gradient(135deg,#ff6329,#e72d0d); box-shadow:0 7px 20px rgba(226,49,8,.25); }
.modal-card { border-color:rgba(255,85,25,.38); border-radius:10px; background:linear-gradient(145deg,#0d0e10,#050607); }
.actions { align-items:center; flex-wrap:wrap; }
.account-row .btn.danger { padding-inline:10px; }
.account-row { grid-template-columns:minmax(155px,1.15fr) .55fr .62fr .55fr .5fr .72fr auto; }
.account-row .metric { white-space:nowrap; }
.account-row .health-good,.score-box .health-good { color:var(--green); }
.account-row .health-warn,.score-box .health-warn { color:var(--yellow); }
.account-row .health-bad,.score-box .health-bad { color:var(--red); }
.account-row .health-muted,.score-box .health-muted { color:var(--muted); }
.account-row .mmr-value { color:#ff9a71; }
.account-score-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
.manual-risk { grid-column:1/-1; display:grid; gap:5px; padding:13px 15px; border:1px solid rgba(255,174,48,.35); border-left:3px solid var(--yellow); border-radius:6px; color:#ffcf71; background:rgba(255,174,48,.07); }
.manual-risk[hidden] { display:none; }
.manual-risk b { font-size:12px; }
.manual-risk span { color:#b8a681; font-size:10px; line-height:1.5; }

@media(max-width:1450px){
  .account-row { grid-template-columns:minmax(150px,1fr) .55fr .62fr .55fr .48fr auto; }
  .account-row>div:nth-child(6) { display:none; }
  .account-row .actions { grid-column:auto; }
}
@media(max-width:1180px){
  .account-row { grid-template-columns:minmax(150px,1fr) .58fr .62fr auto; }
  .account-row>div:nth-child(2),.account-row>div:nth-child(5),.account-row>div:nth-child(6) { display:none; }
  .account-score-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media(max-width:1100px){.rental-topbar{grid-template-columns:1fr auto auto}.rental-topnav{display:none}.app-shell{grid-template-columns:82px minmax(0,1fr)}.sidebar{top:91px}}
@media(max-width:720px){.app-shell{width:100%;padding:0 10px 20px}.rental-topbar{grid-template-columns:1fr auto;gap:12px;padding:0 4px}.rental-online{display:none}.sidebar{top:auto}.account-row .actions{justify-content:flex-start}.account-row .status{display:none}.account-row .btn{font-size:10px;padding:7px 8px}}

/* Password reveal is fetched only after an explicit seller action. */
.password-btn {
  display:inline-flex !important;
  align-items:center;
  gap:6px;
  border-color:rgba(92,128,255,.3) !important;
  color:#aebdff !important;
  background:linear-gradient(145deg,rgba(34,47,96,.48),rgba(8,11,20,.72)) !important;
}
.password-btn:hover {
  border-color:rgba(111,143,255,.65) !important;
  color:#fff !important;
  box-shadow:0 8px 22px rgba(60,82,190,.2);
}
.password-btn svg,.modal-password svg,.password-toggle svg {
  width:16px;
  height:16px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.75;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.modal-password { display:inline-flex; align-items:center; gap:7px; }
.account-password-card { padding:3px 2px; }
.account-password-card h2 { margin:7px 0 4px; }
.account-password-card > .muted { margin:0 0 23px; }
.account-password-card label > span {
  display:block;
  margin-bottom:8px;
  color:#858b99;
  font:700 9px "JetBrains Mono",monospace;
  letter-spacing:.11em;
  text-transform:uppercase;
}
.account-password-card label > div {
  display:grid;
  grid-template-columns:minmax(0,1fr) 46px;
  overflow:hidden;
  border:1px solid rgba(101,128,246,.36);
  border-radius:9px;
  background:linear-gradient(145deg,rgba(19,26,52,.72),rgba(4,6,10,.94));
  box-shadow:inset 0 1px rgba(255,255,255,.035),0 14px 35px rgba(0,0,0,.24);
}
.account-password-value {
  width:100%;
  min-width:0;
  height:50px;
  padding:0 15px;
  border:0;
  outline:0;
  color:#f4f6ff;
  background:transparent;
  font:700 15px "JetBrains Mono",monospace;
  letter-spacing:.05em;
}
.password-toggle {
  display:grid;
  place-items:center;
  width:46px;
  border:0;
  border-left:1px solid rgba(255,255,255,.08);
  color:#8f9ab2;
  background:rgba(255,255,255,.025);
  cursor:pointer;
}
.password-toggle:hover,.password-toggle.active { color:#9eb0ff; background:rgba(91,114,222,.12); }
.account-password-card .form-actions { margin-top:22px; }
@media(max-width:720px){.password-btn span{display:none}.password-btn{padding-inline:9px!important}.account-password-card .form-actions{display:grid;grid-template-columns:1fr 1fr}.account-password-card .form-actions .btn{width:100%}}
