/* Müşteri paneli — kurumsal hesap arayüzü */
.account-body { background: #eef2f6; }

.account-page { padding-bottom: 3rem; }

.account-shell {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.account-sidebar {
  position: sticky;
  top: 1.25rem;
  background: #fff;
  border: 1px solid #dde4ec;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(13, 28, 47, 0.06);
  overflow: hidden;
}

.account-user-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.25rem 1.15rem;
  background: #0d1c2f;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.account-user-avatar {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(0, 178, 227, 0.18);
  font-size: 17px;
  font-weight: 600;
  color: #7dd3f0;
  letter-spacing: 0.02em;
}

.account-user-meta strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.account-user-meta span {
  display: block;
  margin-top: 0.2rem;
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.68);
  word-break: break-all;
}

.account-nav {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.85rem 0.75rem;
}

.account-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.78rem 0.9rem;
  border-radius: 10px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: #334155;
  transition: background 0.15s ease, color 0.15s ease;
}

.account-nav-link span:last-child { line-height: 1.25; }

.account-ico {
  flex-shrink: 0;
  color: #64748b;
  transition: color 0.15s ease;
}

.account-nav-link:hover {
  background: #f4f9fc;
  color: #006684;
}

.account-nav-link:hover .account-ico { color: #006684; }

.account-nav-link.active {
  background: #e8f6fb;
  color: #006684;
  font-weight: 600;
}

.account-nav-link.active .account-ico { color: #00a3cc; }

.account-sidebar-foot {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.75rem 0.75rem 0.9rem;
  border-top: 1px solid #eef2f7;
  background: #fafbfc;
}

.account-side-extra {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.62rem 0.75rem;
  border-radius: 10px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  color: #64748b;
}

.account-side-extra .account-ico { color: inherit; opacity: 0.85; }
.account-side-extra:hover { background: #f1f5f9; color: #006684; }
.account-side-extra--admin { color: #006684; font-weight: 600; }
.account-side-extra--logout { color: #b42318; }
.account-side-extra--logout:hover { background: #fef3f2; color: #912018; }
.account-main { min-width: 0; }

.account-flash {
  margin-bottom: 1rem;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
}

.account-flash--ok {
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  color: #047857;
}

.account-flash--err {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

.account-page-head { margin-bottom: 1.25rem; }
.account-page-head--split {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.account-page-kicker {
  margin: 0 0 0.35rem;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #008eb5;
}

.account-page-head h1 {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #0d1c2f;
}

.account-page-lead {
  margin: 0.5rem 0 0;
  font-size: 15px;
  font-weight: 400;
  color: #64748b;
  line-height: 1.55;
  max-width: 58ch;
}

.account-page-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.account-btn-ghost,
.account-address-card-actions button,
.account-address-card-actions a {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.55rem 0.8rem;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #475569;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
}

.account-btn-ghost:hover,
.account-address-card-actions a:hover,
.account-address-card-actions button:hover {
  border-color: #006684;
  color: #006684;
}

.account-address-card-actions button.is-danger { color: #b91c1c; }
.account-address-card-actions button.is-danger:hover {
  border-color: #fecaca;
  background: #fef2f2;
}

.account-inline-form { display: inline; margin: 0; }

.account-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

.account-stat-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1px solid #e5eaf0;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.account-stat-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.account-stat-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: #f1f7fa;
  color: #006684;
}

.account-stat-icon svg {
  width: 22px;
  height: 22px;
}

.account-stat-body {
  min-width: 0;
}

.account-stat-value {
  display: block;
  font-size: 1.2rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.account-stat-label {
  display: block;
  margin-top: 0.2rem;
  font-size: 13px;
  font-weight: 400;
  color: #64748b;
  line-height: 1.35;
}

.account-stat-card--accent {
  background: #fff;
  border-color: #006684;
}

.account-stat-card--accent .account-stat-icon--accent {
  background: #006684;
  color: #fff;
}

.account-stat-card--accent .account-stat-value {
  color: #006684;
}

.account-stat-card--accent .account-stat-label {
  color: #475569;
}

.account-wallet-summary {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.85rem;
  min-height: 82px;
  padding: 0.95rem 1rem;
  overflow: hidden;
  color: #0f172a;
  text-decoration: none;
  background: linear-gradient(145deg, #ffffff 0%, #f8fbfd 100%);
  border: 1px solid #d8e2e9;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.account-wallet-summary::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #006684, #00b2e3);
}

.account-wallet-summary:hover {
  transform: translateY(-2px);
  border-color: #9fc9d6;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.09);
}

.account-wallet-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid #b9d4de;
  border-radius: 50%;
  background: #f2fafc;
  color: #006684;
  font-size: 19px;
  font-weight: 700;
}

.account-wallet-content {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.account-wallet-label {
  color: #64748b;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.account-wallet-value {
  margin-top: 0.08rem;
  color: #0d1c2f;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.account-wallet-caption {
  margin-top: 0.12rem;
  color: #64748b;
  font-size: 11px;
}

.account-wallet-arrow {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #eef6f8;
  color: #006684;
}

.account-wallet-arrow svg {
  width: 16px;
  height: 16px;
}

.account-panels {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 1rem;
}

.account-panel,
.account-form-card,
.account-empty-card {
  background: #fff;
  border: 1px solid #d9e2ec;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.account-panel { padding: 1.15rem 1.2rem; }

.account-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #eef2f7;
}

.account-panel-head h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #0d1c2f;
}

.account-panel-link {
  font-size: 13px;
  font-weight: 700;
  color: #006684;
  text-decoration: none;
}

.account-panel-link:hover { text-decoration: underline; }

.account-panel-head a {
  font-size: 13px;
  font-weight: 500;
  color: #006684;
  text-decoration: none;
}

.account-panel-head a:hover { text-decoration: underline; }

.account-mini-list { display: flex; flex-direction: column; gap: 0.65rem; }

.account-mini-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid #dce5ee;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.account-mini-row:hover {
  border-color: #8fc9d8;
  background: #fbfeff;
  box-shadow: 0 5px 14px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.account-mini-row-title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #0d1c2f;
}

.account-mini-row-date {
  display: block;
  margin-top: 0.25rem;
  font-size: 12px;
  font-weight: 500;
  color: #64748b;
}

.account-mini-row-price {
  font-size: 13px;
  font-weight: 700;
  color: #0d1c2f;
}

.account-mini-row strong {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #0f172a;
}

.account-mini-row-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
}

.account-mini-row .my-order-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  margin: 0;
  padding: 0.28rem 0.7rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
}

.account-mini-row .my-order-badge--info {
  color: #075985;
  background: #e0f2fe;
  border-color: #bae6fd;
}

.account-mini-row .my-order-badge--success {
  color: #166534;
  background: #dcfce7;
  border-color: #bbf7d0;
}

.account-mini-row .my-order-badge--danger {
  color: #991b1b;
  background: #fee2e2;
  border-color: #fecaca;
}

.account-mini-row .my-order-badge--warn {
  color: #92400e;
  background: #fef3c7;
  border-color: #fde68a;
}

.account-mini-row-meta strong {
  font-size: 13px;
  color: #006684;
}

.account-quick-grid {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.account-quick {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.85rem 0.9rem;
  border-radius: 10px;
  border: 1px solid #eef2f7;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.account-quick:hover {
  border-color: #dbeafe;
  background: #fafcff;
}

.account-quick-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #f1f7fa;
  color: #006684;
}

.account-quick-icon svg {
  width: 20px;
  height: 20px;
}

.account-quick-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.account-quick-title {
  font-size: 13px;
  font-weight: 500;
  color: #0f172a;
  line-height: 1.35;
}

.account-quick-desc {
  font-size: 12px;
  font-weight: 400;
  color: #94a3b8;
  line-height: 1.4;
}

.account-quick strong {
  font-size: 13px;
  font-weight: 500;
  color: #0f172a;
}

.account-quick span:last-child {
  font-size: 12px;
  font-weight: 400;
  color: #94a3b8;
  line-height: 1.4;
}

.account-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.62rem 1.1rem;
  border-radius: 8px;
  border: 0;
  background: #006684;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  text-decoration: none;
  transition: background 0.15s ease;
}

.account-btn-primary:hover {
  background: #00506a;
  color: #fff;
}

.account-form-card { padding: 1.35rem 1.4rem; margin-bottom: 1rem; }
.account-form-card h2 {
  margin: 0 0 1.1rem;
  font-size: 17px;
  font-weight: 600;
  color: #0f172a;
}

.account-empty-card .account-ico {
  width: 48px;
  height: 48px;
  color: #cbd5e1;
}

/* Adres seçici — ödeme */
.address-picker { margin-bottom: 1rem; }
.address-picker-label {
  margin: 0 0 0.55rem;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
}
.address-picker-list {
  display: grid;
  gap: 0.55rem;
}
.address-picker-item {
  display: block;
  cursor: pointer;
}
.address-picker-item input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.address-picker-card {
  display: block;
  padding: 0.85rem 1rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.address-picker-card strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
}
.address-picker-card span {
  display: block;
  margin-top: 0.25rem;
  font-size: 13px;
  font-weight: 400;
  color: #64748b;
  line-height: 1.45;
}
.address-picker-item input:checked + .address-picker-card {
  border-color: #00b2e3;
  box-shadow: 0 0 0 3px rgba(0, 178, 227, 0.12);
}
.checkout-address-picker { padding-bottom: 0.25rem; }

.account-form { display: flex; flex-direction: column; gap: 0.9rem; }

.account-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.account-form-grid--address {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.account-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 13px;
  font-weight: 500;
  color: #475569;
}

.account-field--full { grid-column: 1 / -1; }

.account-address-meta-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.9rem;
  align-items: end;
}

/* Kurumsal checkbox — gizli input + görsel kutu (padding çakışması yok) */
.ui-check {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  cursor: pointer;
  user-select: none;
}

.ui-check-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ui-check-mark {
  box-sizing: border-box;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border: 2px solid #b8c8d4;
  border-radius: 7px;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px;
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.ui-check-input:checked + .ui-check-mark {
  background-color: #006684;
  border-color: #006684;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M2.5 7.5L5.5 10.5L11.5 3.5' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.ui-check-input:focus-visible + .ui-check-mark {
  box-shadow: 0 0 0 3px rgba(0, 178, 227, 0.22);
}

.ui-check-label {
  font-size: 14px;
  font-weight: 500;
  color: #475569;
  line-height: 1.35;
  white-space: nowrap;
}

.ui-check--address-default {
  min-height: 46px;
  align-self: end;
}

.check-row {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 14px;
  font-weight: 500;
  color: #475569;
  line-height: 1.35;
  cursor: pointer;
  user-select: none;
}

.check-row-text {
  white-space: nowrap;
}

.check-row input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  width: 24px;
  height: 24px;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  border: 2px solid #b8c8d4;
  border-radius: 7px;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.check-row input[type="checkbox"]::after {
  content: none;
  display: none;
}

.check-row input[type="checkbox"]:checked {
  background-color: #006684;
  border-color: #006684;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M2.5 7.5L5.5 10.5L11.5 3.5' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.check-row input[type="checkbox"]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 178, 227, 0.22);
}

.account-field input:not([type="checkbox"]):not([type="radio"]),
.account-field textarea,
.account-select {
  border: 1px solid #d7dee8;
  border-radius: 10px;
  padding: 0.72rem 0.85rem;
  font-size: 15px;
  font-weight: 400;
  font-family: inherit;
  color: #0f172a;
  background: #fff;
}

.account-field input:disabled {
  background: #f8fafc;
  color: #64748b;
}

.account-field input:focus,
.account-field textarea:focus,
.account-select:focus {
  outline: none;
  border-color: #00b2e3;
  box-shadow: 0 0 0 3px rgba(0, 178, 227, 0.12);
}

.account-field em {
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
}

.account-form-actions { display: flex; gap: 0.5rem; }

.account-form-section {
  padding-top: 0.35rem;
  border-top: 1px solid #eef2f7;
}

.account-form-section:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.account-form-section h2 {
  margin: 0 0 0.75rem;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
}

.account-form-section-lead {
  margin: -0.35rem 0 0.75rem;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  line-height: 1.45;
}

.account-type-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.account-type-option {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 0.95rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.account-type-option:has(input:checked) {
  border-color: #00b2e3;
  background: #e0f6fd;
  color: #006684;
}

.account-type-option input {
  accent-color: #006684;
}

.account-form-note {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.account-form-note .material-symbols-outlined {
  font-size: 18px;
  color: #006684;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

.account-form-note p {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  line-height: 1.45;
}

.account-form-note a {
  color: #006684;
  font-weight: 600;
  text-decoration: none;
}

.account-form-note a:hover { text-decoration: underline; }

.account-address-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.85rem;
  align-items: stretch;
}

.account-address-card {
  display: flex;
  flex-direction: column;
  aspect-ratio: 1;
  max-width: 265px;
  padding: 1.15rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.account-address-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.account-address-card.is-default {
  border-color: #7dd3fc;
  box-shadow: 0 0 0 1px rgba(0, 178, 227, 0.08);
}

.account-address-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
}

.account-address-card-head strong {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
}

.account-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #006684;
  background: #e0f6fd;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
}

.account-address-card-body {
  margin: 0;
  flex: 1;
  min-height: 0;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  line-height: 1.45;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}

.account-address-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 0.65rem;
  border-top: 1px solid #eef2f7;
}

.account-address-card-actions form { margin: 0; }

@media (max-width: 640px) {
  .account-address-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .account-address-card {
    max-width: none;
    aspect-ratio: auto;
    min-height: 168px;
  }
}

@media (max-width: 420px) {
  .account-address-grid {
    grid-template-columns: 1fr;
  }
  .account-address-card {
    max-width: 280px;
    margin: 0 auto;
    width: 100%;
  }
}

.account-empty-card,
.account-empty-inline {
  padding: 2rem 1.25rem;
  text-align: center;
}

.account-empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 0.75rem;
  border-radius: 14px;
  background: #f1f5f9;
  color: #94a3b8;
}

.account-empty-icon svg {
  width: 24px;
  height: 24px;
}

.account-empty-card h2 {
  margin: 0.75rem 0 0.35rem;
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
}

.account-empty-card p,
.account-empty-inline p {
  margin: 0 0 1rem;
  font-size: 14px;
  font-weight: 400;
  color: #64748b;
}

.account-orders-board { margin-top: 0; border-radius: 18px; overflow: hidden; }

.account-enpara-hero { margin-bottom: 1rem; }
.account-enpara-history { border-radius: 14px; overflow: hidden; }

.account-campaign-list {
  display: grid;
  gap: 0.85rem;
}
.account-campaign-card {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #dfe7ed;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}
.account-campaign-card.is-current {
  border-color: #8fd6e7;
  box-shadow: 0 7px 22px rgba(0, 102, 132, 0.09);
}
.account-campaign-card.is-exhausted,
.account-campaign-card.is-expired {
  opacity: 0.82;
  border-color: #e2e8f0;
  background: #f8fafc;
  box-shadow: none;
}
.account-campaign-card.is-exhausted .account-campaign-media,
.account-campaign-card.is-expired .account-campaign-media {
  filter: grayscale(0.9);
}
.account-campaign-card.is-exhausted .account-campaign-media img,
.account-campaign-card.is-expired .account-campaign-media img {
  opacity: 0.65;
}
.account-campaign-card.is-exhausted .account-campaign-top h2,
.account-campaign-card.is-exhausted .account-campaign-description,
.account-campaign-card.is-expired .account-campaign-top h2,
.account-campaign-card.is-expired .account-campaign-description {
  color: #64748b;
}
.account-campaign-card.is-exhausted .account-campaign-badge {
  color: #94a3b8;
}
.account-campaign-used-note {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.55rem 0.8rem;
  border-radius: 9px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
}
.account-campaign-status.is-expired {
  background: #fef2f2;
  color: #b91c1c;
}
.account-campaign-media {
  display: grid;
  place-items: center;
  min-height: 170px;
  background: linear-gradient(145deg, #eef9fc, #f8fafc);
  color: #0088aa;
}
.account-campaign-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.account-campaign-media svg {
  width: 42px;
  height: 42px;
}
.account-campaign-body {
  min-width: 0;
  padding: 1rem 1.1rem;
}
.account-campaign-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.account-campaign-badge {
  display: inline-flex;
  margin-bottom: 0.35rem;
  color: #0088aa;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.account-campaign-top h2 {
  margin: 0;
  color: #0f2534;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.015em;
}
.account-campaign-status {
  flex-shrink: 0;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 10px;
  font-weight: 650;
}
.account-campaign-status.is-current {
  background: #e0f7fc;
  color: #006684;
}
.account-campaign-status.is-available {
  background: #ecfdf5;
  color: #047857;
}
.account-campaign-status.is-used {
  background: #f1f5f9;
  color: #64748b;
}
.account-campaign-description {
  margin: 0.55rem 0 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
}
.account-campaign-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}
.account-campaign-meta span {
  padding: 0.3rem 0.5rem;
  border: 1px solid #e5ebef;
  border-radius: 8px;
  background: #f8fafc;
  color: #64748b;
  font-size: 10px;
}
.account-campaign-meta strong {
  color: #334155;
  font-weight: 650;
}
.account-campaign-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.85rem;
}
.account-campaign-actions form { margin: 0; }
.account-campaign-actions a,
.account-campaign-actions button,
.account-campaign-empty-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.55rem 0.8rem;
  border: 1px solid #006684;
  border-radius: 9px;
  background: #006684;
  color: #fff;
  font: inherit;
  font-size: 11px;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
}
.account-campaign-actions .is-secondary {
  border-color: #dbe4e9;
  background: #fff;
  color: #475569;
}
.account-campaign-empty-link {
  width: fit-content;
  margin: 0 auto;
}
.account-coupon-list {
  display: grid;
  gap: 1rem;
}
.account-coupon-card {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1rem 1.1rem;
  background: #fff;
}
.account-coupon-card.is-current {
  border-color: #006684;
  box-shadow: 0 0 0 1px rgba(0, 102, 132, 0.12);
}
.account-coupon-card.is-used {
  opacity: 0.72;
}
.account-coupon-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}
.account-coupon-code {
  display: inline-block;
  margin-bottom: 0.35rem;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  background: #f0faff;
  color: #006684;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.account-coupon-head h2 {
  margin: 0;
  font-size: 1.05rem;
}

/* Giriş — kurumsal (HB / Trendyol tarzı) */
.account-auth {
  min-height: min(72vh, 720px);
  display: flex;
  align-items: stretch;
}

.account-auth--narrow {
  justify-content: center;
  align-items: center;
}

.account-auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 420px);
  gap: 0;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #dde4ec;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(13, 28, 47, 0.08);
}

