@import url("../assets/iconfont/iconfont.css");

/* Profile module — 个人中心（蓝湖 会員情報） */

.page-two-col.profile-shell {
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.profile-aside {
  background: #fff;
  border-radius: 10px;
  box-shadow: 1px 2px 11px 1px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.profile-aside-title {
  margin: 0;
  padding: 22px 32px 18px;
  font-size: 20px;
  font-weight: 800;
  color: #111;
  line-height: 1.3;
}

.profile-nav {
  display: flex;
  flex-direction: column;
}

.profile-nav-item {
  border-top: 1px solid #f0f0f0;
}

.profile-nav-item.has-children.is-open,
.profile-nav-item.has-children.is-active {
  background: rgba(255, 77, 71, 0.04);
}

.profile-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  padding: 0 32px;
  border: 0;
  background: transparent;
  color: #111;
  font-size: 16px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.profile-nav-link>.iconfont:not(.profile-nav-chevron) {
  font-size: 22px;
  line-height: 1;
  color: inherit;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}

.profile-nav-link span {
  flex: 1;
  min-width: 0;
}

.profile-nav-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  font-size: 12px;
  line-height: 1;
  color: #b3b3b3;
  flex-shrink: 0;
  margin-left: 8px;
  transform: rotate(0deg);
  transform-origin: center;
  transition: transform .2s ease, color .2s ease;
}

.profile-nav-item.is-open>.profile-nav-link .profile-nav-chevron,
.profile-nav-item.is-active>.profile-nav-link .profile-nav-chevron {
  transform: rotate(90deg);
}

.profile-nav-item.is-active>.profile-nav-link {
  color: #ff4d47;
  font-weight: 700;
}

.profile-nav-item.is-active>.profile-nav-link .profile-nav-chevron,
.profile-nav-link:hover .profile-nav-chevron {
  color: #ff4d47;
}

.profile-nav-link:hover {
  color: #ff4d47;
}

.profile-nav-sub {
  list-style: none;
  margin: 0;
  padding: 0 30px 18px 68px;
  display: none;
}

.profile-nav-item.is-open .profile-nav-sub {
  display: grid;
  gap: 4px;
}

.profile-nav-sublink {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 4px;
  color: #333;
  font-size: 14px;
  font-weight: 500;
}

.profile-nav-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c8c8c8;
  flex-shrink: 0;
}

.profile-nav-sublink.is-active {
  color: #ff4d47;
  font-weight: 700;
  background: rgba(255, 77, 71, 0.08);
}

.profile-nav-sublink.is-active .profile-nav-dot,
.profile-nav-sublink:hover .profile-nav-dot {
  background: #ff4d47;
}

.profile-nav-sublink:hover {
  color: #ff4d47;
}

.profile-nav-item.is-logout.is-confirming > .profile-nav-link {
  color: #ff4d47;
  font-weight: 700;
}

.profile-page-head {
  margin-bottom: 20px;
}

.profile-page-head h1,
.profile-shell .profile-main .page-head h1 {
  margin: 0;
  font-size: 30px;
  font-weight: 800;
  line-height: 40px;
  color: #111;
}

.profile-page-head p {
  margin: 10px 0 0;
  color: #333;
  font-size: 16px;
  line-height: 1.6;
}

.profile-shell .profile-main .page-head {
  margin-bottom: 20px;
  padding: 0;
  border: 0;
}

.profile-form-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 1px 2px 11px 1px rgba(0, 0, 0, 0.08);
  padding: 40px 48px 48px;
  min-height: 320px;
}

.profile-form-card.loading-state,
.profile-main .loading-state {
  min-height: 320px;
}

.profile-main>.loading-state:not(.profile-form-card),
.profile-main>.form-card,
.profile-main>[id$="-root"]:not(.profile-form-card):not(.form-card):not(#address-root):not(#vehicles-root):not(#delete-root):not(#coupons-root):not(#favorites-root):not(#mall-orders-root):not(#rental-orders-root):not(#charter-orders-root):not(#repair-orders-root):not(#view-orders-root):not(#supplier-root) {
  background: #fff;
  border-radius: 10px;
  box-shadow: 1px 2px 11px 1px rgba(0, 0, 0, 0.08);
}

.profile-main>[id$="-root"]:not(.profile-form-card):not(.form-card):not(.loading-state):not(#address-root):not(#vehicles-root):not(#delete-root):not(#coupons-root):not(#favorites-root):not(#mall-orders-root):not(#rental-orders-root):not(#charter-orders-root):not(#repair-orders-root):not(#view-orders-root):not(#supplier-root) {
  padding: 24px 28px;
  min-height: 200px;
}

.profile-form-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 40px 48px;
  align-items: start;
}

.profile-avatar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.profile-avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 1px solid #e5e5e5;
  background: #111;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-avatar-fallback {
  color: #fff;
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
}

.profile-avatar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 240px;
  height: 60px;
  border: 1px solid #ff5f5a;
  border-radius: 30px;
  background: #fff;
  color: #ff5f5a;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.profile-avatar-btn:hover {
  background: #fff5f5;
}

.profile-avatar-hint {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  text-align: center;
}

.profile-fields {
  display: grid;
  gap: 22px;
  max-width: 520px;
}

.profile-field-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 700;
  color: #111;
}

.profile-required {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 45px;
  height: 20px;
  padding: 0 6px;
  border-radius: 7px;
  background: #ff4d47;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.profile-fields input,
.profile-fields select {
  width: 100%;
  height: 50px;
  border: 1px solid #bdbdbd;
  border-radius: 6px;
  padding: 0 15px;
  background: #fff;
  color: #111;
  font-size: 14px;
}

.profile-fields input:disabled,
.profile-fields input[readonly] {
  color: #111;
  background: #fff;
}

.profile-field-hint {
  margin-top: 8px;
  font-size: 12px;
  color: #111;
}

.profile-gender {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
  min-height: 50px;
  align-items: center;
}

.profile-gender label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: #111;
  cursor: pointer;
  font-weight: 400;
}

