/* ScanAndReach — Account Dashboard */

.sar-dashboard {
  padding: 0 14px 24px;
}

.sar-dashboard-header {
  padding: 12px 6px 22px;
}

.sar-dashboard-eyebrow {
  margin: 0 0 9px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: #687b98;
}

.sar-dashboard-title {
  margin: 0;
  font-size: 27px;
  font-weight: 750;
  letter-spacing: -.7px;
  color: #10203d;
}

.sar-dashboard-description {
  margin: 9px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: #657792;
}

.sar-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.sar-dashboard-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  min-width: 0;
  min-height: 158px;
  padding: 18px 15px;
  border: 1px solid #e1e9f3;
  border-radius: 19px;
  background: #fff;
  color: #172b48;
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}

.sar-dashboard-card:hover {
  background: #f5f9ff;
  border-color: #a9c9f5;
}

.sar-dashboard-card:active {
  background: #eaf3ff;
}

.sar-dashboard-card:focus-visible {
  outline: 3px solid #0873fb;
  outline-offset: 3px;
}

.sar-dashboard-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: #eef5ff;
  color: #0869f7;
  font-size: 22px;
}

.sar-dashboard-card-title {
  display: block;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.3;
}

.sar-dashboard-card-description {
  display: block;
  margin-top: -5px;
  font-size: 12px;
  line-height: 1.5;
  color: #687b98;
}

.sar-dashboard-section {
  margin-top: 22px;
}

.sar-dashboard-section-title {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 750;
  color: #142b4a;
}

.sar-dashboard-panel {
  padding: 20px;
  border: 1px solid #e2eaf5;
  border-radius: 18px;
  background: #fff;
}

.sar-dashboard-panel .account-feedback {
  margin-bottom: 0;
}

