/* ═══════════════════════════════════════════
   Account Pages — WV Claude Theme
   ═══════════════════════════════════════════ */

/* ── Layout ── */

.wv-account {
  display: flex;
  gap: 40px;
  max-width: var(--wv-container-max);
  margin: 0 auto;
  padding: 40px var(--wv-header-padding);
  min-height: 60vh;
}

.wv-account__main {
  flex: 1;
  min-width: 0;
}

/* ═══════════════════════════════════════════
   Sidebar
   ═══════════════════════════════════════════ */

.wv-account-sidebar {
  width: 250px;
  flex-shrink: 0;
  position: sticky;
  top: calc(var(--wv-header-height) + 20px);
  align-self: flex-start;
}

/* ── User Info ── */

.wv-account-sidebar__user {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--wv-color-border);
}

.wv-account-sidebar__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.wv-account-sidebar__name {
  display: block;
  font-family: var(--wv-font-primary);
  font-weight: var(--wv-weight-bold);
  font-size: var(--wv-text-base);
  color: var(--wv-color-text-primary);
}

.wv-account-sidebar__loyalty {
  display: block;
  font-family: var(--wv-font-mono);
  font-size: var(--wv-text-label);
  color: var(--wv-color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── Navigation ── */

.wv-account-nav {
  margin-bottom: 32px;
}

.wv-account-nav__section {
  margin-bottom: 24px;
}

.wv-account-nav__heading {
  font-family: var(--wv-font-primary);
  font-weight: var(--wv-weight-bold);
  font-size: var(--wv-text-sm);
  color: var(--wv-color-text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 8px;
}

.wv-account-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wv-account-nav__list li {
  margin-bottom: 4px;
}

.wv-account-nav__link {
  display: inline-block;
  font-family: var(--wv-font-primary);
  font-weight: var(--wv-weight-regular);
  font-size: var(--wv-text-sm);
  color: var(--wv-color-text-secondary);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 4px 0;
  transition: color var(--wv-transition-fast);
}

.wv-account-nav__link:hover {
  color: var(--wv-color-text-primary);
}

.wv-account-nav__link--active {
  color: var(--wv-color-text-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.wv-account-nav__arrow {
  margin-left: 4px;
}

/* ── Logout ── */

.wv-account-nav__logout {
  display: inline-block;
  font-family: var(--wv-font-primary);
  font-weight: var(--wv-weight-regular);
  font-size: var(--wv-text-sm);
  color: var(--wv-color-text-secondary);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 8px 0;
  transition: color var(--wv-transition-fast);
}

.wv-account-nav__logout:hover {
  color: var(--wv-color-text-primary);
}

/* ── Quiz CTA Card ── */

.wv-account-quiz {
  display: block;
  background: var(--wv-color-surface);
  border-radius: var(--wv-radius-sm);
  padding: 20px;
  text-decoration: none;
  color: var(--wv-color-text-primary);
  margin-bottom: 20px;
  transition: opacity var(--wv-transition-base);
}

.wv-account-quiz:hover {
  opacity: 0.9;
}

.wv-account-quiz__heading {
  font-family: var(--wv-font-primary);
  font-weight: var(--wv-weight-bold);
  font-size: var(--wv-text-base);
  margin: 0 0 4px;
}

.wv-account-quiz__body {
  font-family: var(--wv-font-primary);
  font-size: var(--wv-text-sm);
  color: var(--wv-color-text-secondary);
  margin: 0 0 12px;
}

.wv-account-quiz__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--wv-font-mono);
  font-size: var(--wv-text-label);
  font-weight: var(--wv-weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--wv-color-accent);
}

.wv-account-quiz__cta svg {
  width: 18px;
  height: 11px;
}


/* ═══════════════════════════════════════════
   Dashboard — Welcome
   ═══════════════════════════════════════════ */

.wv-account-welcome {
  margin-bottom: 40px;
}

.wv-account-welcome__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

.wv-account-welcome__title {
  font-family: var(--wv-font-primary);
  font-weight: 300;
  font-size: 36px;
  color: var(--wv-color-text-primary);
  margin: 0;
  line-height: 1.2;
}

.wv-account-welcome__since {
  font-family: var(--wv-font-mono);
  font-size: var(--wv-text-label);
  color: var(--wv-color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.wv-account-welcome__body {
  font-family: var(--wv-font-primary);
  font-size: var(--wv-text-base);
  color: var(--wv-color-text-secondary);
  line-height: 1.6;
  margin: 0;
  max-width: 680px;
}


/* ═══════════════════════════════════════════
   Dashboard — Product Recommendations
   ═══════════════════════════════════════════ */

.wv-account-recs {
  margin-bottom: 48px;
}

.wv-account-recs__title {
  font-family: var(--wv-font-primary);
  font-weight: var(--wv-weight-semibold);
  font-size: var(--wv-text-lg);
  color: var(--wv-color-text-primary);
  margin: 0 0 20px;
}

.wv-account-recs__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.wv-account-rec-card {
  display: flex;
  flex-direction: column;
  background: var(--wv-color-card-bg);
  border-radius: var(--wv-radius-sm);
  overflow: hidden;
  text-decoration: none;
  color: var(--wv-color-text-primary);
  transition: box-shadow var(--wv-transition-base);
}

.wv-account-rec-card:hover {
  box-shadow: var(--wv-shadow-dropdown);
}

.wv-account-rec-card__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.wv-account-rec-card__info {
  padding: 16px;
}

.wv-account-rec-card__name {
  display: block;
  font-family: var(--wv-font-primary);
  font-weight: var(--wv-weight-semibold);
  font-size: var(--wv-text-base);
  margin-bottom: 4px;
}

.wv-account-rec-card__price {
  font-family: var(--wv-font-mono);
  font-size: var(--wv-text-sm);
  color: var(--wv-color-text-secondary);
}


/* ═══════════════════════════════════════════
   Dashboard — Subscriptions
   ═══════════════════════════════════════════ */

.wv-account-subs {
  margin-bottom: 48px;
}

/* Tabs */

.wv-account-subs__tabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--wv-color-border);
  margin-bottom: 24px;
}

.wv-account-subs__tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 8px 0;
  cursor: pointer;
  font-family: var(--wv-font-primary);
  font-weight: var(--wv-weight-semibold);
  font-size: var(--wv-text-base);
  color: var(--wv-color-text-secondary);
  transition: color var(--wv-transition-fast), border-color var(--wv-transition-fast);
}

.wv-account-subs__tab:hover {
  color: var(--wv-color-text-primary);
}

.wv-account-subs__tab--active {
  color: var(--wv-color-text-primary);
  border-bottom-color: var(--wv-color-text-primary);
}

/* Subscription Groups */

.wv-account-sub-group {
  margin-bottom: 28px;
}

.wv-account-sub-group__header {
  background: var(--wv-color-surface);
  padding: 12px 20px;
  border-radius: 8px 8px 0 0;
  font-family: var(--wv-font-primary);
  font-weight: var(--wv-weight-bold);
  font-size: var(--wv-text-base);
  color: var(--wv-color-text-primary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Subscription Table */

.wv-account-sub-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--wv-color-border);
  border-top: none;
}

.wv-account-sub-table thead th {
  font-family: var(--wv-font-mono);
  font-weight: var(--wv-weight-medium);
  font-size: var(--wv-text-label);
  color: var(--wv-color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: left;
  padding: 10px 16px;
  background: rgba(221, 222, 199, 0.3);
  border-bottom: 1px solid var(--wv-color-border);
}

.wv-account-sub-table tbody td {
  font-family: var(--wv-font-primary);
  font-size: var(--wv-text-sm);
  color: var(--wv-color-text-primary);
  padding: 14px 16px;
  border-bottom: 1px solid var(--wv-color-border);
  vertical-align: middle;
}

.wv-account-sub-table tbody tr:last-child td {
  border-bottom: none;
}

.wv-account-sub-table__products {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.wv-account-sub-table__thumb {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 4px;
  background: var(--wv-color-background);
}

.wv-account-sub-table__order {
  font-family: var(--wv-font-mono);
  font-size: var(--wv-text-sm);
}

/* VIEW Button */

.wv-btn-view {
  display: inline-block;
  background: var(--wv-color-accent);
  color: #fff;
  font-family: var(--wv-font-primary);
  font-weight: var(--wv-weight-semibold);
  font-size: var(--wv-text-label);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  padding: 6px 16px;
  border-radius: var(--wv-radius-pill);
  transition: opacity var(--wv-transition-fast);
}

.wv-btn-view:hover {
  opacity: 0.85;
}

/* Empty state */

.wv-account-subs__empty {
  font-family: var(--wv-font-primary);
  font-size: var(--wv-text-base);
  color: var(--wv-color-text-secondary);
  padding: 24px 0;
}


/* ═══════════════════════════════════════════
   Responsive — Account Pages
   ═══════════════════════════════════════════ */

@media (max-width: 768px) {

  .wv-account {
    flex-direction: column;
    padding: 24px 20px;
    gap: 24px;
  }

  .wv-account-sidebar {
    width: 100%;
    position: static;
  }

  .wv-account-welcome__header {
    flex-direction: column;
    gap: 4px;
  }

  .wv-account-welcome__title {
    font-size: 28px;
  }

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

  .wv-account-sub-table {
    font-size: var(--wv-text-sm);
  }

  /* Horizontal scroll for table on small screens */
  .wv-account-sub-group {
    overflow-x: auto;
  }

  .wv-account-sub-table {
    min-width: 500px;
  }
}


/* ═══════════════════════════════════════════
   Auth Forms — Login, Register, Forgot Password
   ═══════════════════════════════════════════ */

.wv-auth {
  display: flex;
  justify-content: center;
  padding: 60px 80px;
  min-height: 60vh;
  background: var(--wv-color-background);
}

/* ── Account Section Title ── */
.wv-account-section__title {
  font-family: var(--wv-font-primary);
  font-weight: 300;
  font-size: 32px;
  color: var(--wv-color-text-primary);
  margin: 0 0 24px;
}

.wv-account-empty {
  font-family: var(--wv-font-primary);
  font-size: 16px;
  color: var(--wv-color-text-secondary);
}

/* ── Account Tables (shared for orders, subscriptions) ── */
.wv-account-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid rgba(42, 43, 20, 0.15);
}


.wv-account-table thead th {
  background: #DDDEC7;
  font-family: var(--wv-font-mono);
  font-weight: var(--wv-weight-regular);
  font-size: 11px;
  letter-spacing: 0.3px;
  color: var(--wv-color-text-primary);
  text-transform: uppercase;
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(42, 43, 20, 0.15);
}

.wv-account-table tbody td {
  font-family: var(--wv-font-primary);
  font-size: 14px;
  color: var(--wv-color-text-primary);
  padding: 16px;
  border-bottom: 1px solid rgba(42, 43, 20, 0.1);
  background: #ffffff;
  vertical-align: middle;
}

.wv-account-table tbody tr:last-child td {
  border-bottom: 0;
}

.wv-account-table__order {
  font-weight: 600;
  white-space: nowrap;
}

.wv-account-table__date,
.wv-account-table__status,
.wv-account-table__items {
  white-space: nowrap;
}

.wv-account-table__total {
  font-weight: 600;
  white-space: nowrap;
}

.wv-account-table__action {
  text-align: right;
  white-space: nowrap;
}

.wv-account-table__view {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 24px;
  min-width: 120px;
  background: var(--wv-color-accent);
  color: #ffffff;
  font-family: var(--wv-font-primary);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  border: 0;
  border-radius: var(--wv-radius-pill);
  cursor: pointer;
  transition: background var(--wv-transition-base);
}

.wv-account-table__view:hover {
  background: var(--wv-color-text-primary);
  color: #ffffff;
}

/* ── Pagination ── */
.wv-account-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 24px 0;
}

.wv-account-pagination__btn {
  font-family: var(--wv-font-primary);
  font-size: 14px;
  font-weight: 600;
  color: var(--wv-color-text-primary);
  text-decoration: none;
  transition: color var(--wv-transition-base);
}

.wv-account-pagination__btn:hover {
  color: var(--wv-color-text-link-hover);
}

.wv-account-pagination__info {
  font-family: var(--wv-font-mono);
  font-size: 12px;
  color: var(--wv-color-text-secondary);
  text-transform: uppercase;
}

/* Responsive table */
@media (max-width: 767px) {
  .wv-account-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* ── Easy Reorder ── */
.wv-account-table__product a {
  font-weight: 600;
  color: var(--wv-color-text-primary);
  text-decoration: none;
}

.wv-account-table__product a:hover {
  color: var(--wv-color-text-link-hover);
  text-decoration: underline;
}

.wv-account-table__muted {
  color: var(--wv-color-text-secondary);
  font-size: 13px;
}


.wv-account-table__view--disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.wv-reorder-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(42, 43, 20, 0.2);
  border-radius: var(--wv-radius-pill);
  overflow: hidden;
}

.wv-reorder-qty__btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  font-size: 16px;
  color: var(--wv-color-text-primary);
  cursor: pointer;
}

.wv-reorder-qty__btn:hover {
  background: rgba(42, 43, 20, 0.05);
}

.wv-reorder-qty__btn:disabled {
  opacity: 0.3;
  cursor: default;
}

.wv-reorder-qty__val {
  min-width: 24px;
  text-align: center;
  font-family: var(--wv-font-primary);
  font-size: 14px;
  font-weight: 600;
  color: var(--wv-color-text-primary);
}

.wv-account-table__qty-cell {
  white-space: nowrap;
}

/* Back In Stock notification */
/* Discontinued note — inherits font-size from td (14px), matching out-of-stock */
.wv-reorder__dc-note {
  color: var(--wv-color-text-secondary);
  line-height: 1.5;
}

.wv-reorder__dc-note a {
  color: var(--wv-color-text-link-hover);
  text-decoration: underline;
  font-weight: 500;
  font-size: 12px;
}

.wv-reorder__bis-wrap {
  color: var(--wv-color-text-secondary);
}

.wv-reorder-bis-btn {
  background: none;
  border: none;
  padding: 0;
  color: var(--wv-color-text-link-hover);
  text-decoration: underline;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  display: inline;
  font-family: inherit;
}

.wv-reorder-bis-btn:hover {
  color: var(--wv-color-primary);
}

.wv-reorder__bis-confirm {
  display: none;
  color: var(--wv-color-accent);
  font-size: 12px;
}

/* ── Back In Stock Notifications — restyle plugin tables ── */
.wc-bis-active-notifications-table,
.wc-bis-pending-notifications-table,
.wc-bis-notifications-activity-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid rgba(42, 43, 20, 0.15);
}

