@import url("https://fonts.googleapis.com/css2?family=Cabin:wght@400;500;600;700&family=Fjalla+One&display=swap");

.account-page {
  overflow-x: hidden;
}

.account-page-main {
  min-height: 100vh;
  padding: 150px 24px 70px;
  background:
    linear-gradient(135deg, rgba(255, 148, 117, 0.12), transparent 45%), #000;
  color: #fff;
  font-family: "Cabin", sans-serif;
}

.account-dashboard {
  width: min(1200px, 100%);
  margin: 0 auto;
}

.account-header {
  margin-bottom: 24px;
  padding: 22px 24px 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(20, 20, 20, 0.9);
  box-shadow: 10px 10px 0 rgba(255, 148, 117, 0.78);
}

.account-header h1 {
  margin: 0 0 10px;
  color: #ff9475;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 0.95;
  text-transform: uppercase;
}

.account-welcome,
.account-status {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
}

.account-welcome {
  font-size: 1.15rem;
  font-weight: 600;
}

.account-status {
  margin-top: 4px;
  font-size: 0.92rem;
}

.account-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.account-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(20, 20, 20, 0.9);
  box-shadow: 10px 10px 0 rgba(255, 148, 117, 0.32);
}

.account-sidebar-divider {
  width: 100%;
  height: 1px;
  margin: 8px 0;
  background: rgba(255, 255, 255, 0.18);
}

.account-sidebar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(255, 148, 117, 0.65);
  background: transparent;
  color: #ff9475;
  font-family: "Cabin", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.2s ease;
}

.account-sidebar-item svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}

.account-sidebar-item:hover,
.account-sidebar-item.is-active {
  color: #000;
  background: #ff9475;
}

.account-sidebar-item--logout {
  margin-top: 4px;
}

.account-main {
  min-width: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(20, 20, 20, 0.9);
  box-shadow: 12px 12px 0 rgba(255, 148, 117, 0.32);
}

.account-section {
  display: none;
  padding: 28px 28px 32px;
}

.account-section.is-visible {
  display: block;
}

.account-section-header {
  margin-bottom: 22px;
}

.account-section-header h2 {
  margin: 0;
  color: #ff9475;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.account-page .auth-form {
  display: grid;
  gap: 18px;
  margin-top: 0;
}

.account-page .auth-form[hidden] {
  display: none;
}

.account-page .auth-form label {
  display: grid;
  gap: 7px;
  color: #ff9475;
  font-size: 0.84rem;
  text-transform: uppercase;
}

.account-page .auth-form input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  background: #0a0a0a;
  font: inherit;
}

.account-page .auth-form input:focus {
  outline: 2px solid #ff9475;
  outline-offset: 2px;
}

.account-page .auth-submit {
  padding: 14px 18px;
  color: #000;
  background: #ff9475;
  font: inherit;
  font-weight: 700;
  text-transform: uppercase;
  transition: 0.2s ease;
}

.account-page .auth-submit:hover,
.account-page .auth-submit:disabled {
  background: #fff;
}

.account-page .auth-message {
  min-height: 24px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

.account-page .auth-message.error {
  color: #ffb2a0;
}

.account-page .auth-message.success {
  color: #b8f0c3;
}

.account-page .auth-link {
  display: block;
  margin-top: 10px;
  color: #ff9475;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
}

.account-page #ordersList,
.account-page #cartList {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.7;
}

.account-page #ordersList p,
.account-page #cartList p {
  margin: 0 0 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.account-page #ordersList p:last-child,
.account-page #cartList p:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

@media (max-width: 820px) {
  .account-page-main {
    padding: 120px 18px 50px;
  }

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

  .account-sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

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

  .account-sidebar-item {
    justify-content: center;
    padding: 12px 10px;
    font-size: 0.72rem;
    letter-spacing: 0.05em;
  }

  .account-section {
    padding: 22px 18px 26px;
  }
}

@media (max-width: 480px) {
  .account-header {
    padding: 18px 16px 16px;
  }

  .account-sidebar {
    grid-template-columns: 1fr 1fr;
  }
}

.auth-shell {
  position: relative;
  z-index: 1;
  justify-self: center;
  width: 100%;
  min-width: 0;
  max-width: 460px;
  margin: 0 auto;
  padding: 42px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(20, 20, 20, 0.9);
  box-shadow: 12px 12px 0 rgba(255, 148, 117, 0.72);
}

.auth-page {
  position: relative;
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 150px 24px 70px;
  color: #fff;
  font-family: "Cabin", sans-serif;
}

body.auth-login-page > header,
body.auth-register-page > header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

body.auth-login-page > header > nav,
body.auth-register-page > header > nav {
  order: 0;
  margin-right: auto;
}

body.auth-login-page > header .auth-page-logo,
body.auth-register-page > header .auth-page-logo {
  position: relative;
  z-index: 100000;
  display: block;
  width: clamp(110px, 14vw, 176px);
  margin-left: auto;
  margin-right: 0;
  line-height: 0;
  transform: none;
}

body.auth-login-page > header .auth-page-logo img,
body.auth-register-page > header .auth-page-logo img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 1290px) {
  body.auth-login-page > header,
  body.auth-register-page > header {
    justify-content: flex-start;
    height: 110px;
    padding: 0 24px;
  }

  body.auth-login-page > header > nav,
  body.auth-register-page > header > nav {
    display: none;
  }

  body.auth-login-page > header .auth-page-logo,
  body.auth-register-page > header .auth-page-logo {
    position: absolute;
    top: 16px;
    left: 24px;
    right: auto;
    order: 0;
    width: clamp(90px, 18vw, 150px);
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 600px) {
  body.auth-login-page > header .auth-page-logo,
  body.auth-register-page > header .auth-page-logo {
    top: 18px;
    left: 16px;
    width: clamp(80px, 24vw, 120px);
  }
}

/* Keep the authentication-page navigation sized to its links. */
body.auth-login-page > header > nav,
body.auth-register-page > header > nav {
  width: fit-content;
}

@media (max-width: 400px) {
  body.auth-login-page > header,
  body.auth-register-page > header {
    gap: 8px;
    padding: 14px;
  }

  body.auth-login-page > header > nav,
  body.auth-register-page > header > nav {
    gap: 8px;
    padding: 8px;
  }

  body.auth-login-page > header > nav span,
  body.auth-register-page > header > nav span {
    font-size: 14px;
  }
}

.auth-shell label,
.auth-shell input,
.auth-shell button,
.auth-shell p,
.auth-shell a {
  font-family: "Cabin", sans-serif;
}

.auth-shell p {
  font-size: 0.95rem;
}

.auth-shell h1 {
  margin-bottom: 10px;
  color: #ff9475;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(3.2rem, 8vw, 6rem);
  font-weight: 400;
  line-height: 0.95;
  text-transform: uppercase;
}

.auth-intro,
.auth-message,
.auth-link {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.5;
}

header nav .authNavLink {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 148, 117, 0.7);
  color: #ff9475;
  font-family: "Cabin", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: 0.2s ease;
}

