/* ===== Hesap / Uyelik ===== */
.account-page {
  padding: 28px 0 48px;
  background: #f8fafc;
}

.account-container {
  max-width: 1260px;
  width: 100%;
  margin: 0 auto;
}

.account-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.account-main {
  min-width: 0;
}

.account-user-card {
  background: linear-gradient(135deg, #fff4ed 0%, #ffffff 50%, #f0fae8 100%);
  border: 1px solid #e8edf3;
  border-radius: 10px;
  padding: 18px 16px;
  margin-bottom: 14px;
}

.account-user-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 4px;
}

.account-user-email {
  font-size: 0.75rem;
  color: #718096;
  word-break: break-all;
}

.account-nav-link {
  display: block;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #64748b;
  transition: background 0.2s, color 0.2s;
}

.account-nav-link:hover,
.account-nav-link.is-active {
  background: #fff4ed;
  color: #FF6600;
}

.account-nav-logout {
  display: block;
  margin-top: 14px;
  padding: 10px 14px;
  text-align: center;
  border: 1px solid #e8edf3;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #64748b;
  background: #ffffff;
}

.account-nav-logout:hover {
  border-color: #fed7d7;
  color: #c53030;
  background: #fff5f5;
}

.account-panel {
  background: #ffffff;
  border: 1px solid #e8edf3;
  border-radius: 10px;
  padding: 24px 28px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.account-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}

.account-panel-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #1a202c;
}

.account-panel-desc {
  font-size: 0.8125rem;
  color: #718096;
  margin-top: 4px;
}

.account-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.account-stat {
  background: #ffffff;
  border: 1px solid #e8edf3;
  border-radius: 10px;
  padding: 16px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.account-stat-value {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: #FF6600;
  margin-bottom: 4px;
}

.account-stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
}

.account-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.account-badge--success { background: #f0fae8; color: #3d6b24; }
.account-badge--info { background: #fff4ed; color: #c2410c; }
.account-badge--warning { background: #fffbeb; color: #b45309; }
.account-badge--muted { background: #f1f5f9; color: #64748b; }

.account-order-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.account-order-card {
  border: 1px solid #e8edf3;
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.account-order-card:hover {
  border-color: #dde4ec;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.account-order-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 18px;
  background: #fafbfc;
  border-bottom: 1px solid #f1f5f9;
}

.account-order-no {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #1a202c;
}

.account-order-date {
  font-size: 0.6875rem;
  color: #94a3b8;
}

.account-order-body {
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.account-order-total {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #FF6600;
}

.account-order-link {
  font-size: 0.75rem;
  font-weight: 700;
  color: #FF6600;
}

.account-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.account-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
}

.account-item:last-child {
  border-bottom: none;
}

.account-item-thumb {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f8fafc;
  border: 1px solid #e8edf3;
}

.account-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-item-info {
  flex: 1;
  min-width: 0;
}

.account-item-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 4px;
}

.account-item-meta {
  font-size: 0.75rem;
  color: #718096;
}

.account-item-price {
  font-size: 0.875rem;
  font-weight: 700;
  color: #1a202c;
  white-space: nowrap;
}

.account-timeline {
  position: relative;
  padding-left: 24px;
  margin-top: 8px;
}

.account-timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: #e8edf3;
}

.account-timeline-item {
  position: relative;
  padding-bottom: 18px;
}

.account-timeline-item:last-child {
  padding-bottom: 0;
}

.account-timeline-dot {
  position: absolute;
  left: -24px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #FF6600;
}

.account-timeline-item.is-done .account-timeline-dot {
  background: #FF6600;
}

.account-timeline-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #1a202c;
}

.account-timeline-date {
  font-size: 0.6875rem;
  color: #94a3b8;
  margin-top: 2px;
}

.account-address-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.account-address-card {
  border: 1px solid #e8edf3;
  border-radius: 10px;
  padding: 18px;
  background: #ffffff;
  position: relative;
}

.account-address-card.is-default {
  border-color: #ffd4b8;
  background: #fffaf6;
}

.account-address-default {
  display: inline-block;
  padding: 3px 8px;
  margin-bottom: 10px;
  background: #FF6600;
  color: #ffffff;
  border-radius: 999px;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.account-address-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 8px;
}

.account-address-text {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #64748b;
  margin-bottom: 14px;
}

.account-address-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.account-btn-sm {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid #dde4ec;
  background: #ffffff;
  color: #475569;
}

.account-btn-sm:hover {
  border-color: #ffd4b8;
  color: #FF6600;
}

.account-btn-sm--danger:hover {
  border-color: #fed7d7;
  color: #c53030;
}

.account-coupon-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.account-coupon-card {
  border: 1px dashed #ffd4b8;
  border-radius: 10px;
  padding: 18px;
  background: linear-gradient(135deg, #fff4ed 0%, #ffffff 100%);
  position: relative;
}

.account-coupon-card.is-used {
  opacity: 0.55;
  border-style: solid;
  border-color: #e8edf3;
  background: #f8fafc;
}

.account-coupon-code {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: #1a202c;
  color: #ffffff;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.account-coupon-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 4px;
}

.account-coupon-desc {
  font-size: 0.75rem;
  color: #718096;
  margin-bottom: 8px;
}

.account-coupon-meta {
  font-size: 0.6875rem;
  color: #94a3b8;
}

.account-auth-wrap {
  max-width: 440px;
  margin: 0 auto;
}

.account-auth-card {
  background: #ffffff;
  border: 1px solid #e8edf3;
  border-radius: 10px;
  padding: 32px 28px;
  box-shadow: 0 2px 14px rgba(15, 23, 42, 0.06);
}

.account-auth-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.account-auth-desc {
  font-size: 0.8125rem;
  color: #718096;
  margin-bottom: 24px;
}

.account-auth-footer {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #f1f5f9;
  text-align: center;
  font-size: 0.8125rem;
  color: #718096;
}

.account-auth-footer a {
  color: #FF6600;
  font-weight: 600;
}

.account-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.account-demo-box {
  margin-top: 16px;
  padding: 12px 14px;
  background: #f0fae8;
  border: 1px solid #c6e6a8;
  border-radius: 8px;
  font-size: 0.75rem;
  color: #3d6b24;
  line-height: 1.5;
}

@media (max-width: 1292px) {
  .account-container {
    padding: 0 16px;
  }
}

@media (max-width: 1024px) {
  .account-layout {
    grid-template-columns: 1fr;
  }

  .account-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .account-address-grid,
  .account-coupon-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .account-panel {
    padding: 20px 18px;
  }

  .account-form-row {
    grid-template-columns: 1fr;
  }

  .account-stats {
    grid-template-columns: 1fr 1fr;
  }
}