.profile-gender input {
  appearance: none;
  width: 17px;
  height: 17px;
  margin: 0;
  border: 1px solid #8e8e8e;
  border-radius: 50%;
  padding: 0;
  background: #fff;
  display: grid;
  place-content: center;
}

.profile-gender input:checked {
  border-color: #ff4d47;
}

.profile-gender input:checked::after {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff4d47;
}

.profile-birthday {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}

.profile-form-foot {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid #eee;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.profile-save-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 308px;
  height: 73px;
  background: linear-gradient(-12deg, #FF413D, #F86864);
  box-shadow: 0px 12px 0px 0px rgba(0, 0, 0, 0.42);
  border-radius: 34px;
  border: 2px solid #FFFFFF;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.profile-save-btn:hover {
  filter: brightness(0.96);
}

.profile-save-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.form-success {
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #eefaf1;
  color: #1b7a3a;
  font-size: 14px;
}

#address-root,
#vehicles-root,
#delete-root,
#coupons-root,
#supplier-root {
  background: transparent;
  box-shadow: none;
  padding: 0;
  min-height: 0;
  display: grid;
  gap: 36px;
}

#delete-root {
  gap: 50px;
}

.addr-panel {
  background: #fff;
  border-radius: 10px;
  box-shadow: 1px 2px 11px 1px rgba(0, 0, 0, 0.08);
  padding: 31px 37px 46px;
}

.addr-panel-title {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: #111;
  line-height: 40px;
}

.addr-star {
  color: #ff4d47;
  margin-left: 0;
}

.addr-form {
  margin-top: 28px;
}

.addr-form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 31px;
  row-gap: 30px;
}

.addr-field {
  display: block;
  margin-bottom: 15px;
  font-size: 16px;
  font-weight: 700;
  color: #111;
  line-height: 1;
}

.addr-form input,
.addr-form select {
  width: 100%;
  height: 50px;
  border: 1px solid #bdbdbd;
  border-radius: 6px;
  padding: 0 15px;
  background: #fff;
  color: #111;
  font-size: 14px;
  font-family: inherit;
}

.addr-form input::placeholder {
  color: #111;
  opacity: 1;
}

.addr-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23111111' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 10px 6px;
  padding-right: 32px;
}

.addr-form input:focus,
.addr-form select:focus {
  outline: none;
  border-color: #ff4d47;
}

.addr-form-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 33px;
}

.addr-save-btn {
  width: 240px;
  height: 50px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  background: linear-gradient(-12deg, #FF413D, #F86864);
  box-shadow: 0px 10px 0px 0px rgba(0, 0, 0, 0.24);
  border-radius: 25px;
  border: 2px solid #FFFFFF;
}

.addr-save-btn:hover {
  filter: brightness(0.96);
}

.addr-save-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.addr-cancel {
  border: 0;
  background: none;
  color: #666;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

.addr-form .form-error {
  margin-top: 16px;
  text-align: center;
}

.addr-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.addr-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.45);
}

.addr-modal-card {
  position: relative;
  z-index: 1;
  width: 980px;
  max-width: 100%;
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: #fff;
  border-radius: 10px;
  box-shadow: 1px 2px 11px 1px rgba(0, 0, 0, 0.08);
  padding: 31px 37px 46px;
}

.addr-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.addr-modal-close::before,
.addr-modal-close::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 13px;
  width: 16px;
  height: 2px;
  background: #888;
}

.addr-modal-close::before {
  transform: rotate(45deg);
}

.addr-modal-close::after {
  transform: rotate(-45deg);
}

.addr-modal-card .addr-form {
  margin-top: 28px;
}

.addr-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 27px;
}

.addr-add-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: none;
  color: #ff5f5a;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}

.addr-add-link .iconfont {
  font-size: 21px;
  line-height: 1;
}

.addr-list {
  display: grid;
  gap: 16px;
}

.addr-empty {
  padding: 32px 8px;
  color: #888;
  font-size: 14px;
}

.addr-card {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 100px;
  box-sizing: border-box;
  padding: 18px 24px 18px 28px;
  border-radius: 10px;
  border: 1px solid #eee;
  background: #fff;
  box-shadow: 0 8px 0 0 rgba(26, 15, 5, 0.1);
}

.addr-card.is-default {
  border-color: #ff5f5a;
  background: rgba(255, 95, 90, 0.05);
}

.addr-card-name {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  width: 100px;
  flex-shrink: 0;
}

.addr-card-name strong {
  font-size: 16px;
  font-weight: 800;
  color: #001111;
  line-height: 1.2;
}

.addr-default-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  height: 20px;
  padding: 0 8px;
  border-radius: 4px;
  background: #ff4d47;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  box-sizing: border-box;
}

.addr-card-phone {
  width: 170px;
  flex-shrink: 0;
  font-size: 14px;
  color: #333;
  line-height: 1.6;
}

.addr-card-line {
  flex: 1;
  min-width: 120px;
  font-size: 14px;
  color: #333;
  line-height: 22px;
}

.addr-card-actions {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  flex-shrink: 0;
  margin-left: auto;
}

.addr-icon-btn {
  display: inline-flex;
  align-items: flex-start;
  gap: 6px;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  font-size: 14px;
  line-height: 22px;
  text-align: left;
  font-family: inherit;
  white-space: nowrap;
}

.addr-icon-btn .iconfont {
  font-size: 15px;
  line-height: 22px;
}