.account-auth-aside {
  padding: 2.25rem 2rem;
  background: linear-gradient(165deg, #0d1c2f 0%, #123247 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
}

.account-auth-brand {
  margin: 0 0 1.25rem;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #7dd3f0;
}

.account-auth-aside h1 {
  margin: 0;
  font-size: clamp(1.5rem, 2.2vw, 1.85rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.account-auth-aside-lead {
  margin: 0.85rem 0 0;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 400;
}

.account-auth-benefits {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.account-auth-benefits li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.45;
}

.account-auth-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00b2e3;
}

.account-auth-store-link {
  margin-top: auto;
  padding-top: 1.5rem;
  font-size: 14px;
  font-weight: 500;
  color: #7dd3f0;
  text-decoration: none;
}

.account-auth-store-link:hover { text-decoration: underline; }

.account-auth-panel {
  padding: 2rem 1.85rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.account-auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: -0.35rem 0 1.15rem;
  padding: 4px;
  background: #f1f5f9;
  border-radius: 10px;
}

.account-auth-tab {
  display: block;
  text-align: center;
  padding: 0.62rem 0.75rem;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.account-auth-tab:hover {
  color: #334155;
}

.account-auth-tab.is-active {
  background: #fff;
  color: #006684;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.account-auth-form--register {
  gap: 0.85rem;
}

.account-auth-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.account-auth-type-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.account-auth-type-option {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.68rem 0.75rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  text-align: center;
  user-select: none;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.account-auth-type-option:has(input:checked) {
  border-color: #006684;
  background: #e0f6fd;
  color: #006684;
  box-shadow: inset 0 0 0 1px rgba(0, 102, 132, 0.08);
}

.account-auth-type-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.account-auth-type-option span {
  line-height: 1.2;
  pointer-events: none;
}

.account-password-rules {
  list-style: none;
  margin: 0.15rem 0 0;
  padding: 0.85rem 0.95rem;
  display: grid;
  gap: 0.45rem;
  border: 1px solid #bae6fd;
  border-radius: 12px;
  background: linear-gradient(180deg, #f0faff 0%, #f8fdff 100%);
}

.account-form .account-password-rules,
.account-password-form .account-password-rules {
  margin-top: 0.65rem;
}

.account-password-card {
  padding: 1.35rem 1.4rem 1.25rem;
}

.account-security-card {
  padding: 1.15rem 1.25rem;
}
.account-security-card-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.account-security-card-copy {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  min-width: 0;
}
.account-security-card-copy h2 {
  margin: 0 0 0.25rem;
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
}
.account-security-card-copy p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #64748b;
}
.account-security-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #f0faff;
  border: 1px solid #bae6fd;
  color: #006684;
}
.account-security-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.62rem 1.1rem;
  border-radius: 11px;
  border: 1px solid #006684;
  background: #fff;
  color: #006684;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.account-security-trigger:hover {
  background: #006684;
  color: #fff;
}

body.is-account-modal-open {
  overflow: hidden;
}
.account-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.account-modal[hidden] {
  display: none !important;
}
.account-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.48);
  backdrop-filter: blur(2px);
}
.account-modal-dialog {
  position: relative;
  width: min(100%, 440px);
  max-height: calc(100vh - 2rem);
  overflow: auto;
  border-radius: 18px;
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}
.account-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.15rem 1.2rem 0.85rem;
  border-bottom: 1px solid #eef2f7;
}
.account-modal-head-copy {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  min-width: 0;
}
.account-modal-head-copy h2 {
  margin: 0 0 0.25rem;
  font-size: 17px;
  font-weight: 600;
  color: #0f172a;
}
.account-modal-head-copy p {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: #64748b;
}
.account-modal-head-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #f0faff;
  border: 1px solid #bae6fd;
  color: #006684;
}
.account-modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: #f8fafc;
  color: #64748b;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.account-modal-close:hover {
  background: #eef2f6;
  color: #0f172a;
}
.account-password-modal .account-password-form {
  padding: 1rem 1.2rem 1.2rem;
}
.account-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.55rem;
  margin-top: 0.25rem;
  padding-top: 0.85rem;
  border-top: 1px solid #eef2f7;
}
.account-modal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.62rem 1rem;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: 1px solid transparent;
}
.account-modal-btn--ghost {
  background: #fff;
  border-color: #cbd5e1;
  color: #475569;
}
.account-modal-btn--ghost:hover {
  background: #f8fafc;
}
.account-modal-btn--primary {
  background: #006684;
  color: #fff;
}
.account-modal-btn--primary:hover {
  background: #00506a;
}
.account-modal-btn--danger {
  background: #fff;
  border-color: #fecaca;
  color: #b91c1c;
}
.account-modal-btn--danger:hover {
  background: #fef2f2;
  border-color: #fca5a5;
}
.account-modal-dialog.account-address-modal {
  width: min(100%, 640px);
}
.account-address-modal-body {
  padding: 1rem 1.2rem 1.2rem;
}
.account-address-modal .account-form-grid--address {
  gap: 0.75rem;
}
.account-modal-close {
  text-decoration: none;
}