.wc-bis-active-notifications-table thead th,
.wc-bis-pending-notifications-table thead th,
.wc-bis-notifications-activity-table thead th {
  background: #DDDEC7;
  font-family: var(--wv-font-mono);
  font-weight: var(--wv-weight-regular);
  font-size: 11px;
  letter-spacing: 0.3px;
  color: var(--wv-color-text-primary);
  text-transform: uppercase;
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(42, 43, 20, 0.15);
}

.wc-bis-active-notifications-table tbody td,
.wc-bis-pending-notifications-table tbody td,
.wc-bis-notifications-activity-table tbody td {
  font-family: var(--wv-font-primary);
  font-size: 14px;
  color: var(--wv-color-text-primary);
  padding: 16px;
  border-bottom: 1px solid rgba(42, 43, 20, 0.1);
  background: #ffffff;
  vertical-align: middle;
}

.wc-bis-active-notifications-table tbody tr:last-child td,
.wc-bis-pending-notifications-table tbody tr:last-child td,
.wc-bis-notifications-activity-table tbody tr:last-child td {
  border-bottom: 0;
}

/* Action buttons — Deactivate, Cancel, Resend */
.woocommerce-orders-table__cell-notification-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 24px;
  min-width: 120px;
  background: var(--wv-color-accent);
  color: #ffffff !important;
  font-family: var(--wv-font-primary);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--wv-radius-pill);
  transition: background var(--wv-transition-base);
  margin: 2px 4px 2px 0;
}