.addr-icon-btn.is-edit,
.addr-icon-btn.is-default-action {
  color: #0048ff;
}

.addr-icon-btn.is-delete {
  color: #ff4d47;
}

.addr-icon-btn.is-default-action {
  white-space: normal;
}

.addr-icon-btn.is-default-action span {
  width: 86px;
  line-height: 22px;
}

.addr-icon-btn:hover {
  opacity: 0.82;
}

#vehicles-root {
  gap: 27px;
}

.veh-plate-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 24px;
  align-items: end;
  margin-top: 30px;
}

.veh-plate-field {
  min-width: 0;
}

.veh-side-btn {
  margin-bottom: 0;
}

.veh-list {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.veh-card {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 100px;
  box-sizing: border-box;
  padding: 18px 24px 18px 16px;
  border-radius: 10px;
  border: 1px solid #ccc;
  background: #fff;
  box-shadow: 0 8px 0 0 rgba(26, 15, 5, 0.1);
}

.veh-preview {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  flex: 1;
}

.veh-logo {
  width: 98px;
  height: 58px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.veh-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.veh-logo-fallback {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f4f4f4;
  color: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
}

.veh-preview-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.veh-preview-copy strong {
  font-size: 18px;
  font-weight: 800;
  color: #333;
  line-height: 30px;
}

.veh-preview-copy span {
  font-size: 16px;
  color: #333;
  line-height: 1.4;
}

.veh-card-spec {
  width: 180px;
  flex-shrink: 0;
  font-size: 16px;
  color: #333;
  line-height: 26px;
}

.veh-card-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-shrink: 0;
  margin-left: auto;
}

.veh-modal-desc {
  margin: 8px 0 0;
  font-size: 16px;
  color: #666;
  line-height: 1.6;
}

.veh-edit-card .veh-plate-row {
  grid-template-columns: 1fr;
}

.veh-del-card {
  width: 630px;
  max-width: 100%;
  padding: 28px 48px 40px;
  text-align: center;
}

.veh-del-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 12px 0 0;
}

.veh-del-head h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: #111;
  line-height: 1.4;
}

.veh-warn-icon {
  position: relative;
  width: 32px;
  height: 28px;
  flex-shrink: 0;
}

.veh-warn-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #f5c518;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.veh-warn-icon::after {
  content: "!";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  text-align: center;
  color: #111;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}

.veh-del-desc {
  margin: 16px 0 24px;
  font-size: 16px;
  color: #666;
  line-height: 1.6;
}

.veh-del-preview {
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 28px;
  text-align: left;
}

.veh-del-card .addr-save-btn,
.del-confirm-card .addr-save-btn {
  width: 240px;
}

.del-confirm-card {
  width: 630px;
  max-width: 100%;
  padding: 28px 48px 40px;
  text-align: center;
}

.del-confirm-card .veh-del-head .iconfont {
  color: #ff4d47;
  font-size: 32px;
  line-height: 1;
}

.logout-modal-card {
  width: 630px;
  max-width: 100%;
  padding: 64px 44px 55px;
  text-align: center;
}

.logout-modal-card h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: #111;
  line-height: 40px;
}

.logout-modal-desc {
  margin: 25px auto 0;
  max-width: 452px;
  font-size: 16px;
  color: #666;
  line-height: 28px;
}

.logout-alert {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 543px;
  max-width: 100%;
  min-height: 106px;
  box-sizing: border-box;
  margin: 45px auto 0;
  padding: 21px 40px 21px 56px;
  border-radius: 10px;
  border: 1px solid #ffbbb9;
  background: rgba(255, 77, 71, 0.1);
  text-align: left;
}

.logout-alert-icon {
  position: relative;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #ff4d47;
}

.logout-alert-icon::after {
  content: "!";
  position: absolute;
  inset: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  line-height: 28px;
  text-align: center;
}

.logout-alert strong {
  display: block;
  color: #ff5f5a;
  font-size: 16px;
  font-weight: 800;
  line-height: 24px;
}

.logout-alert p {
  margin: 0;
  color: #666;
  font-size: 14px;
  line-height: 24px;
}

.logout-modal-actions {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 42px;
}

.logout-cancel-btn {
  width: 240px;
  height: 50px;
  border-radius: 25px;
  border: 1px solid #ccc;
  background: #fff;
  color: #aeaeae;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

.logout-cancel-btn:hover {
  filter: brightness(0.96);
}

.logout-modal-card .addr-save-btn {
  width: 240px;
}

.logout-cancel-btn:disabled,
.logout-modal-card .addr-save-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.del-alert {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  min-height: 100px;
  box-sizing: border-box;
  padding: 24px 38px;
  border-radius: 10px;
  border: 1px solid #ff4d47;
  background: rgba(255, 77, 71, 0.1);
}

.del-alert-icon {
  width: 39px;
  height: 39px;
  color: #ff4d47;
  font-size: 39px;
  line-height: 39px;
  flex-shrink: 0;
}

.del-alert strong {
  display: block;
  color: #ff4d47;
  font-size: 20px;
  font-weight: 800;
  line-height: 34px;
}

.del-alert p {
  margin: 0;
  color: #111;
  font-size: 16px;
  line-height: 34px;
}

.del-panel {
  padding: 34px 38px 40px;
}

.del-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 24px;
}

.del-grid li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  color: #111;
}

.del-grid .iconfont {
  color: #ff4d47;
  font-size: 16px;
}

