/* ============================================================
   AUTH.CSS — Login/Register Forms + Account + About Page
   ============================================================ */

/* --- Auth Page Wrapper ------------------------------------- */
.auth-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}

.auth-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  width: 100%;
  max-width: 400px;
  box-shadow: var(--shadow);
}

.auth-form-title {
  font-size: 1.25rem;
  margin-bottom: 4px;
  letter-spacing: 2px;
}

.auth-form-subtitle {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
}

/* --- Auth Tabs -------------------------------------------- */
.auth-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 28px;
  border-bottom: 2px solid var(--border);
}

.auth-tab {
  flex: 1;
  padding: 10px 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition);
  text-align: center;
}

.auth-tab:hover {
  color: var(--navy);
}

.auth-tab.active {
  color: var(--navy);
  border-bottom-color: var(--gold);
}

/* --- Form Groups ------------------------------------------ */
.auth-form .form-group {
  margin-bottom: 16px;
}

.auth-form label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 6px;
}

.auth-form input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.auth-form input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.15);
}

.auth-form input.error {
  border-color: var(--danger);
}

.auth-form .form-error {
  font-size: 12px;
  color: var(--danger);
  margin-top: 4px;
}

.auth-form .btn {
  width: 100%;
  margin-top: 8px;
}

.auth-form-footer {
  margin-top: 16px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

/* --- Account Dashboard ------------------------------------ */
.account-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 24px;
}

.account-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.account-user-info h2 {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.account-user-info p {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 0;
}

.account-section {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 24px;
  overflow: hidden;
}

.account-section-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.account-section-header h3 {
  font-size: 0.95rem;
  letter-spacing: 1px;
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--navy);
}

.account-section-body {
  padding: 20px;
}

/* --- Order History List ------------------------------------ */
.order-history-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.order-history-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  gap: 12px;
  flex-wrap: wrap;
}

.order-history-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.order-history-id {
  font-family: monospace;
  font-size: 12px;
  color: var(--muted);
  flex-shrink: 0;
}

.order-history-info {
  flex: 1;
  min-width: 0;
}

.order-history-date {
  font-size: 12px;
  color: var(--muted);
  display: block;
}

.order-history-items {
  font-size: 13px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.order-history-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.order-history-total {
  font-weight: 700;
  color: var(--gold);
}

/* --- About Page ------------------------------------------- */
.about-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}

.about-hero-text h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 16px;
}

.about-hero-text p {
  font-size: 15px;
  line-height: 1.75;
  color: #555;
}

.about-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.about-images img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.about-images img:first-child {
  grid-column: 1 / -1;
  height: 260px;
}

.about-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

.about-info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.about-info-card h3 {
  font-size: 0.95rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 12px;
}

.about-info-card p,
.about-info-card address {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
  font-style: normal;
}

.about-info-card a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.about-map-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  height: 360px;
  background: var(--border);
}

.about-map-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
