:root{
  --pa-blue:#0876e8;
  --pa-blue-dark:#073d7a;
  --pa-navy:#082b55;
  --pa-ink:#12263f;
  --pa-muted:#6b7c91;
  --pa-line:#dce6f1;
  --pa-soft:#f4f8fc;
}
*{box-sizing:border-box}
body.portal-auth-page,
.portal-auth-page,
.cp-wrap{
  font-family:"Segoe UI",Inter,Arial,sans-serif;
}
.portal-auth-page{
  min-height:100vh;
  margin:0;
  background:
    radial-gradient(circle at 12% 8%,rgba(31,130,232,.12),transparent 30%),
    linear-gradient(135deg,#f8fbff 0%,#eef5fc 54%,#f8fbff 100%);
  color:var(--pa-ink);
}
.portal-auth-shell{max-width:1210px;margin:0 auto;padding:28px 24px 54px}
.portal-auth-brand{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:22px}
.portal-auth-brand img{display:block;width:205px;max-height:64px;object-fit:contain;object-position:left center}
.portal-auth-home{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:42px;padding:0 15px;border:1px solid #d4e0ec;border-radius:12px;
  background:#fff;color:#36516d;text-decoration:none;font-size:13px;font-weight:700;
  box-shadow:0 6px 18px rgba(25,52,82,.05);transition:.18s ease;
}
.portal-auth-home:hover{transform:translateY(-1px);border-color:#9fc4eb;color:#0868cf}
.portal-auth-grid{
  display:grid;grid-template-columns:minmax(0,1.04fr) minmax(430px,.96fr);
  min-height:620px;overflow:hidden;background:#fff;border:1px solid #d7e3ef;
  border-radius:26px;box-shadow:0 28px 75px rgba(20,52,86,.14);
}
.portal-auth-visual{
  position:relative;isolation:isolate;overflow:hidden;
  min-height:620px;padding:48px 48px 38px;
  background:linear-gradient(145deg,#073d7a 0%,#0758ab 58%,#0878e9 100%);
  color:#fff;display:flex;flex-direction:column;justify-content:space-between;
}
.portal-auth-visual::before{
  content:"";position:absolute;z-index:-2;left:0;right:0;bottom:0;height:43%;
  background:url('/assets/canonical-ui/bt-servis-hero.png') center 54%/cover no-repeat;
  opacity:.23;
}
body.dealer-auth .portal-auth-visual::before{
  background-image:url('/assets/biyonsis-exact/assets/bt-servis-office-background.jpg');
  background-position:center 55%;
  opacity:.20;
}
.portal-auth-visual::after{
  content:"";position:absolute;z-index:-1;left:0;right:0;bottom:0;height:48%;
  background:linear-gradient(180deg,#0759ad 0%,rgba(7,72,139,.74) 36%,rgba(3,39,79,.92) 100%);
}
.portal-auth-visual>div{position:relative;z-index:2}
.portal-auth-kicker{
  display:inline-flex;align-items:center;gap:9px;
  margin-bottom:15px;font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#bcdcff;
}
.portal-auth-kicker::before{content:"";width:22px;height:2px;border-radius:2px;background:#65b2ff}
.portal-auth-visual h1{
  max-width:560px;margin:0 0 14px;font-family:"Segoe UI",Inter,Arial,sans-serif;
  font-size:39px;font-weight:750;line-height:1.12;letter-spacing:-.035em;color:#fff;
}
.portal-auth-visual p{
  max-width:530px;margin:0;color:#d8eaff;font-size:15px;line-height:1.68;font-weight:400;
}
.portal-auth-points{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;
  margin-top:28px;max-width:560px;
}
.portal-auth-point{
  position:relative;min-height:92px;padding:15px 15px 14px 48px;
  border:1px solid rgba(255,255,255,.17);border-radius:14px;
  background:rgba(4,44,86,.38);box-shadow:inset 0 1px rgba(255,255,255,.06);
}
.portal-auth-point::before{
  content:"✓";position:absolute;left:15px;top:16px;
  display:grid;place-items:center;width:23px;height:23px;border-radius:8px;
  background:rgba(255,255,255,.14);color:#8fd0ff;font-size:13px;font-weight:900;
}
.portal-auth-point b{
  display:block;margin:0 0 5px;color:#fff;font-size:13px;font-weight:750;line-height:1.25;
}
.portal-auth-point small{
  display:block;color:#c9def3;font-size:11.5px;line-height:1.48;font-weight:400;
}
.portal-auth-visual>div:last-child small{
  color:#c9e4ff;font-size:11px;font-weight:600;letter-spacing:.01em;
}
.portal-auth-formside{
  position:relative;padding:50px 48px;display:flex;align-items:center;background:#fff;
}
.portal-auth-card{width:100%;max-width:455px;margin:0 auto}
.portal-auth-logo{display:block;width:175px;max-height:58px;object-fit:contain;object-position:left center;margin:0 0 24px}
.portal-auth-badge{
  display:inline-flex;align-items:center;gap:7px;margin-bottom:14px;padding:7px 10px;
  border-radius:999px;background:#edf6ff;color:#0a68c7;font-size:11px;font-weight:800;letter-spacing:.03em;
}
.portal-auth-badge::before{
  content:"";width:8px;height:8px;border-radius:50%;background:#21a366;box-shadow:0 0 0 3px rgba(33,163,102,.12);
}
.portal-auth-card h2{
  margin:0 0 8px;font-family:"Segoe UI",Inter,Arial,sans-serif;
  font-size:30px;font-weight:750;line-height:1.18;letter-spacing:-.025em;color:#102943;
}
.portal-auth-card>p{margin:0 0 25px;color:var(--pa-muted);font-size:14px;line-height:1.65}
.portal-auth-form{display:grid;gap:15px}
.portal-auth-field{display:grid;gap:7px}
.portal-auth-field>span{font-size:12px;font-weight:750;color:#324a63}
.portal-auth-input-wrap{position:relative}
.portal-auth-input-icon{
  position:absolute;left:14px;top:50%;transform:translateY(-50%);
  width:19px;height:19px;color:#7b91a9;pointer-events:none;
}
.portal-auth-input-icon svg{display:block;width:19px;height:19px}
.portal-auth-form input{
  width:100%;min-height:50px;border:1px solid #cad8e7;border-radius:12px;
  padding:0 14px 0 44px;font:inherit;font-size:14px;color:#18314d;outline:none;
  background:#fbfdff;transition:border-color .18s,box-shadow .18s,background .18s;
}
.portal-auth-form input:hover{border-color:#abc5df}
.portal-auth-form input:focus{border-color:#4b9deb;box-shadow:0 0 0 4px rgba(8,118,232,.10);background:#fff}
.portal-auth-submit{
  display:flex;align-items:center;justify-content:center;gap:9px;width:100%;min-height:50px;margin-top:2px;
  border:0;border-radius:12px;background:linear-gradient(135deg,#086fd8,#0b83f6);
  color:#fff;font-family:"Segoe UI",Inter,Arial,sans-serif;font-weight:750;font-size:14px;
  cursor:pointer;box-shadow:0 11px 25px rgba(8,111,216,.23);transition:.18s ease;
}
.portal-auth-submit:hover{transform:translateY(-1px);box-shadow:0 14px 30px rgba(8,111,216,.30)}
.portal-auth-submit svg{width:17px;height:17px}
.portal-auth-links{
  display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:20px;padding-top:18px;border-top:1px solid #e5edf5;
}
.portal-auth-links a{
  display:flex;align-items:center;justify-content:center;min-height:42px;padding:9px 11px;
  border:1px solid #dce7f2;border-radius:10px;background:#f8fbfe;
  color:#1b5f9f;text-decoration:none;text-align:center;font-size:11.5px;font-weight:700;transition:.18s ease;
}
.portal-auth-links a:hover{border-color:#a9cceb;background:#eef7ff;color:#075fb9}
.portal-auth-mini{
  display:flex;gap:9px;margin-top:16px;padding:12px 13px;border-radius:10px;
  background:#f7f9fc;color:#738397;font-size:11px;line-height:1.52;
}
.portal-auth-mini::before{content:"i";flex:none;display:grid;place-items:center;width:18px;height:18px;border-radius:50%;background:#e2ebf5;color:#57708c;font-size:11px;font-weight:800}
.portal-auth-notice{margin-bottom:16px;padding:12px 14px;border-radius:11px;font-size:13px}
.portal-auth-notice.success{background:#e8f7ee;color:#176338}
.portal-auth-notice.error{background:#fdeaea;color:#8a2b2b}

/* Customer portal top bar when the login screen is visible */
body:not(.portal-auth-page) .cp-wrap{max-width:1210px}
body:not(.portal-auth-page) .cp-head{font-family:"Segoe UI",Inter,Arial,sans-serif}
body:not(.portal-auth-page) .cp-brand b{font-family:"Segoe UI",Inter,Arial,sans-serif;font-weight:750;color:#17324e}
body:not(.portal-auth-page) .cp-muted{font-family:"Segoe UI",Inter,Arial,sans-serif}

@media(max-width:900px){
  .portal-auth-grid{grid-template-columns:1fr}
  .portal-auth-visual{min-height:auto;padding:38px 34px}
  .portal-auth-visual::before,.portal-auth-visual::after{height:36%}
  .portal-auth-formside{padding:40px 32px}
  .portal-auth-visual h1{font-size:34px}
}
@media(max-width:560px){
  .portal-auth-shell{padding:18px 14px 36px}
  .portal-auth-brand{align-items:center;margin-bottom:16px}
  .portal-auth-brand img{width:165px}
  .portal-auth-home{font-size:11px;min-height:38px;padding:0 11px}
  .portal-auth-grid{border-radius:18px}
  .portal-auth-visual{padding:28px 22px 30px}
  .portal-auth-visual h1{font-size:30px}
  .portal-auth-visual p{font-size:13.5px}
  .portal-auth-points{grid-template-columns:1fr}
  .portal-auth-point{min-height:auto}
  .portal-auth-formside{padding:32px 22px}
  .portal-auth-links{grid-template-columns:1fr}
}

/* portal-auth corporate v3 20261007 */
.portal-auth-visual{
  background:linear-gradient(150deg,#f8fbfe 0%,#edf4fa 52%,#e6eef7 100%);
  color:#102943;
  border-right:1px solid #d7e3ef;
}
body.dealer-auth .portal-auth-visual{
  background:linear-gradient(150deg,#fbfcfe 0%,#f0f4f8 55%,#e8eef5 100%);
}
.portal-auth-visual::before{
  content:"";position:absolute;z-index:-2;right:-110px;left:auto;top:-95px;bottom:auto;width:390px;height:390px;
  border-radius:50%;background:radial-gradient(circle at 36% 36%,rgba(8,118,232,.14),rgba(8,118,232,.035) 58%,transparent 69%);
  opacity:1;
}
body.dealer-auth .portal-auth-visual::before{
  background:radial-gradient(circle at 36% 36%,rgba(13,75,126,.12),rgba(13,75,126,.025) 58%,transparent 69%);
}
.portal-auth-visual::after{
  content:"";position:absolute;z-index:-1;left:46px;right:46px;bottom:38px;height:1px;
  background:linear-gradient(90deg,transparent,#b9cce0 14%,#b9cce0 86%,transparent);
}
.portal-auth-kicker{color:#216ba8}
.portal-auth-kicker::before{background:#1681dd}
.portal-auth-visual h1{color:#0d2d4d;font-size:40px;max-width:570px}
.portal-auth-visual p{color:#587089;max-width:555px}
.portal-auth-points{grid-template-columns:1fr;margin-top:30px;gap:10px;max-width:565px}
.portal-auth-point{
  min-height:auto;padding:15px 18px 15px 54px;border:1px solid #d5e2ee;border-radius:13px;
  background:rgba(255,255,255,.78);box-shadow:0 8px 26px rgba(31,63,94,.055);
}
.portal-auth-point::before{
  left:17px;top:50%;transform:translateY(-50%);width:24px;height:24px;border-radius:7px;
  background:#e9f4fe;color:#0b78d5;box-shadow:inset 0 0 0 1px #cfe5f8;
}
.portal-auth-point b{color:#173957;font-size:13px}
.portal-auth-point small{color:#6a7f93;font-size:11.5px}
.portal-auth-visual>div:last-child small{color:#617990;font-size:11px}
.portal-auth-visual>div:last-child{padding-top:34px}
.portal-auth-formside{background:#fff}
.portal-auth-card{max-width:460px}
.portal-auth-recovery{
  display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:-5px;
  font-size:11.5px;color:#73869a;
}
.portal-auth-recovery a{color:#0a69c4;font-weight:750;text-decoration:none}
.portal-auth-recovery a:hover{text-decoration:underline}
.portal-auth-security-note{
  display:inline-flex;align-items:center;gap:7px;
}
.portal-auth-security-note::before{
  content:"";width:7px;height:7px;border-radius:50%;background:#23a36d;box-shadow:0 0 0 3px rgba(35,163,109,.10);
}
.portal-auth-links{margin-top:18px}
.portal-auth-mini{border:1px solid #edf1f5;background:#fafbfd}
.portal-auth-reset-shell{max-width:660px;margin:44px auto 0}
.portal-auth-reset-card{
  background:#fff;border:1px solid #dbe5ef;border-radius:24px;padding:34px;
  box-shadow:0 24px 70px rgba(25,55,85,.12);
}
.portal-auth-reset-card h1{margin:4px 0 8px;font-size:28px;color:#102943}
.portal-auth-reset-card>p{margin:0 0 24px;color:#6b7c91;line-height:1.6}
.portal-auth-reset-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.portal-auth-reset-back{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 14px;border:1px solid #dce7f2;border-radius:10px;color:#1b5f9f;text-decoration:none;font-size:12px;font-weight:700;background:#f8fbfe}
@media(max-width:900px){
  .portal-auth-visual{border-right:0;border-bottom:1px solid #d7e3ef}
  .portal-auth-points{grid-template-columns:1fr 1fr}
}
@media(max-width:560px){
  .portal-auth-points{grid-template-columns:1fr}
  .portal-auth-visual::after{left:22px;right:22px}
  .portal-auth-reset-card{padding:26px 22px;border-radius:18px}
  .portal-auth-recovery{align-items:flex-start;flex-direction:column}
}

/* portal-auth interaction + mfa v4 20261007 */
.portal-auth-visual{
  background:
    radial-gradient(circle at 12% 14%,rgba(24,145,227,.16),transparent 30%),
    linear-gradient(145deg,#f9fcff 0%,#edf5fb 52%,#e6eff7 100%);
}
body.dealer-auth .portal-auth-visual{
  background:
    radial-gradient(circle at 12% 14%,rgba(18,113,184,.14),transparent 30%),
    linear-gradient(145deg,#fbfdff 0%,#eef4f9 52%,#e6edf5 100%);
}
.portal-auth-visual::before{
  content:"";position:absolute;z-index:-2;left:auto;right:-18px;top:auto;bottom:-14px;
  width:76%;height:47%;border-radius:0;
  background:
    linear-gradient(90deg,rgba(239,247,253,.98) 0%,rgba(239,247,253,.58) 30%,rgba(239,247,253,.12) 70%),
    url('/assets/canonical-ui/bt-servis-hero.png') right bottom/cover no-repeat;
  opacity:.44;filter:saturate(.8) contrast(.96);
}
body.dealer-auth .portal-auth-visual::before{
  background:
    linear-gradient(90deg,rgba(239,245,250,.98) 0%,rgba(239,245,250,.58) 30%,rgba(239,245,250,.12) 70%),
    url('/assets/biyonsis-exact/assets/bt-servis-office-background.jpg') right center/cover no-repeat;
  opacity:.38;
}
.portal-auth-point:nth-child(1)::before{background:#e8f4ff;color:#0a77d5}
.portal-auth-point:nth-child(2)::before{background:#e9f8f3;color:#168963}
.portal-auth-point:nth-child(3)::before{background:#fff4df;color:#b97708}
.portal-auth-point:nth-child(4)::before{background:#f1ecff;color:#7054c7}

.portal-password-input{padding-right:48px!important}
.portal-password-toggle{
  position:absolute;right:9px;top:50%;transform:translateY(-50%);
  width:34px;height:34px;border:0;border-radius:9px;background:transparent;color:#6e849a;
  display:grid;place-items:center;cursor:pointer;z-index:3;
}
.portal-password-toggle:hover{background:#edf5fc;color:#0a6dca}
.portal-password-toggle svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.portal-caps-warning{
  display:none;margin-top:6px;padding-left:2px;color:#a85d00;font-size:11px;font-weight:700;
}
.portal-caps-warning.is-visible{display:block}
.portal-caps-warning::before{content:"⚠";margin-right:5px}
.portal-auth-mfa-field small{font-size:10px;font-weight:600;color:#8091a3}

.cp-security-card{
  position:relative;overflow:hidden;border-color:#d7e6f3;
  background:linear-gradient(135deg,#fff 0%,#f8fbfe 58%,#eef7ff 100%);
}
.cp-security-card::after{
  content:"";position:absolute;right:-55px;top:-55px;width:180px;height:180px;border-radius:50%;
  background:radial-gradient(circle,rgba(8,118,232,.10),transparent 68%);pointer-events:none;
}
.cp-security-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}
.cp-security-head h3{margin:5px 0 5px}
.cp-security-kicker{font-size:10px;font-weight:800;letter-spacing:.12em;color:#1672be}
.cp-security-enabled,.cp-security-disabled{
  display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;
  border:1px solid #dce8f3;border-radius:12px;padding:14px 15px;background:#fff;color:#526a81;font-size:12px;line-height:1.55;
}
.cp-security-enabled{border-color:#cde9d9;background:#f4fbf7;color:#35674d}
.cp-mfa-setup{display:grid;gap:14px}
.cp-mfa-steps{display:grid;grid-template-columns:24px 1fr;gap:8px 10px;padding:14px;border:1px solid #dce8f3;border-radius:12px;background:#fff;font-size:12px;color:#536b82}
.cp-mfa-steps b{display:grid;place-items:center;width:22px;height:22px;border-radius:7px;background:#eaf4fe;color:#096dc7}
.cp-mfa-secret{display:grid;gap:5px;padding:14px;border-radius:12px;background:#0f3151;color:#fff}
.cp-mfa-secret small{color:#bcd7ed;font-size:10px;letter-spacing:.08em;text-transform:uppercase}
.cp-mfa-secret strong{font-family:Consolas,monospace;font-size:15px;letter-spacing:.08em;word-break:break-all}
.cp-mfa-uri{font-size:11px;color:#60778e}
.cp-mfa-uri summary{cursor:pointer;color:#176db5;font-weight:700}
.cp-mfa-uri code{display:block;margin-top:8px;padding:10px;border-radius:8px;background:#f4f7fa;word-break:break-all}
.cp-mfa-disable-form{margin-top:14px}

@media(max-width:560px){
  .portal-auth-visual::before{width:100%;height:38%;right:0}
  .cp-security-head{flex-direction:column}
}

/* portal-auth qr + responsive v5 20261007 */
.cp-mfa-enroll-grid{
  display:grid;grid-template-columns:220px minmax(0,1fr);gap:16px;align-items:stretch;
}
.cp-mfa-qr-card{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;
  min-height:240px;padding:16px;border:1px solid #dce8f3;border-radius:14px;background:#fff;
  box-shadow:0 10px 28px rgba(27,67,103,.06);
}
.cp-mfa-qr{
  display:grid;place-items:center;width:196px;height:196px;padding:8px;border-radius:12px;
  background:#fff;border:1px solid #e1e9f1;
}
.cp-mfa-qr img,.cp-mfa-qr canvas{display:block;max-width:180px!important;max-height:180px!important}
.cp-mfa-qr-card small{color:#647b91;font-size:11px;line-height:1.45;text-align:center}
.cp-mfa-manual{display:grid;gap:12px;align-content:start}
.cp-copy-button{
  width:max-content;max-width:100%;margin-top:5px;padding:6px 10px;border:1px solid rgba(255,255,255,.24);
  border-radius:8px;background:rgba(255,255,255,.08);color:inherit;font:inherit;font-size:11px;font-weight:700;cursor:pointer;
}
.cp-copy-button:hover{background:rgba(255,255,255,.15)}
.cp-mfa-uri .cp-copy-button{
  border-color:#cfe0ef;background:#fff;color:#176db5;
}
.cp-mfa-uri .cp-copy-button:hover{background:#edf6fd}

@media(max-width:900px){
  .portal-auth-grid{min-height:auto}
  .portal-auth-visual{min-height:420px}
  .portal-auth-formside{padding-top:36px;padding-bottom:36px}
  .cp-mfa-enroll-grid{grid-template-columns:200px minmax(0,1fr)}
}
@media(max-width:680px){
  .portal-auth-brand{gap:12px}
  .portal-auth-brand img{width:150px}
  .portal-auth-grid{display:block}
  .portal-auth-visual{min-height:auto;padding:30px 24px}
  .portal-auth-visual h1{font-size:31px}
  .portal-auth-visual p{font-size:13.5px}
  .portal-auth-points{grid-template-columns:1fr;gap:8px;margin-top:20px}
  .portal-auth-point{padding-top:12px;padding-bottom:12px}
  .portal-auth-formside{padding:30px 22px}
  .portal-auth-card h2{font-size:27px}
  .portal-auth-form{gap:13px}
  .portal-auth-links{grid-template-columns:1fr}
  .cp-mfa-enroll-grid{grid-template-columns:1fr}
  .cp-mfa-qr-card{min-height:auto}
}
@media(max-width:430px){
  .portal-auth-shell{padding:14px 10px 28px}
  .portal-auth-brand{margin-bottom:12px}
  .portal-auth-brand img{width:138px}
  .portal-auth-home{padding:0 9px;font-size:10px}
  .portal-auth-grid{border-radius:15px}
  .portal-auth-visual{padding:24px 18px}
  .portal-auth-visual h1{font-size:27px;line-height:1.14}
  .portal-auth-visual p{line-height:1.55}
  .portal-auth-point{padding-left:50px}
  .portal-auth-formside{padding:26px 17px}
  .portal-auth-logo{width:150px;margin-bottom:18px}
  .portal-auth-card h2{font-size:25px}
  .portal-auth-card>p{font-size:13px;margin-bottom:20px}
  .portal-auth-form input{min-height:48px;font-size:13px}
  .portal-auth-submit{min-height:48px;font-size:13px}
  .portal-auth-recovery{gap:7px}
  .portal-auth-recovery>span:last-child{display:flex;gap:6px;flex-wrap:wrap}
  .cp-security-card{padding:16px}
  .cp-mfa-qr{width:184px;height:184px}
  .cp-mfa-qr img,.cp-mfa-qr canvas{max-width:168px!important;max-height:168px!important}
  .cp-mfa-secret strong{font-size:13px;letter-spacing:.045em}
}

/* customer portal premium profile v6 20261007 */
/* Logged-in customer portal premium modules */
body:not(.portal-auth-page) .cp-wrap{
  max-width:1260px;
  padding-top:30px;
}
body:not(.portal-auth-page) .cp-head{
  padding:15px 18px;
  margin-bottom:18px;
  border:1px solid #dce7f1;
  border-radius:16px;
  background:linear-gradient(135deg,#ffffff 0%,#f7fbff 100%);
  box-shadow:0 10px 30px rgba(31,60,90,.06);
}
body:not(.portal-auth-page) .cp-brand img{
  filter:drop-shadow(0 4px 10px rgba(18,63,103,.08));
}
body:not(.portal-auth-page) .cp-card{
  border-color:#dce6f0;
  border-radius:16px;
  box-shadow:0 10px 30px rgba(23,54,82,.055);
}
body:not(.portal-auth-page) .cp-card h3{
  margin:0 0 6px;
  color:#16344f;
  font-size:18px;
  letter-spacing:-.015em;
}
body:not(.portal-auth-page) .cp-section-note{
  margin:0 0 18px;
  color:#718397;
  line-height:1.55;
}
.cp-premium-module,
.cp-profile-grid>.cp-card{
  position:relative;
  overflow:hidden;
}
.cp-premium-module::before,
.cp-profile-grid>.cp-card::before{
  content:"";
  position:absolute;
  left:0;right:0;top:0;
  height:3px;
  background:linear-gradient(90deg,#147ed6,#58b2ed);
}
.cp-profile-grid>.cp-card:nth-child(2)::before{
  background:linear-gradient(90deg,#1b9a82,#5bc7ae);
}
.cp-security-card::before{
  background:linear-gradient(90deg,#5a67d8,#4da3ee)!important;
}
.cp-profile-grid{
  gap:20px!important;
  align-items:start;
}
.cp-profile-grid>.cp-card{
  padding:23px;
  background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%);
}
.cp-profile-grid>.cp-card:first-child h3::after{
  content:"Hesap ve firma bilgileri";
  display:block;
  margin-top:4px;
  color:#2f7fc0;
  font-size:10px;
  font-weight:700;
  letter-spacing:.055em;
  text-transform:uppercase;
}
.cp-profile-grid>.cp-card:nth-child(2) h3::after{
  content:"Fatura ve teslimat yönetimi";
  display:block;
  margin-top:4px;
  color:#188a76;
  font-size:10px;
  font-weight:700;
  letter-spacing:.055em;
  text-transform:uppercase;
}
.cp-profile-grid .cp-form{
  gap:13px 14px;
}
.cp-profile-grid .cp-form label{
  color:#435d74;
  font-size:11.5px;
  font-weight:700;
}
.cp-profile-grid .cp-form input,
.cp-profile-grid .cp-form select,
.cp-profile-grid .cp-form textarea,
.cp-security-card .cp-form input{
  min-height:45px;
  border:1px solid #cfdae5;
  border-radius:10px;
  background:#fcfdff;
  color:#18344e;
  box-shadow:inset 0 1px 2px rgba(20,48,74,.025);
  transition:border-color .16s ease,box-shadow .16s ease,background .16s ease;
}
.cp-profile-grid .cp-form textarea{min-height:88px}
.cp-profile-grid .cp-form input:hover,
.cp-profile-grid .cp-form select:hover,
.cp-profile-grid .cp-form textarea:hover,
.cp-security-card .cp-form input:hover{
  border-color:#adc6db;
}
.cp-profile-grid .cp-form input:focus,
.cp-profile-grid .cp-form select:focus,
.cp-profile-grid .cp-form textarea:focus,
.cp-security-card .cp-form input:focus{
  outline:none;
  border-color:#4b9de1;
  background:#fff;
  box-shadow:0 0 0 4px rgba(41,133,209,.09);
}
.cp-profile-grid .cp-primary,
.cp-security-card .cp-primary{
  min-height:44px;
  border-radius:10px;
  background:linear-gradient(135deg,#1478cf,#198ce8);
  box-shadow:0 8px 18px rgba(20,120,207,.18);
  font-weight:700;
}
.cp-profile-grid .cp-primary:hover,
.cp-security-card .cp-primary:hover{
  transform:translateY(-1px);
  box-shadow:0 11px 24px rgba(20,120,207,.24);
}
.cp-address-list{
  margin-bottom:16px;
}
.cp-address{
  border-color:#d8e6e2!important;
  border-radius:12px!important;
  background:linear-gradient(135deg,#ffffff 0%,#f7fcfa 100%)!important;
  box-shadow:0 5px 16px rgba(26,103,88,.045);
}
.cp-address-head b{color:#244b43}
.cp-address-actions button{
  padding:5px 8px!important;
  border-radius:7px!important;
  color:#a44949!important;
  font-weight:700!important;
}
.cp-address-actions button:hover{background:#fff0f0!important}
.cp-address-type{background:#e6f6f1!important;color:#13725f!important}
.cp-address-default{background:#e9f8ef!important;color:#168250!important}
.cp-security-card{
  padding:23px!important;
  background:
    radial-gradient(circle at 92% 10%,rgba(82,113,220,.08),transparent 28%),
    linear-gradient(135deg,#fff 0%,#f8fbff 100%)!important;
}
.cp-security-card .cp-security-head h3{
  font-size:19px;
}
.cp-security-card .cp-security-kicker{
  color:#5366c6;
}
.cp-security-card .cp-security-enabled,
.cp-security-card .cp-security-disabled{
  box-shadow:0 5px 16px rgba(30,72,105,.035);
}
.cp-security-card .cp-badge{
  font-weight:800;
  border:1px solid rgba(0,0,0,.04);
}
.cp-kpi{
  position:relative;
  overflow:hidden;
  background:linear-gradient(145deg,#fff,#f9fbfd);
  border-color:#dfe8f1!important;
  box-shadow:0 6px 18px rgba(25,54,81,.035);
}
.cp-kpi::after{
  content:"";
  position:absolute;
  left:0;top:0;bottom:0;
  width:3px;
  background:#2b8bd8;
  opacity:.72;
}
.cp-kpi:nth-child(2)::after{background:#2aa889}
.cp-kpi:nth-child(3)::after{background:#8a68d1}
.cp-kpi:nth-child(4)::after{background:#d99a32}
.cp-kpi b{color:#163b5b}
.cp-kpi small{font-weight:700;letter-spacing:.015em}

@media(max-width:900px){
  body:not(.portal-auth-page) .cp-head{align-items:flex-start}
  .cp-profile-grid>.cp-card{padding:20px}
}
@media(max-width:560px){
  body:not(.portal-auth-page) .cp-wrap{padding:18px 12px 40px}
  body:not(.portal-auth-page) .cp-head{padding:13px 14px;border-radius:13px}
  body:not(.portal-auth-page) .cp-head>div:last-child{width:100%}
  body:not(.portal-auth-page) .cp-head .cp-btn{flex:1;justify-content:center}
  .cp-profile-grid>.cp-card,.cp-security-card{padding:17px!important;border-radius:13px}
  .cp-profile-grid .cp-form{grid-template-columns:1fr}
  .cp-profile-grid .cp-form label[style*="grid-column"]{grid-column:auto!important}
  .cp-profile-grid .cp-primary{width:100%}
}

/* portal login final polish v6 20261007 */
.portal-auth-card{
  position:relative;
}
.portal-auth-badge{
  box-shadow:inset 0 0 0 1px rgba(29,126,201,.06);
}
.portal-auth-field>span{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}
.portal-auth-input-wrap{
  border-radius:12px;
}
.portal-auth-mfa-field{
  padding:12px 12px 11px;
  border:1px solid #dce8f4;
  border-radius:12px;
  background:linear-gradient(135deg,#f8fbff 0%,#f3f8fd 100%);
}
.portal-auth-mfa-field .portal-auth-input-wrap{
  margin-top:1px;
}
.portal-auth-mfa-field input{
  background:#fff;
}
.portal-auth-recovery{
  padding-top:2px;
}
.portal-auth-recovery a{
  position:relative;
}
.portal-auth-recovery a::after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:-2px;
  height:1px;
  background:currentColor;
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .16s ease;
}
.portal-auth-recovery a:hover{text-decoration:none}
.portal-auth-recovery a:hover::after{transform:scaleX(1)}
.portal-auth-submit{
  position:relative;
  overflow:hidden;
}
.portal-auth-submit::after{
  content:"";
  position:absolute;
  top:0;bottom:0;left:-45%;
  width:32%;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.24),transparent);
  transform:skewX(-20deg);
  transition:left .45s ease;
}
.portal-auth-submit:hover::after{left:115%}
.portal-auth-mini{
  border-color:#e8eef4;
  background:linear-gradient(135deg,#fafcfe,#f7f9fc);
}

/* customer portal content modules v7 20261007 */
body:not(.portal-auth-page) .cp-card:not(.cp-security-card){
  background:linear-gradient(180deg,#fff 0%,#fcfdff 100%);
}
body:not(.portal-auth-page) .cp-card>h3{
  display:flex;
  align-items:center;
  gap:9px;
}
body:not(.portal-auth-page) .cp-card>h3::before{
  content:"";
  width:9px;height:9px;border-radius:3px;
  background:linear-gradient(135deg,#2f8fda,#69b8ef);
  box-shadow:0 0 0 4px rgba(47,143,218,.08);
  flex:0 0 auto;
}
body:not(.portal-auth-page) .cp-table{
  border-collapse:separate;
  border-spacing:0;
  overflow:hidden;
  border:1px solid #e1e9f1;
  border-radius:12px;
  background:#fff;
}
body:not(.portal-auth-page) .cp-table thead th{
  background:#f6f9fc;
  color:#526b82;
  font-size:11px;
  font-weight:800;
  letter-spacing:.035em;
  text-transform:uppercase;
  border-bottom:1px solid #dce6ef;
}
body:not(.portal-auth-page) .cp-table th,
body:not(.portal-auth-page) .cp-table td{
  padding:12px 11px;
}
body:not(.portal-auth-page) .cp-table tbody tr{
  transition:background .14s ease;
}
body:not(.portal-auth-page) .cp-table tbody tr:hover{
  background:#f9fcff;
}
body:not(.portal-auth-page) .cp-table tbody tr:last-child td{
  border-bottom:0;
}
body:not(.portal-auth-page) .cp-table td b{
  color:#173c5c;
}
body:not(.portal-auth-page) .cp-table td small{
  color:#7a8b9b;
  line-height:1.45;
}
body:not(.portal-auth-page) .cp-badge{
  padding:5px 9px;
  border:1px solid #dde6ee;
  background:#f4f7fa;
  color:#50677b;
  font-weight:700;
}
body:not(.portal-auth-page) .cp-badge.cp-ok{
  border-color:#cde8d8;
  background:#eef9f2;
  color:#1e7f4f;
}
body:not(.portal-auth-page) .cp-badge.cp-warn{
  border-color:#f0dfb7;
  background:#fff8e8;
  color:#9a690c;
}
body:not(.portal-auth-page) .cp-badge.cp-danger{
  border-color:#efcaca;
  background:#fff1f1;
  color:#a64040;
}
body:not(.portal-auth-page) .cp-btn{
  transition:transform .14s ease,box-shadow .14s ease,background .14s ease,border-color .14s ease;
}
body:not(.portal-auth-page) .cp-btn:hover{
  transform:translateY(-1px);
}
body:not(.portal-auth-page) .cp-secondary{
  border:1px solid #d9e3ed;
  background:#f7f9fc;
  color:#35516a;
}
body:not(.portal-auth-page) .cp-secondary:hover{
  background:#eef4f9;
  border-color:#c5d6e5;
}
body:not(.portal-auth-page) .cp-scroll{
  border-radius:12px;
}
body:not(.portal-auth-page) .cp-muted{
  line-height:1.55;
}
body:not(.portal-auth-page) .cp-form textarea{
  font-family:inherit;
}
body:not(.portal-auth-page) .cp-form label>span{
  color:#435d74;
  font-size:11.5px;
  font-weight:700;
}
body:not(.portal-auth-page) .cp-form input,
body:not(.portal-auth-page) .cp-form select,
body:not(.portal-auth-page) .cp-form textarea{
  border-color:#cfdae5;
  background:#fcfdff;
}
body:not(.portal-auth-page) .cp-form input:focus,
body:not(.portal-auth-page) .cp-form select:focus,
body:not(.portal-auth-page) .cp-form textarea:focus{
  outline:none;
  border-color:#4b9de1;
  background:#fff;
  box-shadow:0 0 0 4px rgba(41,133,209,.09);
}
body:not(.portal-auth-page) .cp-notice{
  border:1px solid transparent;
  box-shadow:0 5px 16px rgba(24,53,78,.04);
}
body:not(.portal-auth-page) .cp-success{
  border-color:#cae7d6;
  background:#eef9f2;
  color:#2b704b;
}
body:not(.portal-auth-page) .cp-error{
  border-color:#efcccc;
  background:#fff2f2;
  color:#963e3e;
}
@media(max-width:700px){
  body:not(.portal-auth-page) .cp-table{border-radius:10px}
  body:not(.portal-auth-page) .cp-table th,
  body:not(.portal-auth-page) .cp-table td{padding:10px 9px}
}

/* mfa setup lifecycle v8 20261007 */
.cp-mfa-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.cp-mfa-cancel-form{margin-top:-3px}
.cp-mfa-cancel-form .cp-secondary{
  min-height:40px;
  border-color:#d9e3ed;
  background:#f8fafc;
  color:#5d7082;
  font-weight:700;
}
.cp-mfa-cancel-form .cp-secondary:hover{
  border-color:#c7d6e4;
  background:#eef3f7;
  color:#344f67;
}

/* mfa expiry notice v9 20261007 */
.cp-mfa-expiry-note{
  display:flex;align-items:center;gap:8px;
  padding:10px 12px;border:1px solid #dbe8f4;border-radius:10px;
  background:#f6faff;color:#4d6a84;font-size:11.5px;font-weight:700;line-height:1.45;
}
.cp-mfa-expiry-note::before{
  content:"";
  width:8px;height:8px;border-radius:50%;
  background:#4f93cf;box-shadow:0 0 0 4px rgba(79,147,207,.10);
  flex:0 0 auto;
}

/* portal recovery codes + security history v10 20261007 */
.cp-recovery-once{
  display:grid;gap:12px;margin:14px 0 16px;padding:16px;
  border:1px solid #f0d9a8;border-radius:13px;
  background:linear-gradient(135deg,#fffaf0 0%,#fffdf8 100%);
}
.cp-recovery-once-head{
  display:flex;align-items:flex-start;justify-content:space-between;gap:14px;flex-wrap:wrap;
}
.cp-recovery-once-head>div{display:grid;gap:4px}
.cp-recovery-once-head b{color:#74500c}
.cp-recovery-once-head span{color:#806d46;font-size:11.5px;line-height:1.5}
.cp-recovery-once pre{
  margin:0;padding:14px;border-radius:10px;background:#2c2417;color:#fff8df;
  font:700 14px/1.65 Consolas,monospace;letter-spacing:.08em;
  white-space:pre-wrap;
}
.cp-recovery-summary{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0;
}
.cp-recovery-summary>div{
  padding:12px 13px;border:1px solid #dce7f1;border-radius:11px;background:#fff;
}
.cp-recovery-summary small{display:block;color:#77899a;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}
.cp-recovery-summary b{display:block;margin-top:4px;color:#173d5d;font-size:20px}
.cp-recovery-regenerate{
  margin:12px 0 4px;padding:12px 13px;border:1px solid #dce7f1;border-radius:11px;background:#fbfdff;
}
.cp-recovery-regenerate summary{cursor:pointer;color:#2b6fa7;font-size:12px;font-weight:800}
.cp-recovery-regenerate p{margin:9px 0;color:#75889a;font-size:11.5px;line-height:1.5}
.cp-security-history-card{
  border-color:#dbe6ef!important;
  background:linear-gradient(180deg,#fff,#fbfdff)!important;
}
.cp-security-history-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}
.cp-security-history-table td{vertical-align:top}
.cp-security-history-table td:first-child b{color:#224c6c}
.cp-security-history-table td:nth-child(2),
.cp-security-history-table td:nth-child(3){white-space:nowrap}
.portal-login-mfa{text-transform:uppercase;letter-spacing:.055em}
@media(max-width:620px){
  .cp-recovery-summary{grid-template-columns:1fr}
  .cp-security-history-table{min-width:720px}
}

/* partner portal security v11 20261007 */
.bp-security-panel{
  position:relative;
  overflow:hidden;
  border:1px solid #dbe6ef!important;
  border-radius:16px!important;
  background:
    radial-gradient(circle at 95% 5%,rgba(78,112,211,.08),transparent 27%),
    linear-gradient(180deg,#fff 0%,#fbfdff 100%)!important;
  box-shadow:0 12px 32px rgba(24,55,83,.06);
}
.bp-security-panel::before{
  content:"";
  position:absolute;left:0;right:0;top:0;height:3px;
  background:linear-gradient(90deg,#5368d7,#3b9edf);
}
.bp-security-panel .cp-security-head{
  display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px;
}
.bp-security-panel .cp-security-head h2{
  margin:3px 0 4px;color:#183b59;font-size:20px;
}
.bp-security-panel .cp-security-kicker{
  color:#5669c8;font-size:10px;font-weight:800;letter-spacing:.08em;
}
.bp-security-panel .cp-security-enabled,
.bp-security-panel .cp-security-disabled{
  margin:12px 0;padding:12px 13px;border:1px solid #dbe7f1;border-radius:11px;
  background:#f8fbfe;color:#476178;font-size:12px;line-height:1.55;
}
.bp-security-form{
  margin-top:12px;
}
.bp-security-form label{
  min-width:0;
}
.bp-security-form input{
  min-height:44px;border:1px solid #cfdae5;border-radius:10px;background:#fff;
}
.bp-security-form input:focus{
  outline:none;border-color:#4b9de1;box-shadow:0 0 0 4px rgba(41,133,209,.09);
}
.bp-disable-form{
  padding-top:12px;border-top:1px solid #e5ecf3;
}
.bp-security-history{
  margin-top:20px;padding-top:18px;border-top:1px solid #e2eaf2;
}
.bp-security-history .cp-security-history-head{
  margin-bottom:10px;
}
.bp-security-history .cp-security-history-head h3{
  margin:4px 0 0;color:#1f4666;font-size:17px;
}
.bp-security-panel .table-wrap{
  border:1px solid #e1e9f1;border-radius:12px;overflow:auto;background:#fff;
}
.bp-security-panel table{
  width:100%;border-collapse:collapse;
}
.bp-security-panel th{
  background:#f6f9fc;color:#536b81;font-size:11px;font-weight:800;letter-spacing:.035em;text-transform:uppercase;
}
.bp-security-panel th,.bp-security-panel td{
  padding:11px 10px;border-bottom:1px solid #edf1f5;text-align:left;vertical-align:top;
}
.bp-security-panel tbody tr:hover{background:#f9fcff}
.bp-security-panel tbody tr:last-child td{border-bottom:0}
.bp-security-panel .cp-mfa-enroll-grid{margin:14px 0}
.bp-security-panel .cp-recovery-summary{max-width:520px}
.bp-security-panel .cp-mfa-cancel-form{margin-top:10px}
.bp-security-panel .site-btn{
  border-radius:9px;
}
@media(max-width:700px){
  .bp-security-panel .cp-security-head{display:grid}
  .bp-security-panel .cp-security-head>.cp-badge{width:max-content}
  .bp-security-panel .cp-mfa-enroll-grid{grid-template-columns:1fr}
  .bp-security-panel .site-form{grid-template-columns:1fr}
  .bp-security-panel .cp-security-history-table{min-width:720px}
}

/* portal active sessions + trusted devices v12 20261008 */
.portal-session-card,
.portal-device-card,
.bp-session-panel,
.bp-device-panel{
  position:relative;
  overflow:hidden;
}
.portal-session-card::before,
.portal-device-card::before,
.bp-session-panel::before,
.bp-device-panel::before{
  content:"";
  position:absolute;
  left:0;right:0;top:0;
  height:3px;
  background:linear-gradient(90deg,#3c86d3,#53b4d8);
}
.portal-device-card::before,
.bp-device-panel::before{
  background:linear-gradient(90deg,#2b9a7d,#63c4a8);
}
.portal-session-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:14px;
}
.portal-session-head h2,
.portal-session-head h3{margin:2px 0 5px}
.portal-inline-form{display:inline-flex;margin:0}
.portal-device-actions{
  display:flex;
  align-items:center;
  gap:7px;
  flex-wrap:wrap;
}
.portal-session-table td,
.portal-device-table td{
  vertical-align:top;
}
.portal-session-table .cp-btn,
.portal-device-table .cp-btn,
.bp-session-panel .site-btn,
.bp-device-panel .site-btn{
  min-height:34px;
  padding:7px 10px;
  font-size:11px;
}
.portal-session-table small,
.portal-device-table small{
  color:#74879a;
  line-height:1.4;
}
.bp-session-panel,
.bp-device-panel{
  margin-top:18px;
  border:1px solid #dce7f1;
  border-radius:16px;
  background:linear-gradient(180deg,#fff,#fbfdff);
  box-shadow:0 10px 30px rgba(23,54,82,.05);
}
.bp-session-panel .portal-session-head,
.bp-device-panel .portal-session-head{padding:0}
.bp-session-panel .table-wrap,
.bp-device-panel .table-wrap{margin-top:10px}
@media(max-width:700px){
  .portal-session-head{display:grid}
  .portal-session-head>form{width:100%}
  .portal-session-head>form .cp-btn,
  .portal-session-head>form .site-btn{width:100%}
  .portal-session-table,
  .portal-device-table{min-width:760px}
}

/* portal password change v13 20261008 */
.cp-password-change{
  margin:12px 0 16px;padding:12px 13px;
  border:1px solid #d9e5ef;border-radius:12px;
  background:linear-gradient(135deg,#fbfdff,#f6faff);
}
.cp-password-change summary{
  cursor:pointer;color:#245e8d;font-size:12px;font-weight:800;
}
.cp-password-change p{
  margin:9px 0 12px;color:#6e8295;font-size:11.5px;line-height:1.55;
}
.cp-password-change[open]{
  box-shadow:0 8px 22px rgba(26,71,107,.055);
}
.cp-password-change .cp-form{
  margin-top:8px;
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.cp-password-change .cp-form label:nth-of-type(3){
  grid-column:1 / -1;
}
@media(max-width:620px){
  .cp-password-change .cp-form{grid-template-columns:1fr}
  .cp-password-change .cp-form label:nth-of-type(3){grid-column:auto}
}

/* mfa brute-force guard note v14 20261008 */
.cp-mfa-attempt-note{
  margin:10px 0 12px;
  padding:10px 12px;
  border:1px solid #eadfbf;
  border-radius:10px;
  background:linear-gradient(135deg,#fffaf0,#fffdf8);
  color:#755b24;
  font-size:11.5px;
  font-weight:700;
  line-height:1.5;
}
.cp-mfa-attempt-note::before{
  content:"";
  display:inline-block;
  width:7px;height:7px;
  margin-right:8px;
  border-radius:50%;
  background:#d9a13a;
  box-shadow:0 0 0 4px rgba(217,161,58,.10);
  vertical-align:1px;
}