.woocommerce-orders-table__cell-notification-actions a:hover {
  background: var(--wv-color-text-primary);
  color: #ffffff !important;
}

/* Product links */
.woocommerce-backinstock-table__cell__product a {
  font-weight: 600;
  color: var(--wv-color-text-primary);
  text-decoration: none;
}

.woocommerce-backinstock-table__cell__product a:hover {
  color: var(--wv-color-text-link-hover);
}

.woocommerce-backinstock-table__cell__product .description {
  display: block;
  font-size: 12px;
  color: var(--wv-color-text-secondary);
  margin-top: 4px;
}

/* Section headings */
.wv-account__main .wc-bis-active-notifications-table ~ h2,
.wv-account__main h2 {
  font-family: var(--wv-font-primary);
  font-weight: 300;
  font-size: 24px;
  color: var(--wv-color-text-primary);
  margin: 32px 0 16px;
}

.wv-account__main h2:first-child {
  margin-top: 0;
}

/* Pagination */
.wv-account__main .woocommerce-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px 0;
}

.wv-account__main .woocommerce-pagination a {
  font-family: var(--wv-font-primary);
  font-size: 14px;
  font-weight: 600;
  color: var(--wv-color-text-primary);
  text-decoration: none;
}

.wv-account__main .woocommerce-pagination a:hover {
  color: var(--wv-color-text-link-hover);
}

