                                                                                                                                                                /* Extracted page styles. */
/* --- PROFILE DASHBOARD SPECIFIC STYLES --- */
body {
  background-color: #050505;
}

.dashboard-container {
  display: flex;
  gap: 40px;
  padding: 50px 5%;
  max-width: 1400px;
  margin: 0 auto;
  min-height: 70vh;
  animation: siteFadeIn 0.8s ease-in-out forwards;
}

/* SIDEBAR MENU */
.dashboard-sidebar {
  width: 280px;
  flex-shrink: 0;
  background: #0a0a0a;
  border-radius: 8px;
  border: 1px solid #222;
  padding: 20px 0;
  height: fit-content;
}

.user-quick-info {
  text-align: center;
  padding: 0 20px 20px;
  border-bottom: 1px solid #222;
  margin-bottom: 15px;
}

.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #222;
  color: var(--moto-red, #ff1f1f);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.5rem;
  font-weight: 900;
  margin: 0 auto 15px;
  border: 2px solid var(--moto-red, #ff1f1f);
}

.user-quick-info h3 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.user-quick-info p {
  color: #777;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.dashboard-menu {
  list-style: none;
}

.dashboard-menu li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 25px;
  color: #aaa;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  border-left: 3px solid transparent;
  transition: all 0.3s ease;
}

.menu-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.menu-left svg {
  stroke: #777;
  transition: stroke 0.3s ease;
}

.dashboard-menu li a:hover,
.dashboard-menu li a.active {
  background-color: #111;
  color: #fff;
  border-left-color: var(--moto-red, #ff1f1f);
}

.dashboard-menu li a:hover .menu-left svg,
.dashboard-menu li a.active .menu-left svg {
  stroke: var(--moto-red, #ff1f1f);
}

.menu-badge {
  font-size: 0.85rem;
  color: #666;
  font-weight: 600;
}

/* MAIN CONTENT AREA */
.dashboard-main {
  flex: 1;
  background: #0a0a0a;
  border-radius: 8px;
  border: 1px solid #222;
  padding: 40px;
}

.dashboard-main h2 {
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 10px;
}

.dashboard-main p.subtitle {
  color: #888;
  font-size: 0.95rem;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid #222;
}

.settings-form {
  max-width: 700px;
}

.form-row {
  display: flex;
  gap: 25px;
  margin-bottom: 25px;
}

.form-group {
  flex: 1;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #bbb;
  font-size: 0.9rem;
  font-weight: 600;
}

.form-group input {
  width: 100%;
  padding: 14px 15px;
  background: #111;
  border: 1px solid #333;
  color: #fff;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s;
  font-family: "Inter", sans-serif;
}

.form-group input:focus {
  outline: none;
  border-color: var(--moto-red, #ff1f1f);
}

.form-group input:read-only {
  background-color: #1a1a1a;
  color: #777;
  cursor: not-allowed;
}

.btn-save {
  background-color: var(--moto-red, #ff1f1f);
  color: white;
  padding: 14px 35px;
  border: none;
  font-weight: 700;
  cursor: pointer;
  border-radius: 6px;
  font-size: 1rem;
  margin-top: 20px;
  transition: 0.3s;
}

.btn-save:hover {
  background-color: #cc0000;
}

@media (max-width: 900px) {
  .dashboard-container {
    flex-direction: column;
  }

  .dashboard-sidebar {
    width: 100%;
  }

  .form-row {
    flex-direction: column;
    gap: 25px;
  }
}
/* Shown when checkout sent the customer here: what the saved-address option
   still needs. Inherits the text colour so it reads in both themes. */
.profile-checkout-hint {
  margin: -8px 0 20px;
  padding: 10px 14px;
  border-left: 3px solid var(--moto-red, #ff1f1f);
  border-radius: 6px;
  background: rgba(255, 31, 31, 0.08);
  font-size: 0.9375rem;
  line-height: 1.45;
}
