/* Account / auth — Germination Desk theme */

.a30-store .auth-page {
  padding: 2.75rem 0 4rem;
  background:
    linear-gradient(180deg, rgba(67, 56, 202, 0.04) 0%, transparent 280px),
    var(--a30-cream);
}
.a30-store .auth-page > .container {
  max-width: 980px;
}

/* Logged-out: split sign-in / register gate */
.a30-store .auth-split-gate {
  background: var(--a30-white);
  border-radius: 22px;
  border: 1px solid var(--a30-border);
  box-shadow: var(--a30-shadow);
  overflow: hidden;
}

.a30-store .auth-split-tabs {
  position: relative;
  display: flex;
  background: var(--a30-indigo-dark);
}
.a30-store .auth-split-tab {
  flex: 1;
  padding: 1rem 1.25rem;
  border: 0;
  background: transparent;
  color: rgba(224, 231, 255, 0.55);
  font-family: var(--a30-font-body);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.35s ease;
  z-index: 1;
}
.a30-store .auth-split-tab:hover {
  color: rgba(255, 255, 255, 0.9);
}
.a30-store .auth-split-tab.is-active {
  color: var(--a30-wheat);
}
.a30-store .auth-tab-indicator {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--a30-wheat);
  border-radius: 3px 3px 0 0;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.a30-store .auth-split-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
}

.a30-store .auth-split-panel {
  padding: 2.25rem 2rem;
  transition:
    opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    background 0.45s ease,
    box-shadow 0.45s ease;
  opacity: 0.55;
  transform: scale(0.98);
}
.a30-store .auth-panel-signin {
  border-right: 1px solid var(--a30-border);
}
.a30-store .auth-panel-register {
  background: #F5F0E8;
}
.a30-store .auth-split-panel.is-focused {
  opacity: 1;
  transform: scale(1);
  background: var(--a30-white);
  box-shadow: inset 0 0 0 2px rgba(212, 168, 83, 0.35);
  z-index: 1;
}
.a30-store .auth-split-gate[data-active="signin"] .auth-panel-signin.is-focused {
  animation: a30AuthPanelInLeft 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.a30-store .auth-split-gate[data-active="register"] .auth-panel-register.is-focused {
  animation: a30AuthPanelInRight 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes a30AuthPanelInLeft {
  from { opacity: 0.4; transform: translateX(-12px) scale(0.97); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes a30AuthPanelInRight {
  from { opacity: 0.4; transform: translateX(12px) scale(0.97); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

.a30-store .auth-split-panel h2 {
  font-family: var(--a30-font-display);
  font-size: 1.55rem;
  margin: 0 0 0.5rem;
  color: var(--a30-indigo-dark);
}
.a30-store .auth-split-panel .lead {
  color: var(--a30-slate);
  margin: 0 0 1.75rem;
  font-size: 0.92rem;
  max-width: 42ch;
  line-height: 1.55;
}

.a30-store .auth-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 100%;
}
.a30-store .auth-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--a30-indigo-dark);
}
.a30-store .auth-form input {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--a30-border);
  border-radius: 12px;
  font: inherit;
  background: var(--a30-white);
  color: var(--a30-ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.a30-store .auth-form input:focus {
  outline: none;
  border-color: var(--a30-indigo);
  box-shadow: 0 0 0 3px rgba(67, 56, 202, 0.12);
}
.a30-store .form-subhead {
  font-family: var(--a30-font-display);
  font-size: 1.1rem;
  margin: 0 0 0.25rem;
  color: var(--a30-indigo-dark);
}
.a30-store .auth-forgot-block {
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px dashed var(--a30-border);
}
.a30-store .reset-password-form {
  margin-top: 1rem;
}

/* Logged-in dashboard */
.a30-store .auth-dash-layout {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 0;
  background: var(--a30-white);
  border-radius: 22px;
  border: 1px solid var(--a30-border);
  box-shadow: var(--a30-shadow);
  overflow: hidden;
  min-height: 480px;
}
.a30-store .auth-dash-sidebar {
  background: linear-gradient(180deg, var(--a30-indigo-dark) 0%, #3730A3 100%);
  color: #E0E7FF;
  padding: 2rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.a30-store .auth-dash-sidebar .eyebrow {
  color: var(--a30-wheat-light);
  margin-bottom: 0.75rem;
}
.a30-store .auth-dash-sidebar h2 {
  font-family: var(--a30-font-display);
  font-size: 1.35rem;
  margin: 0 0 1.25rem;
  color: #fff;
}
.a30-store .dash-nav-link {
  display: block;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(224, 231, 255, 0.78);
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
}
.a30-store .dash-nav-link:hover,
.a30-store .dash-nav-link.is-active {
  background: rgba(212, 168, 83, 0.18);
  color: var(--a30-wheat);
  text-decoration: none;
}
.a30-store .auth-dash-main {
  padding: 2rem 2.25rem;
  text-align: left;
}
.a30-store .auth-dash-actions {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}
.a30-store #profileVerifyNotice:not(:empty) {
  margin-bottom: 1.25rem;
}
.a30-store .profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.75rem;
  text-align: left;
}
.a30-store .profile-item {
  padding: 1rem;
  background: #F5F0E8;
  border-radius: 12px;
  border: 1px solid var(--a30-border);
}
.a30-store .profile-item .k {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--a30-slate);
  margin-bottom: 0.35rem;
}
.a30-store .profile-item .v {
  display: block;
  font-weight: 600;
  color: var(--a30-ink);
  word-break: break-word;
  line-height: 1.4;
}
.a30-store .profile-item .v.mono {
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 0.82rem;
  font-weight: 500;
}

.a30-store .toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  max-width: 360px;
  padding: 0.85rem 1.1rem;
  background: var(--a30-indigo-dark);
  color: #fff;
  border-radius: 12px;
  font-size: 0.88rem;
  box-shadow: var(--a30-shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 100;
}
.a30-store .toast.is-visible {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 720px) {
  .a30-store .auth-split-panels {
    grid-template-columns: 1fr;
  }
  .a30-store .auth-panel-signin {
    border-right: 0;
    border-bottom: 1px solid var(--a30-border);
  }
  .a30-store .auth-split-panel {
    padding: 1.75rem 1.25rem;
  }
  .a30-store .auth-split-panel:not(.is-focused) {
    display: none;
  }
  .a30-store .auth-dash-layout {
    grid-template-columns: 1fr;
  }
  .a30-store .auth-dash-sidebar {
    flex-direction: row;
    flex-wrap: wrap;
    padding: 1.25rem 1rem;
    gap: 0.5rem;
  }
  .a30-store .auth-dash-sidebar h2 {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  .a30-store .auth-dash-main {
    padding: 1.5rem 1.25rem;
  }
  .a30-store .auth-dash-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .a30-store .auth-dash-actions .btn {
    width: 100%;
    text-align: center;
  }
  .a30-store .profile-grid {
    grid-template-columns: 1fr;
  }
  .a30-store .toast {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    max-width: none;
  }
}