/* ── Coming Soon Placeholder ── */
.wv-account-coming-soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 40vh;
  text-align: center;
}

.wv-account-coming-soon__title {
  font-family: var(--wv-font-primary);
  font-weight: 300;
  font-size: 32px;
  color: var(--wv-color-text-primary);
  margin: 0 0 12px;
  text-transform: uppercase;
}

.wv-account-coming-soon__text {
  font-family: var(--wv-font-primary);
  font-size: 16px;
  color: var(--wv-color-text-secondary);
  margin: 0;
}

.wv-auth__form {
  width: 100%;
  max-width: 400px;
  text-align: center;
}

.wv-auth__heading {
  font-family: var(--wv-font-primary);
  font-weight: 300;
  font-size: 40px;
  color: var(--wv-color-text-primary);
  margin: 0 0 32px;
}

.wv-auth__field {
  margin-bottom: 16px;
}

.wv-auth__field input {
  width: 100%;
  height: 48px;
  padding: 0 20px;
  border: 1px solid rgba(42, 43, 20, 0.3);
  border-radius: 25px;
  background: #ffffff;
  font-family: var(--wv-font-mono);
  font-size: 13px;
  letter-spacing: 0.5px;
  color: var(--wv-color-text-primary);
  text-transform: uppercase;
  box-sizing: border-box;
}