.account-password-head {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.15rem;
}

.account-password-head h2 {
  margin: 0 0 0.35rem;
  font-size: 17px;
  font-weight: 600;
  color: #0f172a;
}

.account-password-head .account-form-section-lead {
  margin: 0;
}

.account-password-head-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #f0faff;
  border: 1px solid #bae6fd;
  color: #006684;
}

.account-password-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.account-password-grid {
  margin-top: 0;
}

.account-password-setup {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.05rem;
  border-radius: 12px;
  border: 1px dashed #cbd5e1;
  background: #f8fafc;
}

.account-password-setup p {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  line-height: 1.5;
}

.account-password-form .account-field span {
  font-size: 12px;
  font-weight: 600;
  color: #475569;
}

.account-password-form .account-field input {
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  padding: 0.72rem 0.85rem;
  font-size: 14px;
}

.account-password-form .account-field input:focus {
  outline: none;
  border-color: #006684;
  box-shadow: 0 0 0 3px rgba(0, 102, 132, 0.12);
}

.account-password-form .account-form-actions {
  margin-top: 0.15rem;
}

.account-password-rule {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 500;
  color: #64748b;
  transition: color 0.15s ease;
}

.account-password-rule-icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  background: #e2e8f0;
  color: #94a3b8;
}

.account-password-rule-icon::before {
  content: "";
}