header nav .authNavLink:hover {
  color: #000;
  background: #ff9475;
}

header nav .authNavLink[hidden] {
  display: none;
}

.auth-form {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

/* Registration benefits from paired fields while preserving the shared auth form. */
.auth-shell:has(#registerForm) {
  max-width: 680px;
}

#registerForm {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 20px;
  row-gap: 20px;
}

#registerForm label {
  min-width: 0;
}

#registerForm input {
  box-sizing: border-box;
  min-height: 48px;
}

#registerForm .auth-submit {
  grid-column: 1 / -1;
  min-height: 48px;
}

#registerForm .field-error {
  display: block;
  min-height: 1.1em;
  color: #ffb2a0;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: none;
}

#registerForm .phone-input-group {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

#registerForm .required-mark {
  color: #ff9475;
  font-size: 0.95em;
  font-weight: 700;
}

#registerForm .phone-input-group:focus-within {
  outline: 2px solid #ff9475;
  outline-offset: 2px;
}

#registerForm .phone-input-group:has(input.invalid) {
  border-color: #ff8f7b;
}

#registerForm .phone-input-group select,
#registerForm .phone-input-group input {
  min-width: 0;
  min-height: 48px;
  border: 0;
  border-radius: 0;
  outline: 0;
  color: #fff;
  background: transparent;
  font: inherit;
}

#registerForm .phone-input-group select {
  padding: 13px 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.24);
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}

#registerForm .phone-input-group select option {
  color: #fff;
  background: #171717;
}

#registerForm .phone-input-group input {
  width: 100%;
  padding: 13px 14px;
}

#registerForm input.invalid + .field-error,
#registerForm .phone-input-group:has(input.invalid) + .field-error {
  color: #ffb2a0;
}

#registerForm input.invalid {
  border-color: #ff8f7b;
}

#registerForm input.invalid:focus {
  outline-color: #ff8f7b;
}

@media (max-width: 420px) {
  #registerForm .phone-input-group {
    grid-template-columns: max-content minmax(0, 1fr);
  }

  #registerForm .phone-input-group select {
    padding-left: 10px;
    font-size: 0.85rem;
  }
}

.auth-form[hidden] {
  display: none;
}

.auth-form label {
  display: grid;
  gap: 7px;
  color: #ff9475;
  font-family: "Cabin", sans-serif;
  font-size: 0.84rem;
  text-transform: uppercase;
}

.auth-form input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  background: #0a0a0a;
  font-family: "Cabin", sans-serif;
  font-size: 1rem;
  line-height: 1.3;
}

.auth-form input:focus {
  outline: 2px solid #ff9475;
  outline-offset: 2px;
}

.auth-submit {
  padding: 14px 18px;
  color: #000;
  background: #ff9475;
  font-family: "Cabin", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: 0.2s ease;
}

.auth-submit:hover,
.auth-submit:disabled {
  background: #fff;
}

.auth-danger {
  width: 100%;
  margin-top: 20px;
  padding: 12px;
  border: 1px solid #ff6b6b;
  color: #ff9a9a;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.auth-danger:hover {
  color: #000;
  background: #ff6b6b;
}

.auth-message {
  min-height: 24px;
  margin-top: 18px;
}

.auth-message.error {
  color: #ffb2a0;
}

.auth-message.success {
  color: #b8f0c3;
}

.auth-link {
  display: inline-block;
  margin-top: 24px;
  color: #ff9475;
  text-decoration: underline;
}

.auth-link-button {
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.auth-link-button:disabled {
  color: rgba(255, 255, 255, 0.45);
  cursor: not-allowed;
}

.email-change-otp[hidden] {
  display: none;
}

.password-success-dialog {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.78);
}

.password-success-dialog[hidden] {
  display: none;
}

.password-success-dialog__panel {
  width: min(420px, 100%);
  padding: 32px;
  border: 1px solid rgba(255, 148, 117, 0.75);
  background: #151515;
  box-shadow: 10px 10px 0 rgba(255, 148, 117, 0.5);
  text-align: center;
}

.password-success-dialog__panel h2 {
  margin: 0 0 12px;
  color: #ff9475;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 2rem;
  font-weight: 400;
  text-transform: uppercase;
}

.password-success-dialog__panel p {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
}

.password-success-dialog__panel .auth-submit {
  display: block;
  margin: 0;
  text-decoration: none;
}

.auth-verification .auth-form input {
  font-size: 1.4rem;
  letter-spacing: 0.3em;
  text-align: center;
}