.wv-auth__field input::placeholder {
  color: var(--wv-color-text-primary);
  opacity: 0.7;
}

.wv-auth__field input:focus {
  outline: 2px solid var(--wv-color-accent);
  border-color: transparent;
}

.wv-auth__btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  height: 44px;
  padding: 0 32px;
  background: var(--wv-color-text-primary);
  color: var(--wv-color-text-inverse);
  font-family: var(--wv-font-primary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: 0;
  border-radius: var(--wv-radius-pill);
  cursor: pointer;
  transition: background var(--wv-transition-base);
  margin: 8px 0;
}

.wv-auth__btn-primary:hover {
  background: var(--wv-color-accent);
}

.wv-auth__btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  height: 44px;
  padding: 0 32px;
  background: transparent;
  color: var(--wv-color-text-primary);
  font-family: var(--wv-font-primary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: 1px solid var(--wv-color-text-primary);
  border-radius: var(--wv-radius-pill);
  cursor: pointer;
  transition: var(--wv-transition-base);
  margin: 8px 0;
  text-decoration: none;
}

.wv-auth__btn-outline:hover {
  background: var(--wv-color-text-primary);
  color: var(--wv-color-text-inverse);
}

.wv-auth__link-text {
  font-family: var(--wv-font-primary);
  font-size: 14px;
  color: var(--wv-color-text-secondary);
  margin: 16px 0;
}