.account-password-rule.is-unmet .account-password-rule-icon::before {
  content: "–";
}

.account-password-rule.is-met {
  color: #047857;
}

.account-password-rule.is-met .account-password-rule-icon {
  background: #d1fae5;
  color: #047857;
}

.account-password-rule.is-met .account-password-rule-icon::before {
  content: "✓";
}

.account-auth-corporate {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 0.85rem;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
}

.account-auth-corporate[hidden],
[data-register-panel][hidden],
[data-profile-panel][hidden] {
  display: none !important;
}

.account-auth-terms {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-top: 0.15rem;
  font-size: 12px;
  line-height: 1.5;
  color: #64748b;
  cursor: pointer;
}

.account-auth-terms input {
  margin-top: 0.15rem;
  flex-shrink: 0;
  accent-color: #006684;
}

.account-auth-terms a {
  color: #006684;
  font-weight: 600;
  text-decoration: none;
}

.account-auth-terms a:hover {
  text-decoration: underline;
}

.account-auth-switch {
  margin: 1rem 0 0;
  font-size: 13px;
  text-align: center;
  color: #64748b;
}

.account-auth-switch a {
  color: #006684;
  font-weight: 600;
  text-decoration: none;
}

.account-auth-switch a:hover { text-decoration: underline; }