@media (max-width: 650px) {
  .auth-page {
    padding: 120px 18px 50px;
  }

  .auth-shell {
    width: 100%;
    padding: 28px 22px;
    box-shadow: 7px 7px 0 rgba(255, 148, 117, 0.72);
  }

  #registerForm {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

.auth-gate {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(0, 0, 0, 0.78);
}

.auth-gate[hidden] {
  display: none;
}

.auth-gate__dialog {
  width: min(430px, 100%);
  padding: 32px;
  border: 1px solid rgba(255, 148, 117, 0.75);
  background: #171717;
  box-shadow: 10px 10px 0 rgba(255, 148, 117, 0.75);
  color: #fff;
  font-family: "Cabin", sans-serif;
}

.auth-gate__dialog h2 {
  margin-bottom: 12px;
  color: #ff9475;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 2.4rem;
  font-weight: 400;
  text-transform: uppercase;
}

.auth-gate__actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.auth-gate__actions a,
.auth-gate__actions button {
  flex: 1;
  padding: 12px;
  border: 1px solid #ff9475;
  color: #ff9475;
  background: transparent;
  font: inherit;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
}

.auth-gate__actions a:hover,
.auth-gate__actions button:hover {
  color: #000;
  background: #ff9475;
}

@media (max-width: 650px) {
  .auth-gate__dialog {
    padding: 25px;
  }

  .auth-gate__actions {
    flex-direction: column;
  }
}

/* Account dashboard */
.account-page-main {
  min-height: 100vh;
  padding: 138px 24px 72px;
  background:
    linear-gradient(135deg, rgba(255, 148, 117, 0.08), transparent 38%), #000;
}

.account-dashboard {
  width: min(1180px, 100%);
}

.account-header {
  position: static;
  right: auto;
  left: auto;
  z-index: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
  padding: 20px 4px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.account-eyebrow,
.account-sidebar-title,
.form-label {
  margin: 0 0 7px;
  color: #ff9475;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.account-header h1 {
  margin: 0;
  font-family: "Fjalla One", Impact, sans-serif;
  font-size: clamp(3rem, 7vw, 5.7rem);
  letter-spacing: 0.01em;
}

.account-welcome {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
}

.account-status {
  max-width: 310px;
  margin: 0;
  text-align: right;
}

.account-page > header {
  position: static;
  right: auto;
  left: auto;
  z-index: auto;
  align-items: center;
  gap: 18px;
}

.account-page-main {
  padding-top: 42px;
}

.account-page > header nav {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  flex-wrap: wrap;
}

.account-page > header nav a,
.account-page > header .contact {
  white-space: nowrap;
}

.account-page svg {
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  overflow: visible;
  fill: currentColor;
  stroke: none;
}

.account-layout {
  grid-template-columns: 235px minmax(0, 1fr);
  gap: 22px;
}

.account-sidebar {
  min-height: 500px;
  padding: 20px 12px 14px;
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.account-sidebar-title {
  padding: 0 10px 13px;
  color: rgba(255, 255, 255, 0.48);
}

.account-sidebar-nav {
  display: grid;
  gap: 6px;
}

.account-sidebar-item {
  border-color: transparent;
  color: rgba(255, 255, 255, 0.68);
}

.account-sidebar-item:hover,
.account-sidebar-item.is-active {
  border-color: rgba(255, 148, 117, 0.7);
  color: #000;
  background: #ff9475;
}

.account-sidebar-item:disabled,
.account-outline-button:disabled {
  opacity: 1;
  cursor: not-allowed;
}

.account-sidebar-item:not(.is-active):disabled {
  border-color: transparent;
  color: rgba(255, 255, 255, 0.58);
  background: transparent;
}

.account-sidebar-divider {
  margin-top: auto;
}

.account-main {
  min-height: 500px;
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.account-section {
  min-height: 500px;
  padding: 30px 34px 34px;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.account-section.is-visible {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.account-section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}

.account-section-header h2 {
  font-family: "Fjalla One", Impact, sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.account-outline-button,
.account-text-button {
  padding: 11px 15px;
  border: 1px solid rgba(255, 148, 117, 0.72);
  color: #ff9475;
  background: transparent;
  font: inherit;
  font-size: 0.77rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.2s ease;
}

.account-outline-button:hover,
.account-text-button:hover {
  color: #000;
  background: #ff9475;
}

.account-text-button {
  border: 0;
  text-decoration: underline;
}

.profile-summary {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.2);
}

.profile-avatar {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border: 1px solid #ff9475;
  color: #000;
  background: #ff9475;
  background-position: center;
  background-size: cover;
  font-family: "Fjalla One", Impact, sans-serif;
  font-size: 2rem;
}

.profile-avatar.has-image {
  color: transparent;
}

.profile-summary strong,
.profile-summary span,
.security-status strong,
.security-status span,
.dashboard-row strong,
.dashboard-row span {
  display: block;
}

.profile-summary strong {
  font-size: 1.12rem;
}

.profile-summary span,
.security-status span,
.password-hint {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.86rem;
}

.dashboard-form {
  margin-top: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.secondary-form {
  margin-top: 38px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.security-status {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  padding: 15px 17px;
  border: 1px solid rgba(184, 240, 195, 0.3);
  background: rgba(184, 240, 195, 0.06);
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #b8f0c3;
  box-shadow: 0 0 0 4px rgba(184, 240, 195, 0.1);
}

.password-field {
  position: relative;
  display: block;
}

.password-field input {
  padding-right: 65px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 10px;
  color: #ff9475;
  font: inherit;
  font-size: 0.72rem;
  text-transform: uppercase;
  transform: translateY(-50%);
  cursor: pointer;
}

.section-count {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
}

.dashboard-list {
  display: grid;
  gap: 9px;
}

.dashboard-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 20px;
  padding: 17px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.16);
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.dashboard-row:hover {
  border-color: rgba(255, 148, 117, 0.5);
  background: rgba(255, 148, 117, 0.06);
}

.dashboard-cart-remove {
  justify-self: end;
  border: 1px solid rgba(255, 148, 117, 0.55);
  border-radius: 6px;
  padding: 8px 11px;
  color: #ff9475;
  background: transparent;
  font: inherit;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}

.dashboard-cart-remove:hover,
.dashboard-cart-remove:focus-visible {
  color: #000;
  background: #ff9475;
  outline: none;
}

.dashboard-cart-remove:disabled {
  cursor: wait;
  opacity: 0.7;
}

.dashboard-row span {
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.83rem;
}

.order-status {
  padding: 5px 9px;
  border: 1px solid rgba(255, 148, 117, 0.5);
  color: #ff9475 !important;
  font-size: 0.68rem !important;
  text-transform: uppercase;
}

.dashboard-loading,
.empty-state {
  padding: 54px 20px;
  color: rgba(255, 255, 255, 0.56);
  text-align: center;
}

.empty-state strong,
.empty-state span {
  display: block;
}

.empty-state strong {
  color: #fff;
  font-size: 1.05rem;
}

.empty-state span {
  margin: 8px 0 24px;
}

.empty-state .auth-submit {
  display: inline-block;
  width: auto;
  text-decoration: none;
}

@media (max-width: 820px) {
  .account-page-main {
    padding: 32px 18px 50px;
  }

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

  .account-sidebar {
    min-height: 0;
    padding: 16px;
  }

  .account-sidebar-title {
    display: none;
  }

  .account-sidebar-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .account-sidebar-divider {
    display: block;
    margin: 14px 0 8px;
  }

  .account-sidebar-item--logout {
    margin-top: 0;
  }

  .account-main,
  .account-section {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .account-page-main {
    padding: 24px 12px 34px;
  }

  .account-header {
    display: block;
    padding: 16px 0 20px;
  }

  .account-status {
    max-width: none;
    margin-top: 12px;
    text-align: left;
  }

  .account-sidebar-nav {
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
  }

  .account-sidebar-item {
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    min-width: 0;
    padding: 10px 3px;
    font-size: 0.61rem;
    letter-spacing: 0.02em;
    text-align: center;
  }

  .account-sidebar-item svg {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
  }

  .account-page > header {
    align-items: flex-start;
    padding: 18px;
  }

  .account-page > header nav {
    gap: 10px 16px;
    padding: 8px;
  }

  .account-page > header nav span {
    font-size: 13px;
  }

  .account-page > header .contact {
    display: none;
  }

  .account-sidebar-item--logout {
    flex-direction: row;
    grid-column: 1 / -1;
    justify-content: center;
    margin-top: 4px;
  }

  .profile-summary {
    padding: 14px;
  }

  .dashboard-row {
    padding: 14px;
  }

  .account-section {
    padding: 25px 18px 28px;
  }

  .account-section-header {
    align-items: start;
    flex-direction: column;
  }

  .form-grid,
  .dashboard-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .dashboard-row {
    align-items: start;
  }
}

/* Premium account treatment. Keep all overrides scoped to this page. */
.account-page {
  background: #080808;
}

.account-page.admin-gated .account-page-main,
.account-page.admin-gated .event-cart-toggle,
.account-page.admin-gated .event-cart-panel {
  visibility: hidden;
}

.account-page .account-page-main {
  width: 100%;
  min-height: 100vh;
  padding: 32px 24px 64px;
  background: #080808;
}

.account-page .account-dashboard {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.account-page .account-home-link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.84rem;
  transition: color 0.2s ease;
}

.account-page .account-home-link:hover {
  color: #ff9475;
}

.account-page .account-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin: 0 0 30px;
  padding: 0 2px 26px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  box-shadow: none;
}

.account-page .account-eyebrow {
  margin-bottom: 8px;
  color: #ff9475;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
}

.account-page .account-header h1 {
  margin: 0;
  color: #fff;
  font-family: "Fjalla One", Impact, sans-serif;
  font-size: clamp(2.7rem, 6vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: 0.01em;
}

.account-page .account-welcome {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 1rem;
}

.account-page .account-status {
  max-width: 280px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.82rem;
  line-height: 1.5;
  text-align: right;
}

.account-page .account-admin-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 148, 117, 0.55);
  color: #ff9475;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.account-page .account-admin-link:hover {
  color: #000;
  background: #ff9475;
}

.account-page .account-admin-link[hidden] {
  display: none;
}

.adminFloatingLink {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 1000002;
  padding: 11px 15px;
  border: 1px solid #ff9475;
  border-radius: 7px;
  color: #000;
  background: #ff9475;
  font-family: "Cabin", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

.adminFloatingLink:hover {
  color: #ff9475;
  background: #111;
}

.adminFloatingLink[hidden] {
  display: none;
}

.auth-link-button {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  font: inherit;
  text-decoration: underline;
}

.auth-link-button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.account-page .account-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.account-page .account-sidebar,
.account-page .account-main {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  background: #121212;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
}

.account-page .account-sidebar {
  min-height: 0;
  padding: 18px 12px 12px;
}

.account-page .account-sidebar-title {
  display: block;
  margin: 0 8px 14px;
  padding: 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
}

.account-page .account-sidebar-nav {
  display: grid;
  gap: 4px;
}

.account-page .account-sidebar-item {
  min-height: 42px;
  padding: 10px 11px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.account-page .account-sidebar-item:hover,
.account-page .account-sidebar-item.is-active {
  border-color: rgba(255, 148, 117, 0.38);
  color: #ff9475;
  background: rgba(255, 148, 117, 0.1);
}

.account-page .account-sidebar-item.is-active svg {
  color: #ff9475;
}

.account-page .account-sidebar-divider {
  height: 1px;
  margin: 16px 8px 10px;
  background: rgba(255, 255, 255, 0.1);
}

.account-page .account-sidebar-item--logout {
  margin-top: 0;
}

.account-page .account-main {
  min-height: 0;
  overflow: hidden;
}

.account-page .account-section {
  min-height: 0;
  padding: 30px 32px 34px;
}

.account-page .account-section-header {
  align-items: end;
  margin-bottom: 24px;
}

.account-page .account-section-header h2 {
  margin: 0;
  color: #fff;
  font-family: "Fjalla One", Impact, sans-serif;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  line-height: 1;
}

.account-page .account-outline-button,
.account-page .auth-submit {
  min-height: 42px;
  border-radius: 7px;
  font-size: 0.74rem;
  letter-spacing: 0.07em;
}

.account-page .account-outline-button {
  border-color: rgba(255, 148, 117, 0.5);
  background: transparent;
}

.account-page .account-outline-button:hover {
  border-color: #ff9475;
  color: #000;
  background: #ff9475;
}

.account-page .profile-summary,
.account-page .security-status {
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.025);
}

.account-page .profile-summary {
  margin-bottom: 24px;
  padding: 16px;
  border-color: rgba(255, 255, 255, 0.1);
}

.account-page .profile-avatar {
  width: 58px;
  height: 58px;
  border-radius: 9px;
  font-size: 1.7rem;
}

.account-page .dashboard-form {
  gap: 16px;
}

.account-page .auth-form label,
.account-page .form-label {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.account-page .auth-form input {
  margin-top: 2px;
  border-radius: 7px;
  border-color: rgba(255, 255, 255, 0.14);
  background: #0b0b0b;
  font-size: 0.94rem;
}

.account-page .auth-form input:focus {
  border-color: rgba(255, 148, 117, 0.7);
  outline: 2px solid rgba(255, 148, 117, 0.16);
}

.account-page .auth-submit {
  padding: 11px 17px;
}

.account-page .account-danger,
.account-page .auth-danger {
  border-radius: 7px;
 }

.account-page .dashboard-row {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}

.account-page .cart-event-item {
  display: grid;
  grid-template-columns: clamp(104px, 15vw, 154px) minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 18px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.account-page .cart-event-item:hover {
  border-color: rgba(255, 148, 117, 0.5);
  background: rgba(255, 148, 117, 0.06);
}

.account-page .cart-event-image {
  display: grid;
  min-width: 0;
  min-height: 112px;
  overflow: hidden;
  place-items: center;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.48);
  background: rgba(0, 0, 0, 0.28);
  font-family: "Fjalla One", Impact, sans-serif;
}

.account-page .cart-event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-page .cart-event-info {
  display: grid;
  min-width: 0;
  align-content: center;
  gap: 5px;
}

.account-page .cart-event-info h3,
.account-page .cart-event-info p {
  margin: 0;
}

.account-page #cartList .cart-event-info p {
  margin: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.account-page .cart-event-info h3 {
  color: #fff;
  font-family: "Fjalla One", Impact, sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 400;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.account-page .cart-event-meta {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.82rem;
}

.account-page .cart-event-ticket-list {
  display: grid;
  gap: 6px;
  margin-top: 7px;
}

.account-page .cart-event-ticket {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.82rem;
}

.account-page .cart-event-ticket span,
.account-page .cart-event-ticket strong,
.account-page .cart-event-ticket small {
  display: block;
}

.account-page .cart-event-ticket small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.76rem;
}

.account-page .cart-event-actions {
  display: grid;
  align-content: center;
  justify-items: end;
  gap: 7px;
  min-width: max-content;
}

@media (max-width: 680px) {
  .account-page .cart-event-item {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 14px;
  }

  .account-page .cart-event-image {
    min-height: 92px;
  }

  .account-page .cart-event-actions {
    grid-column: 2;
    justify-items: start;
    min-width: 0;
  }
}

@media (max-width: 430px) {
  .account-page .cart-event-item {
    grid-template-columns: 1fr;
  }

  .account-page .cart-event-image {
    min-height: 0;
    aspect-ratio: 16 / 8;
  }

  .account-page .cart-event-actions {
    grid-column: auto;
    justify-items: start;
  }
}

.account-page .section-count {
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  font-size: 0.72rem;
}

.account-page .empty-state {
  padding: 70px 20px;
}

.account-page .email-change-launcher {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 38px;
  padding: 22px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.account-page .email-change-launcher .account-status {
  max-width: none;
  margin-top: 7px;
  text-align: left;
}

.email-change-modal[hidden] {
  display: none;
}

.account-page .account-section.is-visible {
  transform: none;
}

.email-change-modal {
  position: fixed;
  inset: 0;
  z-index: 1000000;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: 20px;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(5px);
}

.email-change-modal__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(82vw, 720px);
  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(255, 148, 117, 0.25);
  border-radius: 16px;
  background: #121212;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  animation: email-change-modal-in 0.22s ease-out both;
}

.email-change-modal__content {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 54px 42px 38px;
}

.email-change-modal__close {
  position: absolute;
  top: 17px;
  right: 20px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.04);
  font: inherit;
  line-height: 1;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.email-change-modal__close:hover,
.email-change-modal__close:focus-visible {
  border-color: #ff9475;
  color: #000;
  background: #ff9475;
  transition: all 0.2s ease;
}

.email-change-steps {
  display: flex;
  gap: 10px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.email-change-steps span {
  padding-bottom: 9px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.12);
}

.email-change-steps span.is-active {
  border-color: #ff9475;
  color: #ff9475;
}

.email-change-modal .dashboard-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  max-width: none;
  min-width: 0;
  margin: 0;
}

.email-change-modal [data-email-change-request],
.email-change-modal .email-change-otp,
.email-change-modal .email-change-success {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  min-width: 0;
  gap: 18px;
}

.email-change-modal [data-email-change-request] > .account-outline-button,
.email-change-modal [data-email-change-verify] {
  min-height: 48px;
}

.email-change-modal [data-email-change-request][hidden],
.email-change-modal .email-change-otp[hidden],
.email-change-modal .email-change-success[hidden] {
  display: none;
}

.email-change-modal h3 {
  margin: 5px 0 12px;
  color: #fff;
  font-family: "Fjalla One", Impact, sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1;
}

.email-change-description {
  margin: 0 0 4px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.95rem;
  line-height: 1.55;
}

.email-change-current-email {
  display: grid;
  gap: 7px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.email-change-field-label {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.email-change-current-email strong {
  overflow-wrap: anywhere;
  color: #fff;
  font-size: 0.98rem;
  font-weight: 600;
}

.email-change-modal .auth-form input {
  box-sizing: border-box;
  width: 100%;
  min-height: 48px;
}

.email-change-modal [data-email-change-verify] {
  width: 100%;
}

.email-change-modal .email-change-otp {
  max-width: 440px;
  margin: 0 auto;
  text-align: center;
}

.email-change-modal .email-change-otp label {
  text-align: left;
}

.email-change-modal [data-email-change-resend] {
  display: block;
  align-self: center;
  margin: 0;
}

.email-change-status {
  min-height: 24px;
  margin: 20px 0 0;
}

.email-change-success {
  text-align: center;
}

.email-change-success__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  border: 1px solid rgba(184, 240, 195, 0.55);
  border-radius: 50%;
  color: #b8f0c3;
  background: rgba(184, 240, 195, 0.1);
  font-size: 2rem;
}

.email-change-success .account-outline-button {
  min-width: 120px;
}

.email-change-modal-open {
  overflow: hidden;
}

@keyframes email-change-modal-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 820px) {
  .account-page .account-layout {
    grid-template-columns: 1fr;
  }

  .account-page .account-sidebar {
    padding: 15px;
  }

  .account-page .account-sidebar-title {
    display: none;
  }

  .account-page .account-sidebar-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
  }

  .account-page .account-sidebar-item {
    justify-content: center;
  }

  .account-page .account-sidebar-divider {
    margin: 12px 0 8px;
  }

  .account-page .account-sidebar-item--logout {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .account-page .account-page-main {
    padding: 20px 14px 42px;
  }

  .account-page .account-home-link {
    margin-bottom: 24px;
  }

  .account-page .account-header {
    display: block;
    margin-bottom: 20px;
    padding-bottom: 20px;
  }

  .account-page .account-header h1 {
    font-size: 2.75rem;
  }

  .account-page .account-status {
    max-width: none;
    margin-top: 14px;
    text-align: left;
  }

  .account-page .account-sidebar-item {
    flex-direction: row;
    gap: 5px;
    min-width: 0;
    min-height: 46px;
    padding: 9px 8px;
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    text-align: left;
  }

  .account-page .account-sidebar-item svg {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
  }

  .account-page .account-sidebar-item--logout {
    flex-direction: row;
    min-height: 40px;
  }

  .account-page .account-section {
    padding: 24px 18px 28px;
  }

  .account-page .account-section-header {
    align-items: start;
    flex-direction: column;
    gap: 14px;
  }

  .account-page .form-grid {
    grid-template-columns: 1fr;
  }

  .account-page .email-change-launcher {
    align-items: flex-start;
    flex-direction: column;
  }

  .email-change-modal {
    padding: 10px;
  }

  .email-change-modal__panel {
    width: 95vw;
    border-radius: 12px;
  }

  .email-change-modal__content {
    max-width: none;
    padding: 48px 22px 28px;
  }

  .email-change-steps {
    flex-direction: column;
    gap: 7px;
    margin-bottom: 26px;
  }

  .email-change-steps span {
    padding-bottom: 6px;
  }
}

.password-input-wrapper {
  position: relative;
  display: block;
  width: 100%;
}

.password-input-wrapper input {
  padding-right: 48px;
}

.password-input-wrapper .password-toggle {
  position: absolute;
  top: 50%;
  right: 10px;
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  padding: 0;
  border: 0;
  color: rgb(0, 0, 0);
  background: transparent;
  transform: translateY(-50%);
  cursor: pointer;
  transition: color 0.2s ease;
}

.password-input-wrapper .password-toggle:hover,
.password-input-wrapper .password-toggle:focus-visible {
  color: #ff9475;
}

.password-toggle-icon {
  display: block;
  width: 18px;
  height: 18px;
  fill: currentColor;
  pointer-events: none;
}

.account-page .security-otp {
  padding: 22px;
  border: 1px solid rgba(255, 148, 117, 0.28);
  border-radius: 9px;
  background: rgba(255, 148, 117, 0.05);
}

.account-page .security-otp-heading h3 {
  margin: 0;
  color: #fff;
  font-family: "Fjalla One", Impact, sans-serif;
  font-size: 1.7rem;
  font-weight: 400;
}

.account-page .security-otp-heading p:last-child {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.88rem;
  line-height: 1.5;
}

.account-page .security-otp-heading strong {
  color: #fff;
  font-weight: 600;
}

.account-page .security-otp .auth-form {
  max-width: 380px;
  margin-top: 22px;
}

.account-page .security-otp input[name="code"] {
  font-size: 1.2rem;
  letter-spacing: 0.25em;
  text-align: center;
}

.account-page .security-otp-resend {
  margin-top: 13px;
  padding: 0;
  border: 0;
  font-size: 0.74rem;
}

.account-page .security-otp-resend:disabled {
  color: rgba(255, 255, 255, 0.4);
  cursor: not-allowed;
}

.account-page .account-result-dialog {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.68);
}

.account-page .account-result-dialog[hidden] {
  display: none;
}

.account-page .account-result-dialog__panel {
  position: relative;
  width: min(380px, 100%);
  padding: 28px;
  border: 1px solid rgba(255, 148, 117, 0.48);
  border-radius: 10px;
  background: #151515;
  text-align: center;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
}

.account-page .account-result-dialog__panel h3 {
  margin: 0;
  color: #fff;
  font-family: "Fjalla One", Impact, sans-serif;
  font-size: 1.8rem;
  font-weight: 400;
}

.account-page .account-result-dialog__panel > p:not(.account-eyebrow) {
  margin: 9px 0 22px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.5;
}

.account-page .account-result-dialog__close {
  position: absolute;
  top: 12px;
  right: 14px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.account-page .account-result-dialog__close:hover {
  color: #ff9475;
}

.account-delete-dialog {
  position: fixed;
  inset: 0;
  z-index: 1000001;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.72);
}

.account-delete-dialog[hidden] {
  display: none;
}

.account-delete-dialog__panel {
  position: relative;
  width: min(460px, 100%);
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 10px;
  background: #121212;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.48);
  animation: account-delete-dialog-in 0.2s ease-out both;
}

.account-delete-dialog__panel h3 {
  margin: 0 0 12px;
  color: #fff;
  font-family: "Fjalla One", Impact, sans-serif;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
}

.account-delete-dialog__panel > div,
.account-delete-dialog__panel form {
  display: grid;
  gap: 18px;
}

.account-delete-dialog__panel > div[hidden],
.account-delete-dialog__panel form[hidden] {
  display: none;
}

.account-delete-dialog__panel p:not(.account-eyebrow):not(.auth-message) {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.55;
}

.account-delete-dialog__warning {
  padding: 13px 14px;
  border-left: 2px solid #ff6b6b;
  color: #ffd0d0 !important;
  background: rgba(255, 107, 107, 0.08);
}

.account-delete-dialog__panel label {
  display: grid;
  gap: 7px;
  color: #ff9475;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-delete-dialog__panel input {
  box-sizing: border-box;
  width: 100%;
  min-height: 48px;
  padding: 13px 44px 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 7px;
  color: #fff;
  background: #0a0a0a;
  font: inherit;
}

.account-delete-dialog__panel input:focus {
  border-color: #ff9475;
  outline: 2px solid rgba(255, 148, 117, 0.2);
}

.account-delete-dialog__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.account-delete-dialog__actions .auth-submit,
.account-delete-dialog__actions .auth-danger {
  width: auto;
  min-height: 44px;
  margin: 0;
  padding: 11px 17px;
}

.account-delete-dialog__actions .auth-danger {
  border-color: #ff6b6b;
  color: #fff;
  background: #b83232;
}

.account-delete-dialog__actions .auth-danger:hover,
.account-delete-dialog__actions .auth-danger:disabled {
  color: #fff;
  background: #e14c4c;
}

.account-delete-dialog__message {
  min-height: 22px;
  margin: 0;
}

.account-delete-dialog__close {
  position: absolute;
  top: 12px;
  right: 14px;
  padding: 0;
  border: 0;
  color: rgba(255, 255, 255, 0.58);
  background: transparent;
  font: inherit;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.account-delete-dialog__close:hover,
.account-delete-dialog__close:focus-visible {
  color: #ff9475;
}

.account-delete-modal-open {
  overflow: hidden;
}

@keyframes account-delete-dialog-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 480px) {
  .account-delete-dialog {
    padding: 14px;
  }

  .account-delete-dialog__panel {
    padding: 28px 20px 22px;
  }

  .account-delete-dialog__actions {
    flex-direction: column-reverse;
  }

  .account-delete-dialog__actions .auth-submit,
  .account-delete-dialog__actions .auth-danger,
  .account-delete-dialog__actions .account-text-button {
    width: 100%;
  }
}

.event-cart-toggle {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1000001;
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid #ff9475;
  border-radius: 50%;
  color: #ff9475;
  background: #111;
  cursor: pointer;
}

.event-cart-toggle svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}
.event-cart-toggle span {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  padding: 2px 5px;
  border-radius: 99px;
  color: #000;
  background: #ff9475;
  font-size: 0.68rem;
}
.event-cart-panel {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 1000000;
  display: flex;
  width: min(40vw, 560px);
  flex-direction: column;
  padding: 28px;
  border-left: 1px solid rgba(255, 148, 117, 0.4);
  color: #fff;
  background: #121212;
  box-shadow: -12px 0 36px rgba(0, 0, 0, 0.3);
  transform: translateX(100%);
  transition: transform 0.22s ease;
  font-family: "Cabin", sans-serif;
}
.event-cart-panel.is-open {
  transform: translateX(0);
}
.event-cart-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.event-cart-panel-head h2 {
  color: #ff9475;
  font-family: "Fjalla One", Impact, sans-serif;
  font-weight: 400;
}
.event-cart-panel-head button {
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}
.event-cart-summary {
  margin: 8px 0 18px;
  color: rgba(255, 255, 255, 0.6);
}
.event-cart-list {
  display: grid;
  gap: 10px;
  overflow: auto;
}
.event-cart-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.event-cart-row img {
  width: 96px;
  height: 78px;
  object-fit: cover;
  border-radius: 6px;
}
.event-cart-row strong,
.event-cart-row span {
  display: block;
}
.event-cart-row span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
}
.event-cart-tickets {
  grid-column: 3;
  width: max-content;
  min-width: 116px;
  padding: 11px 16px;
  border: 1px solid #ff9475;
  color: #ff9475;
  font-family: "Cabin", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
}
.event-cart-go {
  margin-top: auto;
  padding: 13px;
  color: #000;
  background: #ff9475;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}
.event-cart-empty {
  color: rgba(255, 255, 255, 0.55);
}
.dashboard-event-cart {
  display: grid;
  gap: 10px;
}

.addEventToCartBtn,
.event-cart-remove {
  border: 1px solid #ff9475;
  color: #ff9475;
  background: transparent;
  font-family: "Cabin", sans-serif;
  font-size: 0.72rem;
  text-transform: uppercase;
  cursor: pointer;
  width: fit-content;
  align-self: center;
}
.addEventToCartBtn {
  padding: 10px 13px;
  font-size: 1.1rem;
  text-decoration: underline;
}

.addEventToCartBtn:hover,
.addEventToCartBtn:disabled,
.event-cart-remove:hover,
.event-cart-remove:disabled {
  color: #000;
  background: #ff9475;
}

.addEventToCartBtn.is-added {
  color: #000;
  background: #ff9475;
}

.event-cart-remove {
  grid-column: 3;
  justify-self: end;
  padding: 10px 14px;
  border-color: rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.68rem;
}

@media (max-width: 560px) {
  .event-cart-panel {
    width: min(92vw, 420px);
    padding: 22px;
  }
  .event-cart-row {
    grid-template-columns: 82px minmax(0, 1fr);
  }
  .event-cart-row img {
    width: 82px;
    height: 70px;
  }
  .event-cart-tickets,
  .event-cart-remove {
    grid-column: 2;
    justify-self: start;
  }
  .event-cart-toggle {
    right: 14px;
    bottom: 14px;
  }
}

@media (max-width: 560px) {
  .account-page .security-otp {
    padding: 18px;
  }
}

/* Global cart aside only. The dashboard cart deliberately keeps its own layout. */
#eventCartPanel {
  height: 100dvh;
  padding: 0;
  border-left-color: rgba(255, 148, 117, 0.4);
  color: #fff;
  background: #121212;
  box-shadow: -12px 0 36px rgba(0, 0, 0, 0.24);
}

#eventCartPanel .event-cart-panel-head,
#eventCartPanel .event-cart-summary {
  position: relative;
}

#eventCartPanel .event-cart-panel-head::after,
#eventCartPanel .event-cart-summary::after,
#eventCartPanel .event-cart-go::before {
  position: absolute;
  right: 28px;
  left: 28px;
  height: 1px;
  content: "";
  background: rgba(255, 255, 255, 0.24);
}

#eventCartPanel .event-cart-panel-head {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 108px;
  padding: 26px 28px;
}