.wv-auth__link-text a {
  color: var(--wv-color-text-primary);
  text-decoration: underline;
}

.wv-auth__link-bold {
  font-weight: 700;
}

/* Confirmation icon */

.wv-auth__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin: 0 auto 24px;
  border: 2px solid var(--wv-color-accent);
  border-radius: 50%;
  color: var(--wv-color-accent);
}

.wv-auth__subtitle {
  font-family: var(--wv-font-primary);
  font-size: 14px;
  color: var(--wv-color-text-secondary);
  margin: 8px 0 24px;
}

/* ── Helper Text ── */

.wv-auth__helper {
  font-family: var(--wv-font-primary);
  font-size: 12px;
  color: var(--wv-color-text-secondary);
  margin: -8px 0 16px;
  text-align: left;
}

/* ── Checkboxes ── */

.wv-auth__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  text-align: left;
}

.wv-auth__checkbox input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--wv-color-accent);
  cursor: pointer;
}

.wv-auth__checkbox label {
  font-family: var(--wv-font-primary);
  font-size: 12px;
  line-height: 16px;
  color: var(--wv-color-text-secondary);
}

.wv-auth__checkbox label a {
  color: var(--wv-color-text-primary);
  text-decoration: underline;
  font-weight: 600;
}

/* Responsive — Auth Forms */

@media (max-width: 767px) {
  .wv-auth {
    padding: 40px 24px;
  }
}

/* ═══════════════════════════════════════════
   YITH Points & Rewards — style overrides
   Targets plugin-generated markup on /my-account/my-points
   ═══════════════════════════════════════════ */

.ywpar-wrapper h2 {
  font-family: var(--wv-font-serif);
  font-size: 28px;
  font-weight: 400;
  color: var(--wv-color-text-primary);
  margin: 0 0 24px;
}

.ywpar_myaccount_entry_info {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.ywpar_summary_badge {
  background: var(--wv-color-card-bg);
  border: 1px solid var(--wv-color-border);
  border-radius: 10px;
  padding: 12px 24px;
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 24px;
  width: 100%;
  flex-wrap: wrap;
}

.ywpar_myaccount_entry_info span.ywpar_entry_info_title {
  font-family: var(--wv-font-mono);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--wv-color-text-secondary);
  text-align: left;
}

.ywpar_summary_badge .points_collected {
  font-family: var(--wv-font-serif);
  font-size: 36px;
  font-weight: 400;
  color: var(--wv-color-primary);
  line-height: 1;
}

.ywpar_summary_badge .points_worth {
  font-family: var(--wv-font-primary);
  font-size: 13px;
  font-weight: 400;
  color: var(--wv-color-text-secondary);
}