.del-submit-btn {
  width: 408px;
  height: 86px;
  border: 2px solid #fff;
  border-radius: 43px;
  background: linear-gradient(-12deg, #ff413d, #f86864);
  box-shadow: 0 10px 0 0 rgba(0, 0, 0, 0.24);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

.del-submit-btn:hover {
  filter: brightness(0.96);
}

.del-submit-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.coupon-panel {
  width: 979px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 1px 2px 11px 1px rgba(0, 0, 0, 0.08);
  padding: 28px 38px 40px;
}

.fav-panel {
  background: #fff;
  border-radius: 10px;
  box-shadow: 1px 2px 11px 1px rgba(0, 0, 0, 0.08);
  padding: 28px 38px 40px;
  min-height: 320px;
}

.fav-tabs {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 4px solid #fff667;
  padding: 0 40px;
}

.fav-tab {
  position: relative;
  border: 0;
  background: none;
  padding: 0 8px 12px;
  font-size: 16px;
  font-weight: 500;
  color: #111;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.4;
  white-space: nowrap;
}

.fav-tab.is-active {
  color: #ff5f5a;
}

.fav-tab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 4px;
  background: #ff5f5a;
}

.fav-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px 18px;
  margin-top: 52px;
}

.fav-empty {
  padding: 64px 8px;
  color: #888;
  font-size: 14px;
  text-align: center;
}

.fav-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 314px;
  background: #fff;
  border: 2px solid #eceded;
  border-radius: 10px;
  overflow: hidden;
  box-sizing: border-box;
}

.fav-card-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.fav-card-media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 171px;
  margin: 16px 16px 0;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
}

.fav-card.is-store .fav-card-media,
.fav-card.is-rental .fav-card-media {
  height: 192px;
  margin: 0;
  border-radius: 0;
}

.fav-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.fav-card.is-used_car .fav-card-media img,
.fav-card.is-store .fav-card-media img,
.fav-card.is-rental .fav-card-media img {
  object-fit: cover;
}

.fav-card-media.is-empty {
  background: #f2f2f2;
}

.fav-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 16px 18px;
  min-width: 0;
}

.fav-card-body h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  color: #111;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.fav-card-sub {
  margin: 12px 0 0;
  min-width: 0;
}

.fav-card-sub.is-store {
  color: #333;
  font-size: 14px;
  line-height: 22px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.fav-card-sub.is-rental {
  color: #ababab;
  font-size: 12px;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fav-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
}

.fav-card-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
  color: #333;
  font-size: 18px;
  line-height: 1.2;
}

.fav-card-tax {
  color: #666;
  font-size: 12px;
  font-weight: 700;
}

.fav-card-unit {
  color: #333;
  font-size: 16px;
}

.fav-heart {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 1;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border: 0;
  background: transparent;
  color: #ff4d47;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.fav-heart-spacer {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.fav-heart .iconfont {
  font-size: 18px;
  line-height: 1;
}

.fav-heart:hover {
  color: #e02020;
}

.fav-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 36px;
}

.fav-pager button {
  min-width: 72px;
  height: 42px;
  padding: 0 14px;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  box-sizing: border-box;
}

.fav-pager .is-prev {
  background: #ff413d;
  color: #fff;
  border: 1px solid #ff413d;
}

.fav-pager .is-next {
  background: #fff;
  color: #111;
  border: 1px solid #ff413d;
}

.fav-pager button:disabled {
  opacity: 0.35;
  cursor: default;
}

.fav-pager-status {
  font-size: 18px;
  font-weight: 400;
  color: #111;
}

.fav-pager .page-num {
  font-weight: 800;
  color: #ff413d;
}

.mo-tabs {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 4px;
  height: 50px;
  padding: 0 12px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 1px 2px 11px 1px rgba(0, 0, 0, 0.08);
}

.mo-tab {
  position: relative;
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  background: none;
  padding: 0 6px 4px;
  color: #111;
  font-size: 16px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
}

.mo-tab .iconfont {
  font-size: 17px;
  line-height: 1;
}

.mo-tab.is-active {
  color: #ff5f5a;
  font-weight: 700;
}

.mo-tab.is-active::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 0;
  height: 4px;
  background: #ff5f5a;
}

.mo-order-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 25px;
}

.mo-order-empty {
  margin-top: 25px;
  padding: 64px 16px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 1px 2px 11px 1px rgba(0, 0, 0, 0.08);
  color: #888;
  font-size: 14px;
  text-align: center;
}

.mo-order-card {
  display: grid;
  grid-template-columns: 140px minmax(160px, 1.5fr) 72px 100px 200px;
  align-items: center;
  gap: 20px 26px;
  min-height: 140px;
  padding: 20px 24px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 1px 2px 11px 1px rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
}

.mo-order-media {
  width: 140px;
  height: 100px;
  border-radius: 10px;
  overflow: hidden;
  background: #f4f4f4;
}

.mo-order-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.mo-order-info {
  min-width: 0;
}

.mo-order-info h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: #111;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.mo-order-info p {
  margin: 12px 0 0;
  color: #666;
  font-size: 12px;
  line-height: 20px;
}

.mo-order-metric {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.mo-order-metric span {
  color: #666;
  font-size: 12px;
}

.mo-order-metric strong {
  font-size: 16px;
  font-weight: 700;
  color: #111;
}

.mo-order-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  min-width: 0;
}

.mo-order-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 90px;
  height: 28px;
  padding: 0 12px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1;
  box-sizing: border-box;
}

.mo-order-badge.is-1 {
  background: rgba(255, 209, 21, 0.1);
  color: #ffd115;
}

.mo-order-badge.is-2 {
  background: rgba(0, 217, 102, 0.1);
  color: #00d966;
}

.mo-order-badge.is-3 {
  background: rgba(255, 77, 71, 0.1);
  color: #ff413d;
}

.mo-order-badge.is-4 {
  background: rgba(71, 106, 255, 0.1);
  color: #3d5dff;
}

.mo-order-badge.is-5,
.mo-order-badge.is-6 {
  background: rgba(51, 51, 51, 0.1);
  color: #333;
}