#eventCartPanel .event-cart-panel-head::after,
#eventCartPanel .event-cart-summary::after {
  bottom: 0;
}

#eventCartPanel .event-cart-panel-head h2 {
  margin: 0;
  color: #ff9475;
  font-family: "Fjalla One", Impact, sans-serif;
  font-size: clamp(2rem, 3vw, 2.65rem);
  font-weight: 400;
}

#eventCartPanel .event-cart-panel-head button {
  width: auto;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #fff;
  background: transparent;
  font:
    700 2.35rem/0.8 Arial,
    sans-serif;
}

#eventCartPanel .event-cart-panel-head button:hover,
#eventCartPanel .event-cart-panel-head button:focus-visible {
  color: #ff9475;
  outline: none;
}

#eventCartPanel .event-cart-summary {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  min-height: 78px;
  margin: 0;
  padding: 24px 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0;
  font-weight: 500;
}

#eventCartPanel .event-cart-summary span {
  margin: 0;
  color: #ff9475;
}

#eventCartPanel .event-cart-summary > span:first-child {
  order: 1;
  font-size: 1.3rem;
  font-weight: 800;
}

#eventCartPanel .event-cart-summary > span:first-child::after {
  margin: 0 10px;
  content: "·";
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
}

#eventCartPanel .event-cart-summary::before {
  order: 3;
  content: "quantity";
  font-size: 1.05rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
}