.account-auth-panel--solo {
  max-width: 440px;
  width: 100%;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #dde4ec;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(13, 28, 47, 0.08);
}

.account-auth-head h2 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 500;
  color: #0d1c2f;
  letter-spacing: -0.02em;
}

.account-auth-head p {
  margin: 0.45rem 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: #64748b;
  font-weight: 400;
}

.account-auth-form {
  margin-top: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.account-auth-form--compact { margin-top: 0.75rem; }

.account-auth-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.account-auth-field > span {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
}

.account-auth-field-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.account-auth-field-tag {
  font-size: 11px;
  font-weight: 600;
  font-style: normal;
  color: #94a3b8;
}

.account-auth-phone-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 0.55rem;
  align-items: stretch;
}

.account-auth-phone-code select,
.account-auth-phone-input,
.account-tc-input {
  width: 100%;
  min-height: 46px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 0.78rem 0.9rem;
  font-size: 15px;
  font-family: inherit;
  color: #0f172a;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.account-tc-input {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
}

.account-auth-phone-code select {
  padding-right: 1.75rem;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748b' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  cursor: pointer;
}

.account-auth-phone-code select:focus,
.account-auth-phone-input:focus,
.account-tc-input:focus {
  outline: none;
  border-color: #006684;
  box-shadow: 0 0 0 3px rgba(0, 102, 132, 0.12);
}