.mo-order-btn,
.mo-order-pay {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 34px;
  border-radius: 17px;
  font-size: 14px;
  font-family: inherit;
  text-decoration: none;
  box-sizing: border-box;
  cursor: pointer;
}

.mo-order-btn {
  background: #fff;
  border: 1px solid #ccc;
  color: #666;
}

.mo-order-btn.is-ship {
  border-color: #ff5f5a;
  color: #ff4d47;
}

.mo-order-pay {
  background: linear-gradient(-12deg, #FF413D, #F86864);
  box-shadow: 6px 7px 0px 0px rgba(0, 0, 0, 0.24);
  border-radius: 17px;
  border: 2px solid #FFFFFF;
  color: #fff;
}

.mo-order-cancel {
  border: 0;
  background: none;
  padding: 0;
  color: #666;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
}

.mo-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 36px;
}

.mo-pager button {
  min-width: 72px;
  height: 42px;
  padding: 0 14px;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  box-sizing: border-box;
}

.mo-pager .is-prev {
  background: #ff413d;
  color: #fff;
  border: 1px solid #ff413d;
}

.mo-pager .is-next {
  background: #fff;
  color: #111;
  border: 1px solid #ff413d;
}

.mo-pager button:disabled {
  opacity: 0.35;
  cursor: default;
}

.mo-pager-status {
  font-size: 18px;
  font-weight: 400;
  color: #111;
}

.mo-pager .page-num {
  font-weight: 800;
  color: #ff413d;
}

.ro-order-card {
  grid-template-columns: 140px minmax(180px, 1.5fr) minmax(120px, 1fr) 90px 200px;
}

.ro-order-card .mo-order-metric {
  gap: 16px;
}

.ro-order-card .mo-order-metric > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.ro-order-card .mo-order-metric strong {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 1.25;
}

.ro-order-card .mo-order-badge.is-pending,
.co-order-card .mo-order-badge.is-pending {
  background: rgba(255, 209, 21, 0.1);
  color: #ffd115;
}

.ro-order-card .mo-order-badge.is-scheduled,
.co-order-card .mo-order-badge.is-scheduled {
  background: rgba(0, 217, 102, 0.1);
  color: #00d966;
}

.ro-order-card .mo-order-badge.is-using,
.co-order-card .mo-order-badge.is-using,
.rp-order-card .mo-order-badge.is-using {
  background: rgba(71, 106, 255, 0.1);
  color: #3d5dff;
}

.ro-order-card .mo-order-badge.is-done,
.co-order-card .mo-order-badge.is-done,
.rp-order-card .mo-order-badge.is-done,
.uc-order-card .mo-order-badge.is-done {
  background: rgba(51, 51, 51, 0.1);
  color: #333;
}

.co-order-card {
  grid-template-columns: 160px minmax(186px, 1.15fr) minmax(200px, 1.4fr) 200px;
  min-height: 200px;
  align-items: center;
}

.co-order-card .mo-order-media {
  width: 160px;
  height: 160px;
}

.co-order-card .mo-order-media img {
  object-fit: cover;
}

.co-order-facts {
  min-width: 0;
  color: #666;
  font-size: 14px;
  line-height: 30px;
}

.co-order-facts p {
  margin: 0;
  display: flex;
  gap: 0;
  min-width: 0;
}

.co-order-facts span {
  flex: 0 0 auto;
}

.co-order-facts strong {
  min-width: 0;
  color: #111;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vo-order-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 28px;
}

.rp-order-card {
  grid-template-columns: 160px minmax(200px, 1.2fr) minmax(220px, 1.2fr) 200px;
  min-height: 200px;
  align-items: center;
}

.rp-order-card .mo-order-media {
  width: 160px;
  height: 160px;
}

.rp-order-card .mo-order-media img {
  object-fit: cover;
}

.rp-order-main h3,
.uc-order-info h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: #111;
}

.rp-order-service {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}

.rp-order-service span {
  display: block;
  color: #666;
  font-size: 12px;
  line-height: 1.4;
}

.rp-order-service strong {
  display: block;
  margin-top: 8px;
  color: #111;
  font-size: 14px;
  font-weight: 700;
}

.rp-order-service img {
  width: 75px;
  height: 75px;
  object-fit: contain;
  flex: 0 0 75px;
}

.rp-order-meta {
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-width: 0;
}

.rp-order-meta p,
.uc-order-info p {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  color: #666;
  font-size: 12px;
  line-height: 1.4;
}

.vo-meta-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.rp-order-meta img,
.uc-order-info p img {
  width: 13px;
  height: 13px;
  object-fit: contain;
}

.rp-order-meta strong,
.uc-order-info strong {
  color: #111;
  font-size: 14px;
  font-weight: 700;
  margin-left: 21px;
}

.uc-order-card {
  grid-template-columns: 160px minmax(0, 1fr) 200px;
  min-height: 140px;
  align-items: center;
}

.uc-order-card .mo-order-media {
  width: 160px;
  height: 120px;
}

.uc-order-card .mo-order-media img {
  object-fit: cover;
}

.uc-order-info p {
  margin-top: 18px;
}

.mo-order-badge.is-checking {
  background: rgba(255, 100, 96, 0.1);
  color: #fb5454;
}

.mo-order-badge.is-booked {
  background: rgba(255, 209, 21, 0.1);
  color: #ffd115;
}

.mo-order-badge.is-complete {
  background: rgba(0, 217, 102, 0.1);
  color: #00d966;
}

.vo-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.vo-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.vo-modal-card {
  position: relative;
  z-index: 1;
  width: 630px;
  max-width: 100%;
  background: #fff;
  border-radius: 10px;
  box-shadow: 1px 2px 11px 1px rgba(0, 0, 0, 0.08);
  padding: 24px 44px 41px;
  box-sizing: border-box;
}