#eventCartPanel .event-cart-list {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: stretch;
  min-height: 0;
  margin: 0;
  padding: 14px 28px 0;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 148, 117, 0.7) transparent;
}

#eventCartPanel .event-cart-list::-webkit-scrollbar {
  width: 6px;
}

#eventCartPanel .event-cart-list::-webkit-scrollbar-thumb {
  background: rgba(255, 148, 117, 0.7);
}

#eventCartPanel .event-cart-row {
  display: grid;
  flex: 0 0 246px;
  box-sizing: border-box;
  height: 246px;
  max-height: 246px;
  grid-template-areas:
    "image info"
    "image tickets"
    "image remove";
  grid-template-columns: 35% minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) 46px 46px;
  gap: 8px 5%;
  align-items: stretch;
  min-height: 246px;
  padding: 22px 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

#eventCartPanel .event-cart-row img {
  grid-area: image;
  width: 100%;
  height: auto;
  min-height: 0;
  align-self: stretch;
  border-radius: 0;
  object-fit: cover;
}

#eventCartPanel .event-cart-row > div {
  grid-area: info;
  min-width: 0;
  min-height: 0;
  padding: 2px 0 0;
  overflow: hidden;
}

#eventCartPanel .event-cart-row strong {
  display: -webkit-box;
  color: #fff;
  font-family: "Fjalla One", Impact, sans-serif;
  font-size: clamp(1.25rem, 2.1vw, 1.65rem);
  font-weight: 400;
  line-height: 1.12;
  -webkit-box-orient: vertical;
   overflow: hidden;
  overflow-wrap: anywhere;
}