.account-auth-field-hint {
  margin: 0.35rem 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: #64748b;
}

.account-auth-field-hint.checkout-field-hint--error,
.account-field--tc .checkout-field-hint--error {
  color: #dc2626;
}

.account-tc-input.is-invalid {
  border-color: #f87171;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.08);
}

.account-form-grid .account-auth-field--phone,
.account-form-grid .account-field--full.account-auth-field--phone {
  grid-column: 1 / -1;
}

.account-auth-field select,
.account-form .account-field select {
  width: 100%;
  min-height: 46px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 0.78rem 0.9rem;
  font-size: 15px;
  font-family: inherit;
  color: #0f172a;
  background: #fff;
}

.account-auth-field select:focus,
.account-form .account-field select:focus {
  outline: none;
  border-color: #006684;
  box-shadow: 0 0 0 3px rgba(0, 102, 132, 0.12);
}

.account-auth-field input {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 0.78rem 0.9rem;
  font-size: 15px;
  font-family: inherit;
  color: #0f172a;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.account-auth-field input:focus {
  outline: none;
  border-color: #006684;
  box-shadow: 0 0 0 3px rgba(0, 102, 132, 0.12);
}

.account-auth-password-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.account-auth-password-wrap input {
  padding-right: 4.5rem;
}

.account-auth-password-toggle {
  position: absolute;
  right: 0.5rem;
  border: 0;
  background: transparent;
  color: #006684;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 0.35rem 0.5rem;
  font-family: inherit;
}