.vo-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.vo-modal-close::before,
.vo-modal-close::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 13px;
  width: 16px;
  height: 2px;
  background: #888;
}

.vo-modal-close::before {
  transform: rotate(45deg);
}

.vo-modal-close::after {
  transform: rotate(-45deg);
}

.vo-modal-card h2 {
  margin: 26px 0 0;
  font-size: 22px;
  font-weight: 800;
  color: #111;
  line-height: 1.4;
}

.vo-modal-warn {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 20px;
  padding: 16px 20px;
  background: rgba(255, 77, 71, 0.1);
  border: 1px solid #ffbbb9;
  border-radius: 10px;
}

.vo-modal-warn img {
  width: 39px;
  height: 39px;
  flex: 0 0 39px;
  object-fit: contain;
}

.vo-modal-warn p {
  margin: 0;
  color: #666;
  font-size: 14px;
  line-height: 24px;
}

.vo-modal-detail {
  margin-top: 30px;
  padding: 36px 40px;
  background: #f9f9f9;
  border: 1px solid #ccc;
  border-radius: 10px;
  box-shadow: 1px 2px 11px 1px rgba(0, 0, 0, 0.08);
}

.vo-modal-detail dl {
  margin: 0;
  display: grid;
  gap: 10px;
}

.vo-modal-detail dl > div {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.vo-modal-detail dt {
  margin: 0;
  color: #666;
  font-size: 14px;
  font-weight: 400;
}

.vo-modal-detail dd {
  margin: 0;
  color: #111;
  font-size: 14px;
  font-weight: 700;
}

.vo-modal-actions {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 38px;
}

.vo-modal-dismiss,
.vo-modal-confirm {
  width: 240px;
  max-width: calc(50% - 8px);
  height: 50px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}

.vo-modal-dismiss {
  background: #fff;
  border: 0;
  color: #aeaeae;
  box-shadow: 0 12px 0 0 rgba(0, 0, 0, 0.42);
}

.vo-modal-confirm {
  background: linear-gradient(-12deg, #ff413d, #f86864);
  border: 2px solid #fff;
  color: #fff;
  box-shadow: 6px 7px 0 0 rgba(0, 0, 0, 0.24);
}

.coupon-tabs {
  display: flex;
  align-items: flex-end;
  flex-wrap: nowrap;
  gap: 8px;
  border-bottom: 4px solid #fff667;
}

.coupon-tab {
  position: relative;
  border: 0;
  background: none;
  padding: 0 18px 12px;
  font-size: 16px;
  font-weight: 700;
  color: #111;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.4;
}

.coupon-tab em {
  font-style: normal;
  color: #ff4d47;
  margin-left: 6px;
}

.coupon-tab.is-active {
  color: #ff4d47;
}

.coupon-tab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 4px;
  background: #ff5f5a;
}

.coupon-list {
  display: grid;
  gap: 24px;
  margin-top: 36px;
}

.coupon-empty {
  padding: 40px 8px;
  color: #888;
  font-size: 14px;
}

.coupon-card {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  flex-shrink: 0;
  width: 903px;
  height: 99px;
  padding: 0 32px 0 35px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 903px 99px;
}

.coupon-card-icon {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  margin-right: 21px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.coupon-card-icon .iconfont {
  font-size: 28px;
  line-height: 1;
}

.coupon-card-value {
  flex-shrink: 0;
  min-width: 98px;
}

.coupon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 17px;
  min-width: 93px;
  padding: 0 8px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 300;
  line-height: 1;
  white-space: nowrap;
}

.coupon-amount {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  margin-top: 8px;
  line-height: 1;
}

.coupon-amount strong {
  font-size: 40px;
  font-weight: 700;
  line-height: 31px;
}

.coupon-amount span {
  font-size: 22px;
  font-weight: 700;
  line-height: 20px;
  padding-bottom: 2px;
}

.coupon-card-dash {
  flex-shrink: 0;
  width: 1px;
}

.coupon-card-dash-sm {
  height: 39px;
  margin: 0 50px 0 32px;
  background: #e5e5e5;
}

.coupon-card-dash-lg {
  height: 78px;
  margin: 0 23px 0 auto;
  background: repeating-linear-gradient(to bottom,
      currentColor 0 2px,
      transparent 2px 7px);
}

.coupon-card-meta {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  line-height: 22px;
  color: #333;
}

.coupon-card-meta p {
  margin: 0;
}

.coupon-action {
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
  width: 154px;
  height: 45px;
  border: 0;
  border-radius: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 400;
  font-family: inherit;
  line-height: 1;
  cursor: pointer;
}

.coupon-card.is-claimable {
  background-image: url("../assets/profile/coupon-ticket-claim.png");
}

.coupon-card.is-claimable .coupon-card-icon {
  background: rgba(255, 77, 71, 0.1);
  color: #ff4d47;
}

.coupon-card.is-claimable .coupon-badge {
  border: 1px solid #ff9c99;
  color: #ff4d47;
}

.coupon-card.is-claimable .coupon-amount {
  color: #ff4d47;
}

.coupon-card.is-claimable .coupon-card-dash-lg {
  color: #ff9c99;
}

.coupon-card.is-claimable .coupon-action {
  color: #fff;
  background: linear-gradient(-12deg, #ff413d, #f86864);
  box-shadow: 6px 7px 0 0 rgba(0, 0, 0, 0.3);
  border: 2px solid #fff;
}

.coupon-card.is-unused {
  background-image: url("../assets/profile/coupon-ticket-unused.png");
}

.coupon-card.is-unused .coupon-card-icon {
  background: rgba(255, 209, 21, 0.1);
  color: #ffd115;
}

.coupon-card.is-unused .coupon-badge {
  border: 1px solid #ffd115;
  color: #ffd115;
}

.coupon-card.is-unused .coupon-amount {
  color: #ffd115;
}

.coupon-card.is-unused .coupon-card-dash-lg {
  color: #ffd115;
}

.coupon-card.is-unused .coupon-action {
  color: #111;
  background: linear-gradient(-12deg, #ffd115, #ffe478);
  box-shadow: 6px 7px 0 0 rgba(0, 0, 0, 0.24);
  border: 2px solid #fff;
}

.coupon-card.is-used,
.coupon-card.is-expired {
  background-image: url("../assets/profile/coupon-ticket-used.png");
}

.coupon-card.is-used .coupon-card-icon,
.coupon-card.is-expired .coupon-card-icon {
  background: rgba(142, 142, 142, 0.1);
  color: #8e8e8e;
}

.coupon-card.is-used .coupon-badge,
.coupon-card.is-expired .coupon-badge {
  border: 1px solid #8e8e8e;
  color: #8e8e8e;
}

.coupon-card.is-used .coupon-amount,
.coupon-card.is-expired .coupon-amount {
  color: #8e8e8e;
}

.coupon-card.is-used .coupon-card-meta,
.coupon-card.is-expired .coupon-card-meta {
  color: #333;
}

.coupon-card.is-used .coupon-card-dash-lg,
.coupon-card.is-expired .coupon-card-dash-lg {
  color: #ccc;
}

.coupon-card.is-used .coupon-action,
.coupon-card.is-expired .coupon-action {
  color: #111;
  background: #e2e2e2;
  box-shadow: 0 7px 0 0 rgba(0, 0, 0, 0.24);
  border: 2px solid #fff;
  cursor: default;
}

.coupon-card.is-claimable .coupon-action:hover,
.coupon-card.is-unused .coupon-action:hover {
  filter: brightness(0.96);
}

.coupon-card.is-claimable .coupon-action:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* Supplier application */
.supplier-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 30px;
  align-items: start;
}

.supplier-form-card,
.supplier-side-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 1px 2px 11px 1px rgba(0, 0, 0, 0.08);
}

.supplier-form-card {
  padding: 34px 37px 40px;
}

#supplier-form {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.supplier-field-label {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 15px;
  font-size: 16px;
  font-weight: 700;
  color: #111;
  line-height: 1;
}