@media (max-width: 350px) {
  .sar-dashboard-grid {
    gap: 8px;
  }

  .sar-dashboard-card {
    padding: 14px 11px;
    min-height: 150px;
  }

  .sar-dashboard-card-title {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sar-dashboard-card {
    transition: none;
  }
}


/* QR sahibi paneli: ustteki tekrar Hesabim dugmesini yalniz bu ekranda sakla. */
body:has(#screen .sar-dashboard) #account-nav { display: none; }
/* QR sahibinin adi, bolum etiketinden belirgin ve marka mavisinde. */
.sar-dashboard-title { color: #0869f7; font-size: clamp(30px, 6vw, 42px); font-weight: 800; letter-spacing: -.9px; overflow-wrap: anywhere; }

/* SAR-UX-20261015: QR detay duzeni ve okunabilirlik */
.account-hero {padding:24px 20px 37px;}
.account-hero h1 {font-size:clamp(24px,6vw,29px);line-height:1.2;overflow-wrap:anywhere;margin:10px 0 8px;}
.account-hero p {margin:0;line-height:1.5;}
.account-panel {padding:22px 20px 28px;}
.account-panel h2 {margin:13px 0 13px;line-height:1.35;}
.account-panel .sar-edit-heading {margin-top:13px;margin-bottom:14px;}
.account-panel .sar-edit-note {font-size:13px;line-height:1.8;margin:0 0 22px;}
.account-panel #sar-tag-details {display:grid;gap:18px;}
.account-panel #sar-tag-details label {margin:0;line-height:1.55;}
.account-panel #sar-tag-details input,.account-panel #sar-tag-details select {display:block;margin-top:9px;min-height:49px;}
.account-panel #sar-tag-details button.primary {margin-top:5px;min-height:52px;}
.account-panel .account-feedback {margin-top:16px;line-height:1.65;overflow-wrap:anywhere;}
.sar-inline-back {appearance:none;border:0;background:transparent;color:#175aab;padding:8px 0;margin:0 0 12px;text-align:left;font:inherit;font-size:13px;font-weight:650;cursor:pointer;}
.sar-inline-back:focus-visible {outline:2px solid #0869f7;outline-offset:3px;}
@media (max-width:380px) {.account-panel {padding:20px 16px 24px;}}

/* QR sahibi: cihaz kurulumu ve bildirim rehberi */
.sar-install-panel { margin-top: 20px; padding: 18px; border: 1px solid #d6e8e4; border-radius: 18px; background: #f4faf8; }
.sar-install-panel h2 { margin: 0 0 8px; font-size: 17px; color: #172b48; }
.sar-install-panel p { margin: 0 0 14px; font-size: 13px; line-height: 1.55; color: #52677a; }
.sar-install-actions { display: grid; gap: 9px; }
.sar-install-actions button { min-height: 44px; width: 100%; }
#sar-install-guide { margin-top: 12px; padding: 12px; background: white; border: 1px solid #d6e8e4; border-radius: 12px; }
#sar-install-guide strong { display: block; margin-bottom: 7px; }
#sar-install-guide p { margin: 0; }


/* SAR / owner profile + security: one restrained visual language, scoped to the two pages. */
.sar-profile-hero {padding:24px 22px 42px;}
.sar-profile-hero h1 {margin:8px 0 8px;font-size:28px;line-height:1.23;letter-spacing:-.5px;}
.sar-profile-hero p {font-size:13px;line-height:1.55;}
.sar-profile-shell {padding:20px 16px 28px;display:grid;gap:15px;}
.sar-profile-back {margin:0 0 2px;padding:8px 2px;min-height:40px;}
.sar-profile-card {border:1px solid #e0e9f2;background:#fff;border-radius:18px;padding:18px 16px;min-width:0;}
.sar-profile-card-head {display:flex;align-items:center;gap:13px;min-width:0;}
.sar-profile-card-copy {min-width:0;flex:1;}
.sar-profile-card-icon,.sar-profile-avatar {flex:none;display:grid;place-items:center;width:45px;height:45px;border-radius:14px;background:#eef5ff;font-size:22px;}
.sar-profile-card h2 {color:#152b49;font-size:17px;line-height:1.35;margin:0;overflow-wrap:anywhere;}
.sar-profile-identity h2 {font-size:18px;}
.sar-profile-handle {font-size:13px;line-height:1.5;color:#60748b;margin:4px 0 0;overflow-wrap:anywhere;}
.sar-profile-card-header-row {display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px;}
.sar-profile-email-status {flex:none;padding:6px 10px;border-radius:999px;font-size:11px;line-height:1.35;font-weight:750;background:#f3f5f9;color:#5b6879;}
.sar-profile-email-status.is-verified {background:#e9f8f0;color:#13774b;}
.sar-profile-email-status.is-pending {background:#fff5e7;color:#9b5a08;}
.sar-profile-email-status.is-optional {background:#edf3fa;color:#57708a;}
.sar-profile-help {font-size:13px!important;color:#536780;line-height:1.65;margin:8px 0 16px;}
.sar-profile-form {display:grid;gap:9px;margin-top:8px;}
.sar-profile-shell .sar-profile-form label {font-size:13px;font-weight:700;line-height:1.4;margin:0;display:block;color:#2a3f5e;}
.sar-profile-shell .sar-profile-form input:not([type=checkbox]) {min-height:48px;margin:0;background:#f8fbff;border:1px solid #d5e0ed;border-radius:12px;padding:12px 13px;font-size:15px;}
.sar-profile-password-proof {display:grid;gap:8px;padding:12px;margin-top:3px;border-radius:12px;background:#f7f9fc;}
.sar-profile-password-proof[hidden] {display:none;}
.sar-profile-hint {font-size:12px;line-height:1.6;color:#67788c;margin:2px 0 8px;overflow-wrap:anywhere;}
.sar-profile-shell button.sar-profile-action {margin:6px 0 0;min-height:48px;padding:12px;font-size:14px;}
.sar-profile-shell button.sar-profile-action:disabled {opacity:.6;cursor:not-allowed;}
.sar-profile-shell button.sar-profile-action-secondary {margin-top:10px;min-height:45px;padding:11px 13px;font-size:13px;}
.sar-profile-shell .sar-profile-feedback {margin:0;min-height:0;line-height:1.55;}
.sar-profile-shell .sar-profile-feedback:empty {display:none;}
.sar-profile-disclosure {border:1px solid #e0e9f2;border-radius:17px;background:#fff;overflow:hidden;min-width:0;}
.sar-profile-disclosure > summary {list-style:none;cursor:pointer;min-height:73px;padding:16px;display:flex;align-items:center;justify-content:space-between;gap:10px;}
.sar-profile-disclosure > summary::-webkit-details-marker {display:none;}
.sar-profile-disclosure > summary:after {content:'⌄';font-size:20px;color:#5a7190;line-height:1;transition:transform .15s;}
.sar-profile-disclosure[open] > summary:after {transform:rotate(180deg);}
.sar-profile-summary-title {display:block;font-size:15px;font-weight:760;color:#1b3453;line-height:1.35;}
.sar-profile-summary-hint {display:block;font-size:12px;color:#657a93;line-height:1.35;margin-top:3px;}
.sar-profile-disclosure > summary {display:block;position:relative;padding-right:42px;}
.sar-profile-disclosure > summary:after {position:absolute;right:18px;top:25px;}
.sar-profile-disclosure-body {padding:0 16px 18px;border-top:1px solid #eff2f7;}
.sar-profile-disclosure-body .sar-profile-form {margin-top:16px;}
.sar-profile-disclosure-body > .sar-profile-hint:first-child {margin-top:13px;}
.sar-profile-preferences {display:grid;gap:12px;margin-top:14px;}
.sar-profile-shell .sar-profile-preferences label {display:flex;align-items:center;gap:11px;margin:0;font-size:14px;line-height:1.4;font-weight:550;padding:7px 0;}
.sar-profile-shell .sar-profile-preferences input[type=checkbox] {flex:none;width:19px;height:19px;accent-color:#086cf6;}
.sar-profile-link-card {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 16px;border:1px solid #dce5ef;border-radius:17px;background:#fff;color:#203a5b;font:inherit;text-align:left;cursor:pointer;min-height:74px;}
.sar-profile-link-card strong {display:block;font-size:15px;line-height:1.4;}
.sar-profile-link-card small {display:block;font-size:12px;line-height:1.5;color:#6b7d94;margin-top:3px;}
.sar-profile-link-card > span:last-child {font-size:27px;color:#8195ac;}
.sar-profile-shell button:focus-visible,.sar-profile-disclosure > summary:focus-visible {outline:3px solid #1972eb;outline-offset:3px;}
@media (max-width:360px){.sar-profile-shell {padding:17px 13px 24px;gap:12px;}.sar-profile-card {padding:16px 13px;}.sar-profile-card-header-row {align-items:flex-start;}.sar-profile-email-status {white-space:nowrap;font-size:10px;padding:5px 7px;}}
@media (prefers-reduced-motion:reduce){.sar-profile-disclosure > summary:after {transition:none;}}
