/* ================= LOGIN PAGE ================= */

.customer-login-page {
  min-height: 100vh;
  background:
    radial-gradient(
      circle at top left,
      rgba(255, 165, 0, 0.12),
      transparent 35%
    ),
    #f5f5f5;

  display: flex;
  justify-content: center;
  align-items: center;

  padding: 20px;
}

.customer-login-card {
  width: 100%;
  max-width: 420px;

  background: white;

  padding: 40px;

  border-radius: 24px;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);

  display: flex;
  flex-direction: column;

  gap: 16px;
}

.customer-login-card h1 {
  text-align: center;
  font-size: 36px;
}

.customer-login-card p {
  text-align: center;
  color: #666;
  margin-bottom: 10px;
}

.customer-login-card input {
  width: 100%;

  padding: 15px;

  border: 1px solid #ddd;

  border-radius: 12px;

  outline: none;

  font-size: 15px;
}

.customer-login-card input:focus {
  border-color: black;
}

.customer-login-card button {
  padding: 15px;

  border: none;

  background: black;

  color: white;

  border-radius: 12px;

  cursor: pointer;

  font-weight: bold;

  font-size: 15px;

  transition: 0.3s;
}

.customer-login-card button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* ================= ACCOUNT ================= */

.account-layout {
  min-height: 100vh;
  background: #f6f6f6;
}

/* NAV */

.account-nav {
  width: 80%;

  margin: auto;

  padding: 25px 0;

  display: flex;

  justify-content: space-between;

  align-items: center;

  border-bottom: 1px solid #e5e5e5;
}

.account-nav h2 {
  font-size: 30px;
}

.account-nav div {
  display: flex;
  gap: 15px;
}

.account-nav button {
  background: none;

  border: none;

  cursor: pointer;

  font-size: 15px;

  font-weight: bold;

  padding: 10px 14px;

  border-radius: 10px;

  transition: 0.3s;
}

.account-nav button:hover {
  background: #eee;
}

.account-nav button.active {
  background: black;
  color: white;
}

/* CONTENT */

.account-content {
  width: 80%;

  margin: auto;

  padding: 45px 0;
}

.account-content h1 {
  margin-bottom: 30px;

  font-size: 40px;
}

/* CARD */

.account-card {
  background: white;

  padding: 30px;

  border-radius: 24px;

  margin-bottom: 20px;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.account-card p {
  margin-bottom: 12px;
  color: #444;
}

.account-card.empty {
  text-align: center;
  padding: 80px 20px;
}

.account-card.empty h3 {
  margin-bottom: 10px;
  font-size: 28px;
}

.account-card.empty p {
  color: #777;
}

/* ORDER */

.order-head {
  display: flex;

  justify-content: space-between;

  align-items: center;

  margin-bottom: 18px;
}

.order-head h3 {
  font-size: 24px;
}

/* STATUS */

.order-status {
  padding: 8px 16px;

  border-radius: 999px;

  font-size: 13px;

  font-weight: bold;

  text-transform: capitalize;
}

.order-status.pending {
  background: rgba(255, 165, 0, 0.15);
  color: orange;
}

.order-status.completed {
  background: rgba(34, 197, 94, 0.15);
  color: #16a34a;
}

.order-status.cancelled {
  background: rgba(220, 38, 38, 0.15);
  color: crimson;
}

/* PROFILE */

.profile-grid {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

  gap: 20px;
}

.profile-box {
  background: #fafafa;

  border: 1px solid #eee;

  padding: 20px;

  border-radius: 18px;
}

.profile-box span {
  display: block;

  color: #777;

  margin-bottom: 8px;

  font-size: 14px;
}

.profile-box strong {
  font-size: 18px;
}

/* RESPONSIVE */

@media (max-width: 768px) {
  .account-nav {
    width: 92%;

    flex-direction: column;

    gap: 20px;
  }

  .account-content {
    width: 92%;
  }

  .account-content h1 {
    font-size: 32px;
  }

  .order-head {
    flex-direction: column;

    align-items: flex-start;

    gap: 12px;
  }

  .customer-login-card {
    padding: 30px 22px;
  }
}
