/* Auth Area */
.auth-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 80vh;
  padding-top: 50px;
}

.glass-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  width: 100%;
  max-width: 420px;
  padding: 40px;
  border: 1px solid #eee;
}

.auth-box {
  display: none;
}

.auth-box.active {
  display: block;
  animation: fadeIn 0.4s;
}

.subtitle {
  color: #777;
  font-size: 14px;
  margin-bottom: 25px;
}

.input-field {
  margin-bottom: 18px;
}

.input-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #444;
}

.input-field input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  transition: 0.3s;
}

.input-field input:focus {
  border-color: #000;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.prime-btn {
  width: 100%;
  padding: 14px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.prime-btn:hover {
  background: #333;
}

.form-options {
  text-align: right;
  margin-bottom: 4px;
}

.footer-link {
  margin-top: 16px;
  text-align: center;
  font-size: 14px;
  color: #555;
}

#login-form h2,
#login-form p {
  text-align: center;
  display: block;
  width: 100%;
}

#login-form h2 {
  margin-bottom: 5px;
}

#login-form p {
  margin-bottom: 25px;
  color: #666;
}

.auth-links-row {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
}

#auth-area a {
  text-decoration: none !important;
}

/* Dashboard Layout */
.dashboard-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
}

.dash-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 30px;
}

/* Sidebar */
.dash-sidebar {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 30px 15px;
  height: fit-content;
}

.user-profile-summary {
  text-align: center;
  margin-bottom: 30px;
}

.user-avatar {
  width: 60px;
  height: 60px;
  background: #000;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  font-weight: bold;
  font-size: 20px;
}

.nav-btn {
  width: 100%;
  text-align: left;
  padding: 12px 15px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  color: #666;
  font-weight: 600;
  margin-bottom: 5px;
}

.nav-btn.active {
  background: #f0f0f0;
  color: #000;
}

.logout-btn {
  color: #ff3b30;
  margin-top: 20px;
  border: none;
  background: none;
  font-weight: bold;
  cursor: pointer;
  padding: 10px 15px;
}

/* Content Tabs */
.tab-pane {
  display: none;
  animation: fadeIn 0.3s;
}

.tab-pane.active {
  display: block;
}

.content-card {
  background: #fff;
  border: 1px solid #eee;
  padding: 25px;
  border-radius: 12px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.save-btn {
  margin-top: 16px;
  padding: 10px 24px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

.save-btn:hover {
  background: #333;
}

/* Orders */
.order-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 20px;
  margin-top: 15px;
}

.order-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.status-chip {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
}

.transit {
  background: #e3f2fd;
  color: #1976d2;
}

.tracking-visual {
  margin: 20px 0;
}

.track-line {
  height: 6px;
  background: #eee;
  border-radius: 10px;
  overflow: hidden;
}

.track-fill {
  height: 100%;
  background: #4caf50;
}

.track-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  margin-top: 8px;
  color: #888;
}

/* Addresses */
.add-address-card {
  margin-top: 16px;
  padding: 10px 20px;
  background: none;
  border: 1px dashed #ccc;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  color: #555;
  width: 100%;
}

.add-address-card:hover {
  background: #f9f9f9;
}

.btn-danger {
  background: none;
  border: 1px solid #ff3b30;
  color: #ff3b30;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  margin-left: 10px;
  font-weight: 600;
}