.supplier-field-hint {
  margin: -6px 0 12px;
  font-size: 14px;
  color: #111;
  line-height: 1.5;
}

#supplier-form input,
#supplier-form textarea {
  width: 100%;
  border: 1px solid #bdbdbd;
  border-radius: 6px;
  background: #fff;
  color: #111;
  font-size: 14px;
  font-family: inherit;
}

#supplier-form input {
  height: 50px;
  padding: 0 15px;
}

#supplier-form input::placeholder,
#supplier-form textarea::placeholder {
  color: #111;
  opacity: 1;
}

#supplier-form input:focus,
#supplier-form textarea:focus {
  outline: none;
  border-color: #ff4d47;
}

#supplier-form input[readonly],
#supplier-form textarea[readonly] {
  background: #fff;
  color: #111;
}

.supplier-upload {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 180px;
  padding: 24px 28px 28px;
  border: 2px dashed #bdbdbd;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 13px 0 0 rgba(26, 15, 5, 0.14);
}

.supplier-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  width: 100%;
  margin-bottom: 16px;
}

.supplier-thumb {
  position: relative;
  width: 148px;
  height: 94px;
}

.supplier-thumb-open {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
}

.supplier-thumb-open img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.supplier-thumb-remove {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 14px;
  line-height: 22px;
  cursor: pointer;
  z-index: 1;
}

.supplier-upload-note {
  margin: 0 0 18px;
  font-size: 16px;
  color: #666;
  line-height: 1.4;
}

.supplier-upload-empty {
  margin: 0;
  font-size: 14px;
  color: #666;
}

.supplier-add-file {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 240px;
  height: 50px;
  padding: 0;
  border: 1px solid #ff5f5a;
  border-radius: 25px;
  background: #fff;
  color: #ff5f5a;
  font-size: 18px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}

.supplier-add-file:hover {
  background: #fff5f5;
}

.supplier-add-file:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.supplier-add-file img {
  width: 22px;
  height: 18px;
  object-fit: contain;
}

.supplier-remark-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.supplier-remark-row .supplier-field-label {
  margin: 8px 0 0;
}

.supplier-textarea-wrap {
  position: relative;
}

.supplier-textarea-wrap textarea {
  min-height: 100px;
  padding: 12px 15px 28px;
  resize: vertical;
  line-height: 1.5;
}

.supplier-count {
  position: absolute;
  right: 12px;
  bottom: 8px;
  font-size: 16px;
  color: #666;
  pointer-events: none;
}

.supplier-form-foot {
  display: flex;
  justify-content: center;
  padding-top: 10px;
}

.supplier-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 248px;
  height: 64px;
  padding: 0 32px;
  background: linear-gradient(-12deg, #ff413d, #f86864);
  box-shadow: 0 10px 0 0 rgba(0, 0, 0, 0.24);
  border-radius: 32px;
  border: 2px solid #fff;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}

.supplier-submit:hover {
  filter: brightness(0.96);
}

.supplier-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

#supplier-form .form-error {
  margin: 0;
}

.supplier-aside {
  display: grid;
  gap: 25px;
}

.supplier-side-card {
  padding: 32px 21px 28px;
}

.supplier-side-card h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: #111;
  line-height: 1.3;
}

.supplier-status-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  font-size: 16px;
  color: #111;
}