#eventCartPanel .event-cart-row span {
  display: block;
  margin-top: 7px;
  min-height: 1.2em;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#eventCartPanel .event-cart-tickets,
#eventCartPanel .event-cart-remove {
  grid-column: auto;
  justify-self: stretch;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  height: 46px;
  min-height: 46px;
  padding: 10px 12px;
  border-radius: 0;
  font-family: "Cabin", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

#eventCartPanel .event-cart-tickets {
  grid-area: tickets;
  border: 1px solid #ff9475;
  color: #000;
  background: #ff9475;
}

#eventCartPanel .event-cart-tickets:hover,
#eventCartPanel .event-cart-tickets:focus-visible {
  border-color: #fff;
  color: #000;
  background: #fff;
  outline: none;
}

#eventCartPanel .event-cart-remove {
  grid-area: remove;
  border: 1px solid rgba(255, 255, 255, 0.62);
  color: #fff;
  background: transparent;
}

#eventCartPanel .event-cart-remove:hover,
#eventCartPanel .event-cart-remove:focus-visible {
  border-color: #ff9475;
  color: #000;
  background: #ff9475;
  outline: none;
}

#eventCartPanel .event-cart-empty {
  margin: 30px 0;
  color: rgba(255, 255, 255, 0.62);
  text-align: center;
}