.account-auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: -0.25rem;
}

.account-auth-remember {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 13px;
  font-weight: 500;
  color: #475569;
  cursor: pointer;
}

.account-auth-remember input { accent-color: #006684; }

.account-auth-forgot {
  font-size: 13px;
  font-weight: 600;
  color: #006684;
  text-decoration: none;
}

.account-auth-forgot:hover { text-decoration: underline; }

.account-auth-submit {
  width: 100%;
  margin-top: 0.25rem;
  border: 0;
  border-radius: 8px;
  padding: 0.85rem 1rem;
  font-size: 15px;
  font-weight: 500;
  font-family: inherit;
  color: #fff;
  background: #006684;
  cursor: pointer;
  transition: background 0.15s ease;
}

.account-auth-submit:hover { background: #00506a; }

.account-auth-submit--ghost {
  background: #fff;
  color: #006684;
  border: 1px solid #cbd5e1;
}

.account-auth-submit--ghost:hover {
  background: #f8fafc;
}

.account-auth-divider {
  margin: 1.25rem 0 0.75rem;
  text-align: center;
  position: relative;
  font-size: 12px;
  color: #94a3b8;
  font-weight: 500;
}

.account-auth-divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: #e2e8f0;
}

.account-auth-divider span {
  position: relative;
  background: #fff;
  padding: 0 0.65rem;
}

.account-auth-alt-link {
  display: block;
  text-align: center;
  padding: 0.75rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #006684;
  text-decoration: none;
}

.account-auth-alt-link:hover {
  background: #f8fafc;
}

.account-auth-register {
  margin-top: 1.35rem;
  padding-top: 1.15rem;
  border-top: 1px solid #eef2f7;
}

.account-auth-register p {
  margin: 0 0 0.45rem;
  font-size: 13px;
  line-height: 1.45;
  color: #64748b;
}

.account-auth-register a {
  font-size: 14px;
  font-weight: 600;
  color: #006684;
  text-decoration: none;
}

.account-auth-register a:hover { text-decoration: underline; }

.account-auth-notice {
  margin-top: 1rem;
  padding: 0.85rem 0.95rem;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.45;
}

.account-auth-notice--ok {
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  color: #047857;
}

.account-auth-admin {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid #eef2f7;
  text-align: center;
}

.account-auth-admin a {
  font-size: 13px;
  font-weight: 600;
  color: #006684;
}

@media (max-width: 860px) {
  .account-auth-layout {
    grid-template-columns: 1fr;
    max-width: 440px;
  }
  .account-auth-aside {
    padding: 1.5rem 1.35rem;
  }
  .account-auth-aside h1 { font-size: 1.35rem; }
  .account-auth-benefits { display: none; }
  .account-auth-field-row {
    grid-template-columns: 1fr;
  }
  .account-auth-phone-row {
    grid-template-columns: 82px minmax(0, 1fr);
  }
}

/* Eski gate (confirm) */
.account-gate {
  display: grid;
  place-items: center;
  min-height: min(68vh, 640px);
}

.account-gate-card {
  width: 100%;
  max-width: 520px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  padding: 2rem 1.75rem;
  box-shadow: 0 18px 50px rgba(13, 28, 47, 0.07);
  text-align: center;
}

.account-gate-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #e0f6fd;
  color: #006684;
}