.supplier-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 90px;
  height: 28px;
  padding: 0 12px;
  border-radius: 14px;
  background: rgba(255, 100, 96, 0.1);
  color: #fb5454;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}

.supplier-status-badge.is-status-none {
  background: #f4f4f4;
  color: #666;
}

.supplier-status-badge.is-status-2 {
  background: rgba(39, 174, 96, 0.12);
  color: #1b7a3a;
}

.supplier-status-badge.is-status-3,
.supplier-status-badge.is-status-4 {
  background: rgba(255, 100, 96, 0.1);
  color: #fb5454;
}

.supplier-side-hint {
  margin: 18px 0 0;
  font-size: 14px;
  color: #666;
  line-height: 22px;
}

.supplier-review-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 130px;
  margin-top: 24px;
  padding: 16px 12px;
  background: rgba(102, 102, 102, 0.04);
  border-radius: 8px;
  text-align: center;
}

.supplier-review-box img {
  width: 35px;
  height: 33px;
  object-fit: contain;
  margin-bottom: 10px;
}

.supplier-review-box p {
  margin: 0;
  font-size: 14px;
  color: #666;
  line-height: 22px;
}

.supplier-review-box.has-reason {
  align-items: flex-start;
  text-align: left;
  color: #333;
  font-size: 14px;
  line-height: 1.6;
  white-space: pre-wrap;
}

.supplier-preview {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.72);
  cursor: zoom-out;
}

.supplier-preview img {
  max-width: min(92vw, 960px);
  max-height: 86vh;
  border-radius: 8px;
  object-fit: contain;
}

.supplier-preview button {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #111;
  font-size: 22px;
  line-height: 36px;
  cursor: pointer;
}

@media (max-width: 1100px) {
  .supplier-layout {
    grid-template-columns: 1fr;
  }

  .supplier-remark-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .supplier-remark-row .supplier-field-label {
    margin: 0;
  }

  .supplier-form-card {
    padding: 28px 20px 32px;
  }

  .supplier-add-file,
  .supplier-submit {
    width: 100%;
    max-width: 248px;
  }

  .page-two-col.profile-shell {
    grid-template-columns: 1fr;
  }

  .profile-form-layout {
    grid-template-columns: 1fr;
  }

  .addr-form-grid {
    grid-template-columns: 1fr;
    row-gap: 22px;
  }

  .addr-card,
  .addr-card-actions {
    flex-wrap: wrap;
  }

  .addr-card-name,
  .addr-card-phone {
    width: auto;
  }

  .addr-card-line {
    flex-basis: 100%;
  }

  .addr-modal {
    padding: 16px;
    align-items: flex-start;
  }

  .addr-modal-card {
    padding: 24px 20px 32px;
    max-height: calc(100vh - 32px);
  }

  .veh-plate-row {
    grid-template-columns: 1fr;
  }

  .veh-card,
  .veh-card-actions {
    flex-wrap: wrap;
  }

  .veh-del-card,
  .del-confirm-card,
  .logout-modal-card {
    width: 100%;
  }

  .addr-modal-card.logout-modal-card {
    padding: 48px 20px 32px;
  }

  .logout-alert {
    padding: 18px 20px;
  }

  .logout-modal-actions {
    flex-wrap: wrap;
  }

  .logout-cancel-btn,
  .logout-modal-card .addr-save-btn {
    width: 100%;
    max-width: 240px;
  }

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

  .del-submit-btn {
    width: 100%;
    max-width: 408px;
  }

  .fav-tabs,
  .mo-tabs {
    flex-wrap: wrap;
    gap: 4px 0;
  }

  .mo-tabs {
    height: auto;
    padding: 4px 8px 0;
  }

  .fav-tabs {
    padding: 0;
    justify-content: flex-start;
  }

  .fav-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 28px;
  }

  .fav-panel {
    padding: 20px 16px 28px;
  }
}

@media (max-width: 720px) {
  .fav-grid {
    grid-template-columns: 1fr;
  }

  .fav-tab {
    padding: 0 12px 12px;
  }

  .mo-tabs {
    height: auto;
    flex-wrap: wrap;
    padding: 8px 8px 0;
  }

  .mo-tab {
    flex: 1 1 30%;
    min-height: 44px;
    padding-bottom: 10px;
  }

  .mo-order-card,
  .ro-order-card,
  .co-order-card,
  .rp-order-card,
  .uc-order-card {
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 16px;
  }

  .mo-order-media {
    width: 100px;
    height: 72px;
  }

  .mo-order-metric,
  .mo-order-actions {
    grid-column: 1 / -1;
  }

  .mo-order-metric {
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
  }

  .mo-order-actions {
    align-items: stretch;
  }

  .mo-order-btn,
  .mo-order-pay {
    width: 100%;
  }

  .ro-order-card .mo-order-metric {
    flex-direction: column;
    gap: 12px;
  }

  .ro-order-card .mo-order-metric > div {
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
  }

  .co-order-card .mo-order-media {
    width: 100px;
    height: 100px;
  }

  .co-order-facts {
    grid-column: 1 / -1;
  }

  .rp-order-card .mo-order-media,
  .uc-order-card .mo-order-media {
    width: 100px;
    height: 72px;
  }

  .rp-order-meta,
  .rp-order-service,
  .uc-order-info {
    grid-column: 1 / -1;
  }

  .rp-order-meta {
    gap: 12px;
  }

  .vo-modal-card {
    padding: 20px 20px 28px;
  }

  .vo-modal-detail {
    padding: 20px;
  }

  .vo-modal-detail dl > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .vo-modal-actions {
    flex-direction: column;
  }

  .vo-modal-dismiss,
  .vo-modal-confirm {
    width: 100%;
    max-width: none;
  }
}