#eventCartPanel .event-cart-go {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: calc(100% - 56px);
  margin: 52px 28px 30px;
  padding: 17px 14px;
  border-radius: 0;
  color: #000;
  background: #ff9475;
  font-family: "Cabin", sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0;
  text-align: center;
  text-transform: none;
}

#eventCartPanel .event-cart-go::before {
  top: -27px;
  right: 0;
  left: 0;
}

#eventCartPanel .event-cart-go:hover,
#eventCartPanel .event-cart-go:focus-visible {
  color: #000;
  background: #fff;
  outline: none;
}

@media (max-width: 560px) {
  #eventCartPanel {
    width: min(92vw, 420px);
  }

  #eventCartPanel .event-cart-panel-head,
  #eventCartPanel .event-cart-summary {
    padding-right: 20px;
    padding-left: 20px;
  }

  #eventCartPanel .event-cart-panel-head::after,
  #eventCartPanel .event-cart-summary::after {
    right: 20px;
    left: 20px;
  }

  #eventCartPanel .event-cart-panel-head {
    min-height: 88px;
    padding-top: 21px;
    padding-bottom: 21px;
  }

  #eventCartPanel .event-cart-list {
    padding: 12px 20px 0;
  }

  #eventCartPanel .event-cart-row {
    flex-basis: 220px;
    height: 220px;
    max-height: 220px;
    grid-template-columns: 35% minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) 42px 42px;
    gap: 8px 5%;
    min-height: 220px;
    padding: 18px 0;
  }

  #eventCartPanel .event-cart-row img {
    min-height: 0;
  }

  #eventCartPanel .event-cart-row strong {
    font-size: 1.18rem;
  }

  #eventCartPanel .event-cart-row span {
    margin-top: 6px;
    font-size: 0.82rem;
  }

  #eventCartPanel .event-cart-tickets,
  #eventCartPanel .event-cart-remove {
    height: 42px;
    min-height: 42px;
    font-size: 0.76rem;
  }

  #eventCartPanel .event-cart-go {
    width: calc(100% - 40px);
    margin: 46px 20px 24px;
  }
}