.ywpar_summary_badge .ywpar_to_redeem_title {
  font-family: var(--wv-font-primary);
  font-size: 11px;
  color: var(--wv-color-text-secondary);
}

.ywpar_myaccount_entry_info span.ywpar_total_collected_title {
  font-family: var(--wv-font-mono);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--wv-color-text-secondary);
  margin-left: auto;
  margin-top: 0;
  text-align: right;
}


.ywpar_levels_badges,
.ywpar_rank_badges {
  background: var(--wv-color-card-bg);
  border: 1px solid var(--wv-color-border);
  border-radius: 10px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 160px;
}

.ywpar_levels_badges .ywpar_entry_info_title,
.ywpar_rank_badges .ywpar_entry_info_title {
  font-family: var(--wv-font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wv-color-text-secondary);
}

.ywpar_rank_badges .rank {
  font-family: var(--wv-font-serif);
  font-size: 28px;
  font-weight: 400;
  color: var(--wv-color-text-primary);
}

/* Banners */
.ywpar-wrapper .ywpar-banner {
  background: var(--wv-color-card-bg);
  border: 1px solid var(--wv-color-border);
  border-radius: 10px;
  padding: 20px 24px;
  margin-bottom: 16px;
  font-family: var(--wv-font-primary);
  font-size: 13px;
  color: var(--wv-color-text-secondary);
  line-height: 1.6;
}

.ywpar-wrapper .ywpar-banner h3,
.ywpar-wrapper .ywpar-banner h4 {
  font-family: var(--wv-font-primary);
  font-size: 14px;
  font-weight: 600;
  color: var(--wv-color-text-primary);
  margin: 0 0 8px;
}

/* History table — matches .wv-account-table (orders) */
table.shop_table.ywpar_points_rewards {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid rgba(42, 43, 20, 0.15);
  margin-top: 24px;
}

table.shop_table.ywpar_points_rewards thead th {
  background: #DDDEC7;
  font-family: var(--wv-font-mono);
  font-weight: var(--wv-weight-regular);
  font-size: 11px;
  letter-spacing: 0.3px;
  color: var(--wv-color-text-primary);
  text-transform: uppercase;
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(42, 43, 20, 0.15);
}

table.shop_table.ywpar_points_rewards tbody td {
  font-family: var(--wv-font-primary);
  font-size: 14px;
  color: var(--wv-color-text-primary);
  padding: 16px;
  border-bottom: 1px solid rgba(42, 43, 20, 0.1);
  background: #ffffff;
  vertical-align: middle;
}

table.shop_table.ywpar_points_rewards tbody tr:last-child td {
  border-bottom: 0;
}

/* Share points */
.ywpar-wrapper .ywpar-share-points {
  font-family: var(--wv-font-primary);
  font-size: 13px;
  color: var(--wv-color-text-secondary);
}

.ywpar-wrapper .ywpar-share-points input[type="text"],
.ywpar-wrapper .ywpar-share-points input[type="email"],
.ywpar-wrapper .ywpar-share-points input[type="number"] {
  font-family: var(--wv-font-mono);
  font-size: 14px;
  padding: 8px 12px;
  border: 1px solid var(--wv-color-border);
  border-radius: var(--wv-radius-sm);
  background: var(--wv-color-card-bg);
  color: var(--wv-color-text-primary);
}

.ywpar-wrapper button,
.ywpar-wrapper input[type="submit"] {
  font-family: var(--wv-font-primary);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: var(--wv-color-accent);
  color: var(--wv-color-text-inverse);
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  transition: background var(--wv-transition-base);
}

.ywpar-wrapper button:hover,
.ywpar-wrapper input[type="submit"]:hover {
  background: var(--wv-color-atc-hover);
}

@media (max-width: 767px) {
  .ywpar_myaccount_entry_info {
    flex-direction: column;
  }

  .ywpar_summary_badge,
  .ywpar_levels_badges,
  .ywpar_rank_badges {
    min-width: auto;
  }
}