.account-gate-icon .material-symbols-outlined { font-size: 1.75rem; }

.account-gate-card h1 {
  margin: 0;
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #0d1c2f;
}

.account-gate-card > p {
  margin: 0.65rem 0 0;
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
  line-height: 1.55;
}

.account-gate-form {
  margin-top: 1.35rem;
  text-align: left;
}

.account-gate-submit { width: 100%; justify-content: center; margin-top: 0.25rem; }

.account-gate-foot {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #eef2f7;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-size: 12px;
  font-weight: 500;
}

.account-gate-foot a {
  color: #006684;
  text-decoration: none;
}

.account-gate-foot a:hover { text-decoration: underline; }
.account-gate-foot span { color: #cbd5e1; }

.account-gate-lead { margin: 0.75rem 0 0; font-size: 14px; color: #475569; line-height: 1.55; }
.account-gate-hint { margin: 0.5rem 0 0; font-size: 12px; color: #64748b; }
.account-gate-or { margin: 1rem 0 0.25rem; text-align: center; font-size: 12px; font-weight: 500; color: #94a3b8; }
.account-gate-form--phone { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid #eef2f7; }

.account-flash {
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
}
.account-flash--ok { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.account-flash--err { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }

.account-side-extra-form { display: block; margin: 0; padding: 0; border: 0; }
.account-side-extra-form .account-side-extra {
  width: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

@media (max-width: 980px) {
  .account-shell { grid-template-columns: 1fr; }
  .account-sidebar { position: static; }
  .account-panels { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .account-form-grid,
  .account-quick-grid { grid-template-columns: 1fr; }
  .account-stats { grid-template-columns: 1fr; }
  .account-campaign-card { grid-template-columns: 1fr; }
  .account-campaign-media { min-height: 150px; max-height: 190px; }
  .account-campaign-top { flex-direction: column; gap: 0.5rem; }
}
