/* Marsol Expo — müştəri kabineti (site.css üzərində) */
.portal { display: grid; grid-template-columns: 270px 1fr; min-height: 100vh; background: var(--paper); }
.prail { position: sticky; top: 0; height: 100vh; background: var(--ink); color: #c8cede; padding: 26px 18px; display: flex; flex-direction: column; gap: 26px; overflow-y: auto; }
.prail .logo { height: 36px; }
.prail__company { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); }
.prail__company img, .prail__company span.av { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; background: #fff; flex-shrink: 0; display: grid; place-items: center; color: var(--navy); font-weight: 800; }
.prail__company b { display: block; color: #fff; font-size: 14px; line-height: 1.25; }
.prail__company small { color: #8f99b3; font-size: 12px; }
.prail nav { display: flex; flex-direction: column; gap: 3px; }
.prail nav a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; font-weight: 500; font-size: 14.5px; transition: background .25s, color .25s; position: relative; }
.prail nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.prail nav a.is-on { background: var(--green); color: var(--green-ink); font-weight: 600; }
.prail nav a i { font-size: 17px; width: 20px; }
.prail nav a .ok { margin-left: auto; color: var(--green); font-size: 14px; }
.prail nav a.is-on .ok { color: var(--green-ink); }
.prail__foot { margin-top: auto; display: grid; gap: 8px; }
.prail__foot a, .prail__foot button { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; font-size: 14px; color: #aab2c8; width: 100%; text-align: left; }
.prail__foot a:hover, .prail__foot button:hover { background: rgba(255,255,255,.06); color: #fff; }
.pmain { padding: clamp(20px, 3vw, 40px); max-width: 1240px; width: 100%; }
.ptop { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.ptop h1 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.02em; }
.ptop h1 .serif { color: var(--green-deep); font-weight: 600; }
.ptop p { color: var(--muted); margin-top: 6px; }
.pcard { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: clamp(18px, 2.4vw, 28px); }
.pcard + .pcard { margin-top: 18px; }
.pcard h2 { font-size: 19px; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.pcard h2 .tag { margin-left: auto; }
.pcard--ink { background: var(--ink); color: #fff; border: 0; }
.pcard--green { background: var(--green); border: 0; color: var(--green-ink); }
.pgrid { display: grid; gap: 18px; }
.pgrid--2 { grid-template-columns: 1fr 1fr; }
.pgrid--3 { grid-template-columns: repeat(3, 1fr); }
.pgrid--side { grid-template-columns: 1.4fr 1fr; align-items: start; }
.ring { --p: 0; width: 120px; height: 120px; border-radius: 50%; background: conic-gradient(var(--green) calc(var(--p) * 1%), rgba(255,255,255,.1) 0); display: grid; place-items: center; flex-shrink: 0; }
.ring b { width: 92px; height: 92px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; font-size: 26px; color: #fff; }
.welcome { display: flex; gap: 26px; align-items: center; }
.welcome h2 { font-size: 26px; margin-bottom: 8px; }
.welcome p { color: #aab2c8; }
.checklist { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.check-item { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.check-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.check-item i { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--paper-2); font-size: 17px; flex-shrink: 0; }
.check-item.is-done i { background: var(--green); color: var(--green-ink); }
.check-item b { font-size: 14px; display: block; }
.check-item small { color: var(--muted); font-size: 12px; }
.plist { list-style: none; margin: 0; padding: 0; }
.plist li { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.plist li:first-child { border-top: 0; }
.plist .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--paper-2); flex-shrink: 0; }
.plist .grow { flex: 1; min-width: 0; }
.plist .grow b { display: block; }
.plist .grow small { color: var(--muted); }
.plist .empty { color: var(--muted); }
.st { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 99px; font-size: 12px; font-weight: 600; background: var(--paper-2); color: var(--muted); white-space: nowrap; }
.st--ok { background: var(--lime); color: var(--green-ink); }
.st--warn { background: #fff1d6; color: #8a5a00; }
.st--bad { background: #fde3e3; color: #a3221b; }
.st--info { background: #e2ebff; color: #2456b3; }
.big-num { font-size: 40px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.big-num small { font-size: 16px; font-weight: 600; color: var(--muted); margin-left: 4px; }
.pform { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pform .field--full, .pform .full { grid-column: 1 / -1; }
.pform h3 { grid-column: 1 / -1; font-size: 15px; margin-top: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.toggle { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line-strong); background: #fff; cursor: pointer; }
.toggle input { width: 18px; height: 18px; accent-color: var(--green-deep); }
.drop { position: relative; display: grid; place-items: center; text-align: center; gap: 8px; padding: 34px 20px; border: 2px dashed var(--line-strong); border-radius: 20px; background: #fff; cursor: pointer; transition: border-color .3s, background .3s; }
.drop:hover, .drop.is-over { border-color: var(--green-deep); background: #f6fbee; }
.drop i { font-size: 34px; color: var(--green-deep); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop small { color: var(--muted); }
.pdf-frame { width: 100%; aspect-ratio: 148 / 210; border: 0; border-radius: 14px; background: #eee; box-shadow: var(--shadow); }
.preflight { list-style: none; margin: 0; padding: 0; }
.preflight li { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.preflight li:first-child { border-top: 0; }
.preflight .bi-check-circle-fill { color: var(--green-deep); }
.preflight .bi-exclamation-triangle-fill { color: #d49100; }
.preflight .bi-x-circle-fill { color: #d64545; }
.svc-cat { margin-bottom: 26px; }
.svc-cat h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 12px; }
.svc-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.svc-item { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 8px; transition: transform .35s var(--ease), box-shadow .35s; }
.svc-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.svc-item i.bi:first-child { font-size: 22px; color: var(--green-deep); }
.svc-item b { font-size: 15px; }
.svc-item small { color: var(--muted); }
.svc-item .price { font-size: 20px; font-weight: 800; letter-spacing: -.02em; margin-top: auto; }
.svc-item form { display: flex; gap: 6px; }
.svc-item input[type=number] { width: 70px; border: 1px solid var(--line-strong); border-radius: 99px; padding: 8px 12px; font: inherit; }
.cart { position: sticky; top: 24px; }
.cart-line { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: 14px; }
.cart-line button { color: #ff9a9a; }
.cart-total { display: flex; justify-content: space-between; font-size: 22px; font-weight: 800; margin: 16px 0; }
.ptable { width: 100%; border-collapse: collapse; font-size: 14px; }
.ptable th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 10px 8px; border-bottom: 1px solid var(--line-strong); }
.ptable td { padding: 12px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.ptable .actions { text-align: right; white-space: nowrap; }
.mini-map svg { width: 100%; height: auto; display: block; background: #fff; border-radius: 16px; border: 1px solid var(--line); }
.palert { padding: 14px 18px; border-radius: 14px; margin-bottom: 18px; display: flex; gap: 10px; align-items: center; animation: audIn .5s var(--ease); }
.palert--success { background: var(--lime); color: var(--green-ink); }
.palert--error { background: #fde3e3; color: #a3221b; }
.palert--info { background: #e2ebff; color: #2456b3; }
.ptoggle-rail { display: none; }

.auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); }
.auth__art { position: relative; background: var(--ink); color: #fff; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.auth__art img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.auth__art > * { position: relative; }
.auth__art h2 { font-size: clamp(28px, 3vw, 42px); letter-spacing: -.025em; line-height: 1.1; }
.auth__art h2 .serif { color: var(--green); font-weight: 600; }
.auth__form { display: grid; place-items: center; padding: 40px var(--gutter); }
.auth__box { width: 100%; max-width: 420px; }
.auth__box h1 { font-size: 28px; letter-spacing: -.02em; margin-bottom: 8px; }
.auth__box p.sub { color: var(--muted); margin-bottom: 26px; }
.auth__box form { display: grid; gap: 14px; }

@media (max-width: 1000px) {
  .portal { grid-template-columns: 1fr; }
  .prail { position: fixed; z-index: 50; left: 0; top: 0; width: 280px; transform: translateX(-100%); transition: transform .5s var(--ease); }
  .portal.is-open .prail { transform: none; }
  .ptoggle-rail { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; }
  .pgrid--2, .pgrid--3, .pgrid--side { grid-template-columns: 1fr; }
  .auth { grid-template-columns: 1fr; }
  .auth__art { min-height: 260px; }
}
@media (max-width: 600px) { .pform { grid-template-columns: 1fr; } .welcome { flex-direction: column; align-items: flex-start; } }

/* Sol menyuda dağ fiquru (admin paneldəki kimi) */
.prail { overflow-x: hidden; }
.prail > *:not(.prail__mountain) { position: relative; z-index: 1; }
.prail__mountain { position: absolute; left: -50px; bottom: -60px; width: 340px; height: 340px; background: url("../../img/mountain-line-white.svg") no-repeat center / contain; opacity: .16; pointer-events: none; z-index: 0; }
