/* ══════════════════════════════════════════════════════════════
   CUSTOMER PROFILE / ACCOUNT PAGE (Pure White Background & Responsive)
   ══════════════════════════════════════════════════════════════ */

html, body {
  background: #ffffff !important;
  background-color: #ffffff !important;
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
}

/* ── Account Page Wrapper ── */
.account-page {
  margin-top: 95px;
  padding: 32px 20px 60px;
  min-height: calc(100vh - 95px);
  background: #ffffff !important;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  box-sizing: border-box;
}

/* ── Account Card ── */
.account-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e8e8e8;
  padding: 36px 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* ── Card Header ── */
.account-card-header h2 {
  font-size: 20px;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 4px;
}

.account-card-header p {
  font-size: 13px;
  color: #888888;
  margin: 0;
}

.account-divider {
  border: none;
  border-top: 1px solid #eeeeee;
  margin: 20px 0 28px;
}

/* ── Account Body ── */
.account-body {
  display: flex;
  align-items: flex-start;
  gap: 36px;
}

/* ── Form ── */
.account-form {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: flex;
  align-items: center;
  gap: 20px;
}

.form-row label {
  width: 130px;
  min-width: 130px;
  font-size: 13.5px;
  color: #444444;
  font-weight: 600;
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="password"],
.form-row input[type="tel"] {
  flex: 1;
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  font-size: 13.5px;
  font-family: 'Poppins', sans-serif;
  color: #222222;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
  background: #ffffff;
}

.form-row input:focus {
  border-color: #c0392b;
}

.form-row-submit {
  margin-top: 10px;
  display: flex;
  justify-content: flex-start;
}

/* Save Button */
.btn-save {
  background: #c0392b;
  color: #ffffff;
  border: none;
  padding: 11px 36px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  transition: background 0.2s, transform 0.1s;
}

.btn-save:hover {
  background: #a93226;
  transform: translateY(-1px);
}

/* ── Vertical Divider ── */
.account-divider-vertical {
  width: 1px;
  background: #eeeeee;
  align-self: stretch;
}

/* ── Avatar Section ── */
.account-avatar-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  min-width: 200px;
}

.profile-avatar {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 2px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fafafa;
  overflow: hidden;
}

.profile-avatar i {
  font-size: 90px;
  color: #aaaaaa;
}

.btn-select-image {
  background: #ffffff;
  color: #333333;
  border: 1.5px solid #dcdcdc;
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  transition: all 0.2s;
  width: 130px;
  text-align: center;
}

.btn-select-image:hover {
  border-color: #c0392b;
  color: #c0392b;
  background: #fff8f8;
}

.image-hints {
  text-align: center;
}

.image-hint {
  font-size: 11.5px;
  color: #888888;
  margin: 2px 0;
}

/* ─── Mobile Breakpoints ─── */
@media (max-width: 860px) {
  .account-page {
    margin-top: 70px;
    padding: 20px 14px 40px;
    min-height: auto;
  }

  .account-card {
    padding: 24px 18px;
    border-radius: 10px;
  }

  .account-body {
    flex-direction: column-reverse;
    align-items: center;
    gap: 24px;
  }

  .account-divider-vertical {
    display: none;
  }

  .account-form {
    width: 100%;
    gap: 16px;
  }

  .form-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    width: 100%;
  }

  .form-row label {
    width: 100%;
    font-size: 13px;
  }

  .form-row input[type="text"],
  .form-row input[type="email"],
  .form-row input[type="password"],
  .form-row input[type="tel"] {
    width: 100% !important;
  }

  .form-row-submit {
    margin-top: 8px;
  }

  .btn-save {
    width: 100%;
    padding: 12px;
  }
}

@media (max-width: 520px) {
  .account-page {
    margin-top: 64px;
    padding: 16px 12px 30px;
  }

  .account-card {
    padding: 20px 16px;
  }

  .profile-avatar {
    width: 100px;
    height: 100px;
  }

  .profile-avatar i {
    font-size: 70px;
  }
}