.usjdm-my-account {
  padding: clamp(26px, 4vw, 46px) 0 clamp(56px, 7vw, 90px);
}

.usjdm-my-account__inner {
  width: min(100%, 1200px);
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 28px);
}

.usjdm-my-account__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.usjdm-my-account__top h2 {
  margin: 0;
}

.usjdm-my-account__logout {
  color: var(--color-primary, #a41515);
  font-weight: 600;
  text-decoration: none;
}

.usjdm-my-account__logout:hover,
.usjdm-my-account__logout:focus-visible {
  text-decoration: underline;
}

.usjdm-account-card {
  background: #ffffff;
  border-bottom: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 0;
  padding: 16px;
}

.usjdm-account-card h3,
.usjdm-account-card h2 {
  margin: 0 0 10px;
}

.usjdm-account-card--auth {
  max-width: 560px;
}

.usjdm-account-card .login-username,
.usjdm-account-card .login-password,
.usjdm-account-card .login-remember {
  margin: 0 0 10px;
}

.usjdm-account-card .input,
.usjdm-account-card input[type="text"],
.usjdm-account-card input[type="password"] {
  width: 100%;
  border: 1px solid rgba(17, 17, 17, 0.2);
  border-radius: 10px;
  padding: 10px 12px;
}

.usjdm-account-card .button {
  border: 0;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  padding: 10px 22px;
  font-weight: 600;
}

.usjdm-my-account__helper {
  margin: 8px 0 0;
}

.usjdm-account-vehicle {
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
  background: #ffffff;
}

.usjdm-account-vehicle > summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 16px;
  display: grid;
  gap: 6px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.usjdm-account-vehicle > summary::-webkit-details-marker {
  display: none;
}

.usjdm-account-vehicle__name {
  font-weight: 700;
}

.usjdm-account-vehicle__meta {
  color: rgba(17, 17, 17, 0.7);
  font-size: 0.92rem;
}

.usjdm-account-vehicle__body {
  padding: 0;
}

.usjdm-account-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 8px;
}

.usjdm-account-gallery img {
  width: 100%;
  height: 92px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.usjdm-account-docs {
  margin: 0;
  padding-left: 18px;
}

@media (max-width: 767px) {
  .usjdm-my-account__top {
    flex-direction: column;
    align-items: flex-start;
  }
}
