/* ══════════════════════════════════════════════════════════════════════════
   MY ACCOUNT PAGE
══════════════════════════════════════════════════════════════════════════ */
/* ══════════════════════════════════════════════════════════════════════════
   MY ACCOUNT / PROFILE (React Profile.tsx Exact Parity)
══════════════════════════════════════════════════════════════════════════ */
.ycc-profile-page-wrap {
  width: 100%;
  min-height: 80vh;
  background: var(--ycc-bg);
  padding: 32px 0;
  box-sizing: border-box;
  transition: background-color 0.3s ease;
}
.ycc-profile-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}
@media (min-width: 640px) {
  .ycc-profile-container { padding: 0 24px; }
}
@media (min-width: 1024px) {
  .ycc-profile-container { padding: 0 32px; }
}

/* 2-Column Layout */
.ycc-profile-layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (min-width: 1024px) {
  .ycc-profile-layout {
    flex-direction: row;
    align-items: flex-start;
  }
}

/* Sidebar: User Profile Card (lg:w-96) */
.ycc-profile-sidebar {
  width: 100%;
  flex-shrink: 0;
}
@media (min-width: 1024px) {
  .ycc-profile-sidebar {
    width: 360px;
    position: sticky;
    top: calc(var(--ycc-navbar-h) + 24px);
    z-index: 10;
  }
}
.ycc-profile-card {
  background: var(--ycc-surface);
  border: 1px solid var(--ycc-border);
  border-radius: 1rem;
  padding: 24px;
  box-shadow: var(--ycc-shadow-sm);
  transition: background-color 0.3s, border-color 0.3s;
}
html.dark .ycc-profile-card {
  background: var(--ycc-surface-dark);
  border-color: var(--ycc-border-dark);
}
.ycc-profile-card-top {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}
@media (min-width: 1024px) {
  .ycc-profile-card-top {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
}
.ycc-profile-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #2563eb;
  color: #fff;
  font-size: 26px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid #fff;
  box-shadow: 0 4px 14px rgba(37,99,235,0.25);
  flex-shrink: 0;
}
@media (min-width: 640px) {
  .ycc-profile-avatar {
    width: 80px;
    height: 80px;
    font-size: 32px;
  }
}
html.dark .ycc-profile-avatar {
  border-color: #0f172a;
}
.ycc-profile-user-meta {
  flex: 1;
  min-width: 0;
}
.ycc-profile-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--ycc-text);
  margin: 0 0 2px;
  text-transform: capitalize;
}
html.dark .ycc-profile-name { color: var(--ycc-text-dark); }
.ycc-profile-role {
  font-size: 13px;
  color: var(--ycc-slate-500);
  margin: 0 0 4px;
}
html.dark .ycc-profile-role { color: var(--ycc-slate-400); }
.ycc-profile-email {
  font-size: 12px;
  color: var(--ycc-slate-400);
  margin: 0 0 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ycc-profile-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
}
@media (min-width: 1024px) {
  .ycc-profile-badges-row {
    justify-content: center;
  }
}
.ycc-profile-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--ycc-slate-50);
  border: 1px solid var(--ycc-slate-200);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ycc-text);
}
html.dark .ycc-profile-badge-pill {
  background: var(--ycc-slate-800);
  border-color: var(--ycc-slate-700);
  color: var(--ycc-text-dark);
}
.ycc-profile-badge-pill .ycc-badge-lbl {
  font-size: 11px;
  color: var(--ycc-slate-500);
  font-weight: 400;
}
html.dark .ycc-profile-badge-pill .ycc-badge-lbl { color: var(--ycc-slate-400); }

/* Sidebar Profile Actions */
.ycc-profile-actions-row {
  display: flex;
  gap: 8px;
  margin-top: 20px;
  width: 100%;
}
.ycc-btn-profile-action {
  flex: 1;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 12px !important;
  border-radius: 10px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  border: 1px solid var(--ycc-border) !important;
  background: transparent !important;
  color: var(--ycc-text) !important;
  text-decoration: none !important;
  cursor: pointer;
  transition: all 0.15s;
}
.ycc-btn-profile-action:hover {
  background: var(--ycc-slate-100) !important;
  color: var(--ycc-blue-600) !important;
}
html.dark .ycc-btn-profile-action {
  border-color: var(--ycc-border-dark) !important;
  color: var(--ycc-text-dark) !important;
}
html.dark .ycc-btn-profile-action:hover {
  background: var(--ycc-slate-800) !important;
  color: var(--ycc-blue-400) !important;
}
.ycc-btn-logout-action {
  flex:            1;
  display:         inline-flex !important;
  align-items:     center;
  justify-content: center;
  gap:             6px;
  padding:         9px 12px !important;
  border-radius:   var(--ycc-radius-lg) !important;
  font-size:       12px !important;
  font-weight:     600 !important;
  border:          1px solid var(--ycc-color-border) !important;
  background:      transparent !important;
  color:           var(--ycc-color-muted) !important;
  text-decoration: none !important;
  cursor:          pointer;
  transition:      var(--ycc-transition);
}
.ycc-btn-logout-action:hover {
  border-color: var(--ycc-slate-300) !important;
  color:        var(--ycc-color-text) !important;
  background:   var(--ycc-slate-100) !important;
}
html.dark .ycc-btn-logout-action {
  border-color: var(--ycc-border-dark) !important;
  color:        var(--ycc-text-muted-dark) !important;
}
html.dark .ycc-btn-logout-action:hover {
  border-color: var(--ycc-slate-700) !important;
  color:        var(--ycc-text-dark) !important;
  background:   var(--ycc-slate-800) !important;
}

/* Right Content: Tabs & Panels */
.ycc-profile-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.ycc-profile-tabs-wrap {
  background: var(--ycc-surface);
  border: 1px solid var(--ycc-border);
  border-radius: 12px;
  padding: 4px;
  display: flex;
  gap: 6px;
  box-shadow: var(--ycc-shadow-sm);
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  box-sizing: border-box;
  position: relative;
}
.ycc-profile-tabs-wrap::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
html.dark .ycc-profile-tabs-wrap {
  background: var(--ycc-surface-dark);
  border-color: var(--ycc-border-dark);
}
.ycc-profile-tab {
  flex: 1 1 0;
  min-width: max-content;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  border: none !important;
  background: transparent !important;
  color: var(--ycc-slate-600) !important;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
  box-sizing: border-box;
}
@media (max-width: 640px) {
  .ycc-profile-tab {
    flex: 0 0 auto;
    padding: 9px 14px !important;
  }
}
.ycc-profile-tab:hover {
  background: var(--ycc-slate-100) !important;
  color: var(--ycc-text) !important;
}
html.dark .ycc-profile-tab {
  color: var(--ycc-slate-400) !important;
}
html.dark .ycc-profile-tab:hover {
  background: var(--ycc-slate-800) !important;
  color: var(--ycc-text-dark) !important;
}
.ycc-profile-tab.active {
  background: #2563eb !important;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(37,99,235,0.3) !important;
}
.ycc-profile-tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 7px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 10px;
  background: rgba(0,0,0,0.08);
}
.ycc-profile-tab.active .ycc-profile-tab-count {
  background: rgba(255,255,255,0.25);
  color: #fff;
}

/* Panel Card */
.ycc-profile-panel-card {
  background: var(--ycc-surface);
  border: 1px solid var(--ycc-border);
  border-radius: 1rem;
  padding: 24px;
  box-shadow: var(--ycc-shadow-sm);
  min-height: 360px;
  transition: background-color 0.3s, border-color 0.3s;
}
html.dark .ycc-profile-panel-card {
  background: var(--ycc-surface-dark);
  border-color: var(--ycc-border-dark);
}
.ycc-profile-panel {
  display: none;
}
.ycc-profile-panel.active {
  display: block;
  animation: ycc-fade-in 0.2s ease;
}
.ycc-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ycc-border);
}
html.dark .ycc-panel-header {
  border-color: var(--ycc-border-dark);
}
.ycc-panel-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ycc-text);
  margin: 0;
}
html.dark .ycc-panel-title { color: var(--ycc-text-dark); }
.ycc-btn-text-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ycc-blue-600);
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 6px;
  transition: background 0.15s;
}
.ycc-btn-text-action:hover {
  background: rgba(37,99,235,0.08);
}
html.dark .ycc-btn-text-action { color: var(--ycc-blue-400); }
html.dark .ycc-btn-text-action:hover {
  background: rgba(37,99,235,0.15);
}

/* Details Grid */
.ycc-details-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 28px;
}
@media (min-width: 640px) {
  .ycc-details-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.ycc-detail-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ycc-detail-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ycc-slate-500);
}
html.dark .ycc-detail-label { color: var(--ycc-slate-400); }
.ycc-detail-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--ycc-slate-50);
  border: 1px solid var(--ycc-slate-200);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ycc-text);
}
html.dark .ycc-detail-box {
  background: var(--ycc-slate-800);
  border-color: var(--ycc-slate-700);
  color: var(--ycc-text-dark);
}
.ycc-detail-icon {
  color: var(--ycc-slate-400);
  flex-shrink: 0;
}
.ycc-detail-val {
  font-size: 13px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ycc-verified-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(34,197,94,0.12);
  color: #16a34a;
}
html.dark .ycc-verified-chip {
  background: rgba(34,197,94,0.2);
  color: #4ade80;
}

/* Stats 4-Card Grid */
.ycc-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
@media (min-width: 640px) {
  .ycc-stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.ycc-stat-box {
  background: var(--ycc-slate-50);
  border: 1px solid var(--ycc-slate-200);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}
html.dark .ycc-stat-box {
  background: var(--ycc-slate-800);
  border-color: var(--ycc-slate-700);
}
.ycc-stat-num {
  font-size: 20px;
  font-weight: 700;
  color: var(--ycc-blue-600);
  line-height: 1.2;
}
html.dark .ycc-stat-num { color: var(--ycc-blue-400); }
.ycc-stat-desc {
  font-size: 11px;
  color: var(--ycc-slate-500);
  margin-top: 4px;
  font-weight: 500;
}
html.dark .ycc-stat-desc { color: var(--ycc-slate-400); }

/* Quick Links Strip */
.ycc-quick-links-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (min-width: 640px) {
  .ycc-quick-links-row {
    grid-template-columns: repeat(4, 1fr);
  }
}
.ycc-quick-link-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px !important;
  border-radius: 10px !important;
  background: var(--ycc-surface) !important;
  border: 1px solid var(--ycc-border) !important;
  color: var(--ycc-text) !important;
  text-decoration: none !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  transition: all 0.15s;
}
.ycc-quick-link-btn:hover {
  border-color: var(--ycc-blue-600) !important;
  color: var(--ycc-blue-600) !important;
}
html.dark .ycc-quick-link-btn {
  background: var(--ycc-surface-dark) !important;
  border-color: var(--ycc-border-dark) !important;
  color: var(--ycc-text-dark) !important;
}
html.dark .ycc-quick-link-btn:hover {
  background: var(--ycc-slate-800) !important;
  border-color: var(--ycc-blue-400) !important;
  color: var(--ycc-blue-400) !important;
}

/* Orders Table */
.ycc-table-responsive {
  overflow-x: auto;
  width: 100%;
}
.ycc-orders-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.ycc-orders-table th {
  text-align: left;
  padding: 12px 14px;
  background: var(--ycc-slate-50);
  border-bottom: 2px solid var(--ycc-border);
  color: var(--ycc-slate-500);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.05em;
}
html.dark .ycc-orders-table th {
  background: var(--ycc-slate-800);
  border-color: var(--ycc-border-dark);
  color: var(--ycc-slate-400);
}
.ycc-orders-table td {
  padding: 14px;
  border-bottom: 1px solid var(--ycc-border);
  color: var(--ycc-text);
  vertical-align: middle;
}
html.dark .ycc-orders-table td {
  border-color: var(--ycc-border-dark);
  color: var(--ycc-text-dark);
}
.ycc-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}
.ycc-status-success { background: rgba(34,197,94,0.12); color: #16a34a; }
.ycc-status-error   { background: rgba(239,68,68,0.12);  color: #dc2626; }
.ycc-status-pending { background: rgba(234,179,8,0.12);  color: #ca8a04; }
html.dark .ycc-status-success { color: #4ade80; }
html.dark .ycc-status-error   { color: #f87171; }
html.dark .ycc-status-pending { color: #facc15; }

/* Empty States */
.ycc-empty-state-wrap {
  text-align: center;
  padding: 48px 16px;
  color: var(--ycc-text-muted);
}
.ycc-empty-icon-circle {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(37,99,235,0.08);
  color: var(--ycc-blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
}
html.dark .ycc-empty-icon-circle {
  background: rgba(37,99,235,0.15);
  color: var(--ycc-blue-400);
}
.ycc-empty-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ycc-text);
  margin: 0 0 6px;
}
html.dark .ycc-empty-title { color: var(--ycc-text-dark); }
.ycc-empty-sub {
  font-size: 13px;
  color: var(--ycc-slate-500);
  margin: 0 0 20px;
}

/* Licenses Grid */
.ycc-licenses-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ycc-license-card {
  background: var(--ycc-surface);
  border: 1px solid var(--ycc-border);
  border-radius: 12px;
  padding: 18px;
  box-shadow: var(--ycc-shadow-sm);
  transition: border-color 0.2s;
}
html.dark .ycc-license-card {
  background: var(--ycc-surface-dark);
  border-color: var(--ycc-border-dark);
}
.ycc-license-card:hover {
  border-color: var(--ycc-blue-600);
}
.ycc-license-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.ycc-license-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(37,99,235,0.1);
  color: var(--ycc-blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
html.dark .ycc-license-icon-box {
  background: rgba(37,99,235,0.2);
  color: var(--ycc-blue-400);
}
.ycc-license-product {
  font-size: 14px;
  font-weight: 700;
  color: var(--ycc-text);
  margin: 0;
}
html.dark .ycc-license-product { color: var(--ycc-text-dark); }
.ycc-license-meta {
  font-size: 11px;
  color: var(--ycc-slate-500);
  margin-top: 2px;
}
html.dark .ycc-license-meta { color: var(--ycc-slate-400); }
.ycc-license-key-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: var(--ycc-slate-50);
  border: 1px solid var(--ycc-slate-200);
  border-radius: 8px;
}
html.dark .ycc-license-key-box {
  background: var(--ycc-slate-800);
  border-color: var(--ycc-slate-700);
}
.ycc-key-code {
  font-family: monospace;
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--ycc-text);
  font-weight: 600;
  word-break: break-all;
}
html.dark .ycc-key-code { color: var(--ycc-text-dark); }
.ycc-key-btns {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}
.ycc-btn-key-action {
  padding: 4px 10px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  border-radius: 6px !important;
  border: 1px solid var(--ycc-border) !important;
  background: var(--ycc-surface) !important;
  color: var(--ycc-text) !important;
  cursor: pointer;
  transition: all 0.15s;
}
html.dark .ycc-btn-key-action {
  background: var(--ycc-surface-dark) !important;
  border-color: var(--ycc-border-dark) !important;
  color: var(--ycc-text-dark) !important;
}
.ycc-btn-key-action:hover {
  border-color: var(--ycc-blue-600) !important;
  color: var(--ycc-blue-600) !important;
}

/* Sub-Endpoint wrapper */
.ycc-endpoint-top-bar {
  margin-bottom: 20px;
}
.ycc-back-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 6px 12px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}

/* ══════════════════════════════════════════════════════════════════════════
   FULL-WIDTH AUTH PAGE SECTION (Edge-to-Edge Without Letterboxing)
══════════════════════════════════════════════════════════════════════════ */
.elementor-element.elementor-element-ycc-acc-section,
body.woocommerce-account .elementor-element-ycc-acc-section {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.elementor-element.elementor-element-ycc-acc-section > .e-con-inner,
body.woocommerce-account .elementor-element-ycc-acc-section > .e-con-inner {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.elementor-widget-ycc-auth-page,
.elementor-widget-ycc-auth-page > .elementor-widget-container {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ══════════════════════════════════════════════════════════════════════════
   GUEST AUTHENTICATION CARD — LOGIN / REGISTER / FORGOT PASSWORD
   Exact Parity with React Auth.tsx & Centralized YourCart Design System
══════════════════════════════════════════════════════════════════════════ */
.ycc-auth-wrap {
  min-height: calc(100vh - var(--ycc-navbar-h, 64px));
  min-height: calc(100dvh - var(--ycc-navbar-h, 64px));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 24px 0px;
  box-sizing: border-box;
  width: 100%;
  background-color: #f0f4fa;
  background-image: url('../../images/auth-page-bg-light.webp');
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  position: relative;
  overflow: hidden;
  margin-bottom: 0 !important;
  transition: background-image 0.2s ease, background-color 0.2s ease;
}
html.dark .ycc-auth-wrap {
  background-color: #030712;
  background-image: url('../../images/auth-page-bg.webp');
}
@media (min-width: 768px) and (orientation: portrait), (min-width: 768px) and (max-aspect-ratio: 1/1) {
  .ycc-auth-wrap {
    min-height: 800px !important;
    height: auto !important;
    padding: 16px 24px 0px !important;
    background-size: cover !important;
    background-position: 18% bottom !important;
    background-repeat: no-repeat !important;
  }
  .ycc-auth-container {
    min-height: auto !important;
    align-self: flex-start !important;
    margin-top: 10px !important;
  }
}
@media (max-width: 767px) {
  .ycc-auth-wrap {
    padding: 8px 12px 8px !important;
    min-height: calc(100vh - var(--ycc-navbar-h, 56px)) !important;
    min-height: calc(100dvh - var(--ycc-navbar-h, 56px)) !important;
    background-position: 85% center;
  }
}
@media (max-height: 750px) {
  .ycc-auth-wrap {
    padding: 6px 16px 0px;
  }
}

/* 2-Column Split Container */
.ycc-auth-container {
  width: 100%;
  max-width: 1240px;
  min-height: 654px;
  margin: 0 auto;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(380px, 440px);
  gap: 48px;
  align-items: center;
}
@media (max-width: 1100px) {
  .ycc-auth-container {
    gap: 32px;
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, 420px);
  }
}
@media (max-width: 900px) {
  .ycc-auth-container {
    gap: 20px;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 390px);
  }
}
@media (max-width: 767px) {
  .ycc-auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 440px;
    min-height: auto;
    margin: 0 auto;
    padding: 0;
  }
}

/* Left Hero Column */
.ycc-auth-hero-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-sizing: border-box;
  align-self: flex-start;
  padding-top: 14px;
}
@media (max-width: 767px) {
  .ycc-auth-wrap {
    background-position: 85% center;
  }
  .ycc-auth-hero-col {
    display: none !important;
  }
}
.ycc-auth-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 500;
  color: #0284c7;
  margin-bottom: 16px;
}
html.dark .ycc-auth-hero-badge {
  color: #94a3b8;
  border-color: rgba(56, 189, 248, 0.25);
}
.ycc-auth-hero-badge .ycc-auth-badge-icon {
  color: #38bdf8;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
.ycc-auth-hero-badge .ycc-highlight-cyan {
  color: #0284c7;
  font-weight: 700;
}
html.dark .ycc-auth-hero-badge .ycc-highlight-cyan {
  color: #38bdf8;
}
.ycc-auth-hero-title {
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #0f172a;
  margin: 0 0 14px 0;
  text-align: left;
}
html.dark .ycc-auth-hero-title {
  color: #ffffff;
}
.ycc-auth-hero-title .ycc-text-gradient {
  background: linear-gradient(90deg, #0284c7 0%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
html.dark .ycc-auth-hero-title .ycc-text-gradient {
  background: linear-gradient(90deg, #38bdf8 0%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ycc-auth-hero-desc {
  font-size: 14.5px;
  line-height: 1.55;
  color: #475569;
  max-width: 480px;
  margin: 0 0 22px 0;
  text-align: left;
}
html.dark .ycc-auth-hero-desc {
  color: #94a3b8;
}
.ycc-auth-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 20px;
  max-width: 500px;
  margin-bottom: 20px;
  width: 100%;
}
.ycc-auth-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}
.ycc-feature-icon-box {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
}
html.dark .ycc-feature-icon-box {
  background: rgba(37, 99, 235, 0.12);
  border-color: rgba(59, 130, 246, 0.25);
  color: #38bdf8;
}
.ycc-feature-icon-box svg {
  width: 20px;
  height: 20px;
}
.ycc-feature-content {
  min-width: 0;
}
.ycc-feature-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 2px 0;
  line-height: 1.25;
}
html.dark .ycc-feature-title {
  color: #ffffff;
}
.ycc-feature-sub {
  font-size: 11.5px;
  color: #64748b;
  margin: 0;
  line-height: 1.3;
}
html.dark .ycc-feature-sub {
  color: #94a3b8;
}
@media (max-width: 900px) {
  .ycc-auth-hero-title { font-size: 25px; }
  .ycc-auth-hero-desc { font-size: 12.5px; margin-bottom: 14px; }
  .ycc-auth-features-grid { gap: 10px 12px; margin-bottom: 14px; }
  .ycc-feature-icon-box { width: 34px; height: 34px; min-width: 34px; border-radius: 9px; }
  .ycc-feature-icon-box svg { width: 16px; height: 16px; }
  .ycc-feature-title { font-size: 12px; }
  .ycc-feature-sub { font-size: 10px; }
}
@media (max-height: 750px) {
  .ycc-auth-hero-badge { margin-bottom: 10px; padding: 4px 12px; font-size: 12px; }
  .ycc-auth-hero-title { font-size: 26px; margin-bottom: 8px; }
  .ycc-auth-hero-desc { font-size: 12.5px; margin-bottom: 12px; }
  .ycc-auth-features-grid { gap: 10px 14px; margin-bottom: 12px; }
}

/* Right Card Column & Card Styles */
.ycc-auth-card-col {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.ycc-auth-card {
  width: 100%;
  max-width: 460px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(147, 197, 253, 0.65);
  border-radius: 20px;
  box-shadow: 0 0 25px -2px rgba(59, 130, 246, 0.22),
              0 20px 45px -10px rgba(0, 0, 0, 0.08),
              inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.9),
              inset 0 0 20px 0 rgba(191, 219, 254, 0.2);
  overflow: hidden;
  box-sizing: border-box;
  padding: 24px 28px 20px;
  animation: yccCardLightGlow 3.5s ease-in-out infinite alternate;
  transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

@keyframes yccCardLightGlow {
  0% {
    box-shadow: 0 0 20px -2px rgba(59, 130, 246, 0.18),
                0 15px 35px -8px rgba(0, 0, 0, 0.06),
                inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.9),
                inset 0 0 15px 0 rgba(191, 219, 254, 0.15);
    border-color: rgba(147, 197, 253, 0.5);
  }
  100% {
    box-shadow: 0 0 35px 2px rgba(59, 130, 246, 0.32),
                0 22px 50px -10px rgba(0, 0, 0, 0.10),
                inset 0 1px 2px 0 rgba(255, 255, 255, 1),
                inset 0 0 25px 2px rgba(191, 219, 254, 0.35);
    border-color: rgba(96, 165, 250, 0.8);
  }
}

html.dark .ycc-auth-card {
  background: rgba(11, 19, 38, 0.90);
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 0 25px -2px rgba(56, 189, 248, 0.35),
              0 0 50px -5px rgba(37, 99, 235, 0.3),
              inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.22),
              inset 0 0 22px 0 rgba(56, 189, 248, 0.08);
  animation: yccCardNeonGlow 3.5s ease-in-out infinite alternate;
}

@keyframes yccCardNeonGlow {
  0% {
    box-shadow: 0 0 20px -2px rgba(56, 189, 248, 0.28),
                0 0 45px -4px rgba(37, 99, 235, 0.22),
                inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.18),
                inset 0 0 16px 0 rgba(56, 189, 248, 0.06);
    border-color: rgba(56, 189, 248, 0.40);
  }
  100% {
    box-shadow: 0 0 38px 2px rgba(56, 189, 248, 0.52),
                0 0 70px 4px rgba(37, 99, 235, 0.38),
                inset 0 1px 2px 0 rgba(255, 255, 255, 0.32),
                inset 0 0 28px 2px rgba(56, 189, 248, 0.14);
    border-color: rgba(56, 189, 248, 0.70);
  }
}

@media (max-width: 480px) {
  .ycc-auth-card {
    padding: 16px 16px 14px;
    border-radius: var(--ycc-radius-xl, 16px);
  }
}
@media (max-height: 750px) {
  .ycc-auth-card {
    padding: 16px 22px 14px;
  }
}

/* Header Icon Badge */
.ycc-auth-icon-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}
.ycc-auth-icon {
  width: 42px;
  height: 42px;
  background: #2563eb;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 0 22px rgba(37, 99, 235, 0.8), 0 0 40px rgba(56, 189, 248, 0.45);
  animation: yccIconNeonGlow 3s ease-in-out infinite alternate;
}

@keyframes yccIconNeonGlow {
  0% {
    box-shadow: 0 0 16px rgba(37, 99, 235, 0.7), 0 0 28px rgba(56, 189, 248, 0.35);
  }
  100% {
    box-shadow: 0 0 26px rgba(37, 99, 235, 0.95), 0 0 48px rgba(56, 189, 248, 0.65);
  }
}
.ycc-auth-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}
@media (max-height: 750px) {
  .ycc-auth-icon-wrap {
    margin-bottom: 6px;
  }
  .ycc-auth-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }
  .ycc-auth-icon svg {
    width: 16px;
    height: 16px;
  }
}

/* Heading & Subtitle */
.ycc-auth-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--ycc-text);
  text-align: center;
  margin: 0 0 3px 0;
  line-height: 1.2;
}
html.dark .ycc-auth-title {
  color: var(--ycc-text-dark, #f8fafc);
}
.ycc-auth-subtitle {
  font-size: 12px;
  color: var(--ycc-text-muted);
  text-align: center;
  margin: 0 0 12px 0;
  line-height: 1.35;
}
html.dark .ycc-auth-subtitle {
  color: var(--ycc-text-muted-dark, #94a3b8);
}
@media (max-height: 750px) {
  .ycc-auth-title {
    font-size: 17px;
    margin-bottom: 2px;
  }
  .ycc-auth-subtitle {
    font-size: 11.5px;
    margin-bottom: 8px;
  }
}

/* Notices & Alert Banner */
.ycc-auth-notices {
  margin-bottom: 12px;
  width: 100%;
}
.ycc-auth-banner-success {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 197, 94, 0.1);
  color: var(--ycc-success, #16a34a);
  padding: 8px 12px;
  border-radius: var(--ycc-radius-lg, 10px);
  font-size: 12px;
  line-height: 1.35;
  margin-bottom: 12px;
  text-align: left;
  border: 1px solid rgba(34, 197, 94, 0.25);
}
html.dark .ycc-auth-banner-success {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border-color: rgba(34, 197, 94, 0.3);
}
.ycc-auth-banner-success svg {
  flex-shrink: 0;
}

/* Tab Switcher Pills */
.ycc-auth-tabs {
  display: flex;
  padding: 3px;
  background: var(--ycc-slate-100, #f1f5f9);
  border-radius: 10px;
  margin-bottom: 11px;
  gap: 3px;
  box-sizing: border-box;
}
html.dark .ycc-auth-tabs {
  background: var(--ycc-slate-800, #1e293b);
}
.ycc-auth-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 7px;
  border: none !important;
  background: transparent !important;
  color: var(--ycc-slate-500, #64748b) !important;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
  box-shadow: none !important;
}
.ycc-auth-tab svg {
  width: 13px;
  height: 13px;
}
.ycc-auth-tab:hover {
  color: var(--ycc-slate-700, #334155) !important;
}
html.dark .ycc-auth-tab {
  color: var(--ycc-slate-400, #94a3b8) !important;
}
html.dark .ycc-auth-tab:hover {
  color: var(--ycc-slate-200, #e2e8f0) !important;
}
.ycc-auth-tab.active,
html.dark .ycc-auth-tab.active {
  background: #2563eb !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 0 15px rgba(37, 99, 235, 0.45) !important;
}
@media (max-height: 750px) {
  .ycc-auth-tabs {
    margin-bottom: 8px;
    padding: 2px;
  }
  .ycc-auth-tab {
    padding: 5px 8px;
    font-size: 11.5px;
  }
}

/* Form Container & Form Wrappers (SINGLE ACTIVE DISPLAY) */
.ycc-auth-forms-container {
  position: relative;
}
.ycc-auth-form-wrap {
  display: none !important;
}
.ycc-auth-form-wrap.active {
  display: block !important;
  animation: ycc-fade-in 0.2s ease;
}

/* Form Group & Input Styling */
.ycc-form-group {
  margin-bottom: 9px;
  text-align: left;
}
.ycc-form-group label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ycc-slate-500, #64748b);
  margin-bottom: 3px;
  margin-left: 2px;
}
html.dark .ycc-form-group label {
  color: var(--ycc-slate-400, #94a3b8);
}
.ycc-input-wrap {
  position: relative;
  width: 100%;
}
.ycc-input-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  color: var(--ycc-slate-400, #94a3b8);
  pointer-events: none;
  transition: color 0.15s ease;
  z-index: 2;
}
.ycc-input-wrap:focus-within .ycc-input-icon {
  color: var(--ycc-blue-600);
}
.ycc-auth-card .input-text,
.ycc-auth-card input[type="text"],
.ycc-auth-card input[type="email"],
.ycc-auth-card input[type="password"] {
  width: 100% !important;
  height: 38px !important;
  padding: 6px 12px 6px 34px !important;
  border-radius: var(--ycc-radius-lg, 10px) !important;
  border: 1px solid var(--ycc-slate-200, #e2e8f0) !important;
  background: var(--ycc-slate-50, #f8fafc) !important;
  color: var(--ycc-text, #0f172a) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  box-sizing: border-box !important;
  outline: none !important;
  transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s !important;
}
.ycc-auth-card .input-text:focus,
.ycc-auth-card input[type="text"]:focus,
.ycc-auth-card input[type="email"]:focus,
.ycc-auth-card input[type="password"]:focus {
  border-color: var(--ycc-blue-600) !important;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2) !important;
  background: #ffffff !important;
}
html.dark .ycc-auth-card .input-text,
html.dark .ycc-auth-card input[type="text"],
html.dark .ycc-auth-card input[type="email"],
html.dark .ycc-auth-card input[type="password"] {
  background: var(--ycc-slate-800, #1e293b) !important;
  border-color: var(--ycc-slate-700, #334155) !important;
  color: var(--ycc-text-dark, #f8fafc) !important;
}
html.dark .ycc-auth-card .input-text:focus,
html.dark .ycc-auth-card input[type="text"]:focus,
html.dark .ycc-auth-card input[type="email"]:focus,
html.dark .ycc-auth-card input[type="password"]:focus {
  background: var(--ycc-slate-900, #0f172a) !important;
  border-color: var(--ycc-blue-500, #3b82f6) !important;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3) !important;
}
@media (max-height: 750px) {
  .ycc-form-group {
    margin-bottom: 7px;
  }
  .ycc-auth-card .input-text,
  .ycc-auth-card input[type="text"],
  .ycc-auth-card input[type="email"],
  .ycc-auth-card input[type="password"] {
    height: 36px !important;
    padding: 5px 10px 5px 32px !important;
    font-size: 12.5px !important;
  }
}

/* Password Toggle & Strength Meter */
.ycc-input-wrap.ycc-pw-wrap {
  position: relative;
}
.ycc-pw-wrap input {
  padding-right: 40px !important;
}
.ycc-pw-wrap .ycc-input-icon {
  top: 19px !important;
  transform: translateY(-50%) !important;
}
.ycc-pw-wrap .ycc-pw-toggle {
  position: absolute;
  right: 10px;
  top: 19px !important;
  transform: translateY(-50%) !important;
  width: 24px;
  height: 24px;
  border-radius: 4px !important;
  background: transparent !important;
  border: none !important;
  cursor: pointer;
  color: var(--ycc-slate-400, #94a3b8) !important;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease;
  z-index: 2;
  box-shadow: none !important;
}
.ycc-pw-wrap .ycc-pw-toggle svg {
  width: 16px;
  height: 16px;
}
html.dark .ycc-pw-wrap .ycc-pw-toggle {
  background: transparent !important;
  border: none !important;
  color: var(--ycc-slate-400, #94a3b8) !important;
}
.ycc-pw-wrap .ycc-pw-toggle:hover {
  background: transparent !important;
  color: var(--ycc-slate-700, #334155) !important;
}
html.dark .ycc-pw-wrap .ycc-pw-toggle:hover {
  background: transparent !important;
  color: #ffffff !important;
}
.ycc-pw-wrap .show-password-input,
.woocommerce form .ycc-pw-wrap .show-password-input {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  border: none !important;
}
@media (max-height: 750px) {
  .ycc-pw-wrap .ycc-input-icon,
  .ycc-pw-wrap .ycc-pw-toggle {
    top: 18px !important;
  }
}

/* 4-Segment Password Meter & Strength Label (Hidden until input has >= 1 char) */
.ycc-pw-meter-row {
  display: none;
  align-items: center;
  gap: 8px;
  margin-top: 5px;
  width: 100%;
  box-sizing: border-box;
}
.ycc-pw-meter-row.is-active {
  display: flex !important;
}
.ycc-pw-meter-bars {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  height: 4px;
}
.ycc-pw-meter-bar {
  flex: 1;
  height: 4px;
  border-radius: 9999px;
  background: var(--ycc-slate-200, #e2e8f0);
  transition: background-color 0.25s ease;
}
html.dark .ycc-pw-meter-bar {
  background: var(--ycc-slate-800, #1e293b);
}
.ycc-pw-meter-label {
  font-size: 11px;
  font-weight: 700;
  min-width: 42px;
  text-align: right;
  transition: color 0.2s ease;
}

/* Real-Time Password Checklist Card (Hidden until input has >= 1 char) */
.ycc-pw-rules-card {
  display: none;
  flex-direction: column;
  gap: 3px;
  margin-top: 5px;
  padding: 6px 10px;
  border-radius: var(--ycc-radius-md, 8px);
  background: var(--ycc-slate-50, #f8fafc);
  border: 1px solid var(--ycc-slate-200, #e2e8f0);
  box-sizing: border-box;
  transition: all 0.2s ease;
}
.ycc-pw-rules-card.is-active {
  display: flex !important;
}
html.dark .ycc-pw-rules-card {
  background: rgba(15, 23, 42, 0.45);
  border-color: rgba(255, 255, 255, 0.08);
}
.ycc-rule-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  line-height: 1.25;
  white-space: nowrap;
  color: var(--ycc-slate-500, #64748b);
  transition: color 0.15s ease;
}
html.dark .ycc-rule-item {
  color: var(--ycc-slate-400, #94a3b8);
}
.ycc-rule-item.is-met {
  color: var(--ycc-text, #0f172a);
  font-weight: 500;
}
html.dark .ycc-rule-item.is-met {
  color: #f1f5f9;
}
.ycc-rule-icon {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  transition: all 0.15s ease;
}
/* Unmet State */
.ycc-rule-item .ycc-rule-icon circle {
  fill: transparent;
  stroke: var(--ycc-slate-300, #cbd5e1);
  stroke-width: 1.5;
  transition: all 0.15s ease;
}
html.dark .ycc-rule-item .ycc-rule-icon circle {
  stroke: var(--ycc-slate-600, #475569);
}
.ycc-rule-item .ycc-rule-icon path {
  stroke: var(--ycc-slate-300, #cbd5e1);
  stroke-width: 1.5;
  opacity: 0.3;
  transition: all 0.15s ease;
}
html.dark .ycc-rule-item .ycc-rule-icon path {
  stroke: var(--ycc-slate-600, #475569);
  opacity: 0.3;
}
/* Met State: Bright Green Circle with Dark Checkmark */
.ycc-rule-item.is-met .ycc-rule-icon circle {
  fill: #22c55e;
  stroke: #22c55e;
}
.ycc-rule-item.is-met .ycc-rule-icon path {
  stroke: #0f172a;
  stroke-width: 2;
  opacity: 1;
}
html.dark .ycc-rule-item.is-met .ycc-rule-icon path {
  stroke: #0f172a;
}

@media (max-width: 480px) {
  .ycc-rule-item {
    font-size: 9.5px;
    gap: 5px;
  }
  .ycc-rule-icon {
    width: 11px;
    height: 11px;
  }
  .ycc-pw-meter-label {
    font-size: 10.5px;
  }
}
@media (max-height: 750px) {
  .ycc-pw-meter-row {
    margin-top: 4px;
  }
  .ycc-pw-rules-card {
    margin-top: 4px;
    padding: 5px 8px;
    gap: 2px;
  }
  .ycc-rule-item {
    font-size: 9.5px;
  }
}

/* Suppress redundant WooCommerce default alert & hint inside YCC Auth Card */
.woocommerce-password-hint,
.ycc-auth-card .woocommerce-password-hint,
.ycc-auth-card .woocommerce-password-strength {
  display: none !important;
}

/* Remember Me & Link Buttons */
.ycc-auth-row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  margin-bottom: 11px;
}
.ycc-remember-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  color: var(--ycc-slate-600, #475569);
  user-select: none;
  font-size: 11.5px;
}
html.dark .ycc-remember-label {
  color: var(--ycc-slate-400, #94a3b8);
}
.ycc-link-btn {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  color: var(--ycc-blue-600) !important;
  font-weight: 700;
  font-size: 11.5px;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.15s;
  box-shadow: none !important;
}
.ycc-link-btn:hover {
  background: transparent !important;
  text-decoration: underline !important;
  color: var(--ycc-blue-700) !important;
}
html.dark .ycc-link-btn {
  color: var(--ycc-blue-400) !important;
}
html.dark .ycc-link-btn:hover {
  color: var(--ycc-blue-300) !important;
}

/* Terms & Conditions Checkbox (Reference Mockup Parity) */
.ycc-auth-terms-row {
  margin: 6px 0 10px 0;
  text-align: left;
}
.ycc-terms-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 10.5px;
  line-height: 1.35;
  color: var(--ycc-slate-400, #94a3b8);
  cursor: pointer;
}
.ycc-terms-label input[type="checkbox"] {
  width: 14px !important;
  height: 14px !important;
  min-width: 14px !important;
  margin: 1px 0 0 0 !important;
  border-radius: 4px !important;
  accent-color: var(--ycc-blue-600, #2563eb) !important;
  cursor: pointer !important;
}
.ycc-terms-label a {
  color: var(--ycc-blue-400, #38bdf8) !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: color 0.15s ease;
}
.ycc-terms-label a:hover {
  text-decoration: underline !important;
  color: #60a5fa !important;
}
.ycc-register-form .woocommerce-privacy-policy-text {
  display: none !important;
}

/* Privacy Policy Text (Fallback) */
.woocommerce-privacy-policy-text {
  margin: 6px 0 9px 0 !important;
  text-align: center !important;
}
.woocommerce-privacy-policy-text p {
  font-size: 10.5px !important;
  line-height: 1.35 !important;
  color: var(--ycc-slate-400, #94a3b8) !important;
  margin: 0 !important;
}
html.dark .woocommerce-privacy-policy-text p {
  color: var(--ycc-slate-500, #64748b) !important;
}
.woocommerce-privacy-policy-text a {
  color: var(--ycc-blue-600, #2563eb) !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: color 0.15s ease;
}
.woocommerce-privacy-policy-text a:hover {
  text-decoration: underline !important;
  color: var(--ycc-blue-700, #1d4ed8) !important;
}
html.dark .woocommerce-privacy-policy-text a {
  color: var(--ycc-blue-400, #60a5fa) !important;
}
html.dark .woocommerce-privacy-policy-text a:hover {
  color: var(--ycc-blue-300, #93c5fd) !important;
}

/* Button Arrow Icon */
.ycc-btn-arrow {
  flex-shrink: 0;
  margin-left: 2px;
  transition: transform 0.15s ease;
}
.ycc-auth-card button[type="submit"]:hover .ycc-btn-arrow,
.ycc-auth-card .ycc-btn-primary:hover .ycc-btn-arrow {
  transform: translateX(3px);
}

/* Action Buttons */
.ycc-auth-card .ycc-btn-primary,
.ycc-auth-card button[type="submit"],
.ycc-btn.ycc-btn-primary.ycc-btn-full,
.woocommerce-button.button.woocommerce-form-login__submit,
.woocommerce-Button.woocommerce-button.button,
.woocommerce-ResetPassword button[type="submit"],
.lost_reset_password button[type="submit"] {
  width: 100% !important;
  height: 38px !important;
  min-height: 38px !important;
  background: var(--ycc-blue-600, #2563eb) !important;
  background-color: var(--ycc-blue-600, #2563eb) !important;
  color: #ffffff !important;
  border-radius: var(--ycc-radius-lg, 10px) !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  border: none !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  box-shadow: 0 6px 12px -2px rgba(37, 99, 235, 0.25) !important;
  transition: background-color 0.15s, transform 0.1s, box-shadow 0.15s !important;
  font-family: inherit !important;
  box-sizing: border-box !important;
}
.ycc-auth-card .ycc-btn-primary:hover,
.ycc-auth-card button[type="submit"]:hover,
.ycc-btn.ycc-btn-primary.ycc-btn-full:hover,
.woocommerce-button.button.woocommerce-form-login__submit:hover,
.woocommerce-Button.woocommerce-button.button:hover,
.woocommerce-ResetPassword button[type="submit"]:hover,
.lost_reset_password button[type="submit"]:hover {
  background: var(--ycc-blue-700, #1d4ed8) !important;
  background-color: var(--ycc-blue-700, #1d4ed8) !important;
  box-shadow: 0 8px 16px -2px rgba(37, 99, 235, 0.35) !important;
}
.ycc-auth-card .ycc-btn-primary:active,
.ycc-auth-card button[type="submit"]:active,
.ycc-btn.ycc-btn-primary.ycc-btn-full:active,
.woocommerce-button.button.woocommerce-form-login__submit:active,
.woocommerce-Button.woocommerce-button.button:active,
.woocommerce-ResetPassword button[type="submit"]:active,
.lost_reset_password button[type="submit"]:active {
  transform: scale(0.98) !important;
}
html.dark .ycc-auth-card .ycc-btn-primary,
html.dark .ycc-auth-card button[type="submit"],
html.dark .ycc-btn.ycc-btn-primary.ycc-btn-full,
html.dark .woocommerce-button.button.woocommerce-form-login__submit,
html.dark .woocommerce-Button.woocommerce-button.button,
html.dark .woocommerce-ResetPassword button[type="submit"],
html.dark .lost_reset_password button[type="submit"] {
  box-shadow: none !important;
}
@media (max-height: 750px) {
  .ycc-auth-card .ycc-btn-primary,
  .ycc-auth-card button[type="submit"],
  .ycc-btn.ycc-btn-primary.ycc-btn-full,
  .woocommerce-button.button.woocommerce-form-login__submit,
  .woocommerce-Button.woocommerce-button.button {
    height: 36px !important;
    min-height: 36px !important;
    font-size: 12.5px !important;
  }
}

/* Forgot Password — Back to Login Button (1:1 React Auth.tsx Parity) */
.elementor-kit-9 button.ycc-auth-back-btn,
.elementor-kit-9 button[type="button"].ycc-auth-back-btn,
button.ycc-auth-back-btn,
.ycc-auth-back-btn,
#ycc-back-to-login {
  width: 100% !important;
  max-width: 100% !important;
  min-height: unset !important;
  height: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  padding: 6px 0 !important;
  margin: 6px 0 0 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--ycc-slate-500, #64748b) !important;
  font-family: inherit !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  text-decoration: none !important;
  transition: color 0.15s ease, transform 0.15s ease !important;
  box-sizing: border-box !important;
}

.elementor-kit-9 button.ycc-auth-back-btn:hover,
.elementor-kit-9 button[type="button"].ycc-auth-back-btn:hover,
button.ycc-auth-back-btn:hover,
.ycc-auth-back-btn:hover,
#ycc-back-to-login:hover {
  background: transparent !important;
  background-color: transparent !important;
  color: var(--ycc-slate-900, #0f172a) !important;
}

.elementor-kit-9 button.ycc-auth-back-btn svg,
button.ycc-auth-back-btn svg,
.ycc-auth-back-btn svg,
#ycc-back-to-login svg {
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.elementor-kit-9 button.ycc-auth-back-btn:hover svg,
button.ycc-auth-back-btn:hover svg,
.ycc-auth-back-btn:hover svg,
#ycc-back-to-login:hover svg {
  transform: translateX(-3px);
}

html.dark .elementor-kit-9 button.ycc-auth-back-btn,
html.dark .elementor-kit-9 button[type="button"].ycc-auth-back-btn,
html.dark button.ycc-auth-back-btn,
html.dark .ycc-auth-back-btn,
html.dark #ycc-back-to-login {
  color: var(--ycc-slate-400, #94a3b8) !important;
}

html.dark .elementor-kit-9 button.ycc-auth-back-btn:hover,
html.dark .elementor-kit-9 button[type="button"].ycc-auth-back-btn:hover,
html.dark button.ycc-auth-back-btn:hover,
html.dark .ycc-auth-back-btn:hover,
html.dark #ycc-back-to-login:hover {
  color: #ffffff !important;
}

/* Ghost / Secondary Button (e.g. Checkout as Guest) */
.elementor-kit-9 .ycc-btn-ghost,
.elementor-kit-9 button.ycc-btn-ghost,
.elementor-kit-9 a.ycc-btn-ghost,
.ycc-btn-ghost {
  width: 100% !important;
  height: 38px !important;
  min-height: 38px !important;
  background: var(--ycc-slate-50, #f8fafc) !important;
  background-color: var(--ycc-slate-50, #f8fafc) !important;
  border: 1px solid var(--ycc-slate-200, #e2e8f0) !important;
  color: var(--ycc-slate-700, #334155) !important;
  border-radius: var(--ycc-radius-lg, 10px) !important;
  font-weight: 700 !important;
  font-size: 12.5px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s !important;
  font-family: inherit !important;
  box-sizing: border-box !important;
  box-shadow: none !important;
}
.elementor-kit-9 .ycc-btn-ghost:hover,
.elementor-kit-9 button.ycc-btn-ghost:hover,
.elementor-kit-9 a.ycc-btn-ghost:hover,
.ycc-btn-ghost:hover {
  background: var(--ycc-slate-100, #f1f5f9) !important;
  background-color: var(--ycc-slate-100, #f1f5f9) !important;
  color: var(--ycc-slate-900, #0f172a) !important;
  border-color: var(--ycc-slate-300, #cbd5e1) !important;
}
html.dark .elementor-kit-9 .ycc-btn-ghost,
html.dark .elementor-kit-9 button.ycc-btn-ghost,
html.dark .elementor-kit-9 a.ycc-btn-ghost,
html.dark .ycc-btn-ghost {
  background: var(--ycc-slate-800, #1e293b) !important;
  background-color: var(--ycc-slate-800, #1e293b) !important;
  border-color: var(--ycc-slate-700, #334155) !important;
  color: var(--ycc-slate-200, #e2e8f0) !important;
}
html.dark .elementor-kit-9 .ycc-btn-ghost:hover,
html.dark .elementor-kit-9 button.ycc-btn-ghost:hover,
html.dark .elementor-kit-9 a.ycc-btn-ghost:hover,
html.dark .ycc-btn-ghost:hover {
  background: var(--ycc-slate-700, #334155) !important;
  background-color: var(--ycc-slate-700, #334155) !important;
  color: #ffffff !important;
}
.ycc-auth-separator {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
  color: var(--ycc-slate-400, #94a3b8);
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.ycc-auth-separator::before,
.ycc-auth-separator::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--ycc-slate-200, #e2e8f0);
}
html.dark .ycc-auth-separator::before,
html.dark .ycc-auth-separator::after {
  background: var(--ycc-slate-800, #1e293b);
}
/* Social Login Mock Section (Reference Mockup Parity) */
.ycc-auth-social-wrap {
  margin-top: 10px;
  width: 100%;
}
.ycc-auth-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0 8px 0;
  color: var(--ycc-slate-500, #64748b);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ycc-auth-divider::before,
.ycc-auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}
.ycc-auth-social-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.ycc-btn-social {
  width: 100% !important;
  height: 38px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  font-family: inherit !important;
  border-radius: 9px !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  box-sizing: border-box !important;
  border: none !important;
  box-shadow: none !important;
}
.ycc-btn-social-google {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #1e293b !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}
.ycc-btn-social-google:hover {
  background: #f1f5f9 !important;
  background-color: #f1f5f9 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
}
.ycc-btn-social-github {
  background: rgba(15, 23, 42, 0.7) !important;
  background-color: rgba(15, 23, 42, 0.7) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
}
.ycc-btn-social-github:hover {
  background: rgba(30, 41, 59, 0.9) !important;
  background-color: rgba(30, 41, 59, 0.9) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}
.ycc-social-icon {
  flex-shrink: 0;
}
@media (max-height: 750px) {
  .ycc-btn-social {
    height: 34px !important;
    font-size: 11px !important;
  }
  .ycc-auth-divider {
    margin: 8px 0 6px 0;
  }
}
@media (max-width: 440px) {
  .ycc-social-prefix {
    display: none !important;
  }
}

.ycc-auth-security-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 10px;
  color: var(--ycc-slate-400, #94a3b8);
  margin-top: 9px;
}
.ycc-auth-security-note svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}
@media (max-height: 750px) {
  .ycc-auth-security-note {
    margin-top: 7px;
  }
}

/* WooCommerce Notices Styling */
.ycc-auth-card .woocommerce-notices-wrapper,
.ycc-auth-wrap .woocommerce-notices-wrapper,
.ycc-auth-notices {
  margin-bottom: 20px;
  width: 100%;
}

/* Suppress legacy WooCommerce font-icon pseudo-elements to prevent text overlap */
.ycc-auth-card .woocommerce-message::before,
.ycc-auth-card .woocommerce-error::before,
.ycc-auth-card .woocommerce-info::before,
.ycc-auth-wrap .woocommerce-message::before,
.ycc-auth-wrap .woocommerce-error::before,
.ycc-auth-wrap .woocommerce-info::before,
.ycc-auth-notices .woocommerce-message::before,
.ycc-auth-notices .woocommerce-error::before,
.ycc-auth-notices .woocommerce-info::before {
  display: none !important;
  content: none !important;
}

.ycc-auth-card .woocommerce-error,
.ycc-auth-card .woocommerce-message,
.ycc-auth-card .woocommerce-info,
.ycc-auth-wrap .woocommerce-error,
.ycc-auth-wrap .woocommerce-message,
.ycc-auth-wrap .woocommerce-info,
.ycc-auth-notices .woocommerce-error,
.ycc-auth-notices .woocommerce-message,
.ycc-auth-notices .woocommerce-info {
  list-style: none !important;
  padding: 12px 16px 12px 44px !important;
  border-radius: var(--ycc-radius-xl, 12px) !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  margin: 0 0 16px 0 !important;
  text-align: left !important;
  position: relative !important;
  background-repeat: no-repeat !important;
  background-position: 14px 13px !important;
  background-size: 18px 18px !important;
  box-sizing: border-box !important;
}
.ycc-auth-card .woocommerce-error li,
.ycc-auth-wrap .woocommerce-error li,
.ycc-auth-notices .woocommerce-error li,
.ycc-auth-card .woocommerce-message li,
.ycc-auth-wrap .woocommerce-message li,
.ycc-auth-notices .woocommerce-message li,
.ycc-auth-card .woocommerce-info li,
.ycc-auth-wrap .woocommerce-info li,
.ycc-auth-notices .woocommerce-info li {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Success Notice (Crisp SVG Checkmark) */
.ycc-auth-card .woocommerce-message,
.ycc-auth-wrap .woocommerce-message,
.ycc-auth-notices .woocommerce-message {
  background-color: rgba(34, 197, 94, 0.08) !important;
  border: 1px solid rgba(34, 197, 94, 0.25) !important;
  color: #16a34a !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") !important;
}
html.dark .ycc-auth-card .woocommerce-message,
html.dark .ycc-auth-wrap .woocommerce-message,
html.dark .ycc-auth-notices .woocommerce-message {
  background-color: rgba(34, 197, 94, 0.15) !important;
  border-color: rgba(34, 197, 94, 0.35) !important;
  color: #4ade80 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%234ade80' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") !important;
}

/* Error Notice (Crisp SVG Alert) */
.ycc-auth-card .woocommerce-error,
.ycc-auth-wrap .woocommerce-error,
.ycc-auth-notices .woocommerce-error {
  background-color: rgba(239, 68, 68, 0.08) !important;
  border: 1px solid rgba(239, 68, 68, 0.25) !important;
  color: #dc2626 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23dc2626' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='8' x2='12' y2='12'/%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'/%3E%3C/svg%3E") !important;
}
html.dark .ycc-auth-card .woocommerce-error,
html.dark .ycc-auth-wrap .woocommerce-error,
html.dark .ycc-auth-notices .woocommerce-error {
  background-color: rgba(239, 68, 68, 0.15) !important;
  border-color: rgba(239, 68, 68, 0.35) !important;
  color: #f87171 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23f87171' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='8' x2='12' y2='12'/%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'/%3E%3C/svg%3E") !important;
}

/* Info Notice (Crisp SVG Info) */
.ycc-auth-card .woocommerce-info,
.ycc-auth-wrap .woocommerce-info,
.ycc-auth-notices .woocommerce-info {
  background-color: rgba(37, 99, 235, 0.08) !important;
  border: 1px solid rgba(37, 99, 235, 0.25) !important;
  color: #2563eb !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='16' x2='12' y2='12'/%3E%3Cline x1='12' y1='8' x2='12.01' y2='8'/%3E%3C/svg%3E") !important;
}
html.dark .ycc-auth-card .woocommerce-info,
html.dark .ycc-auth-wrap .woocommerce-info,
html.dark .ycc-auth-notices .woocommerce-info {
  background-color: rgba(37, 99, 235, 0.15) !important;
  border-color: rgba(37, 99, 235, 0.35) !important;
  color: #60a5fa !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2360a5fa' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='16' x2='12' y2='12'/%3E%3Cline x1='12' y1='8' x2='12.01' y2='8'/%3E%3C/svg%3E") !important;
}

/* Animations */
@keyframes ycc-fade-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes ycc-fade-in-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}



/* ── Auth Rate Limiting & Expired Reset Card Styles ───────────────────────── */
.ycc-auth-rate-limit-notice {
  background: rgba(217, 119, 6, 0.08);
  color: #d97706;
  border: 1px solid rgba(217, 119, 6, 0.25);
  padding: 10px 14px;
  border-radius: var(--ycc-radius-xl, 12px);
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 16px;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 8px;
}
html.dark .ycc-auth-rate-limit-notice {
  background: rgba(217, 119, 6, 0.15);
  color: #fbbf24;
  border-color: rgba(217, 119, 6, 0.35);
}

.ycc-auth-card-expired {
  text-align: center;
}
.ycc-auth-card-expired .ycc-auth-expired-actions a {
  text-decoration: none;
}

/* ─── My Account /edit-account/ & Endpoint Polish (Phase 3) ───────────────── */
.ycc-endpoint-card {
  padding: 24px 28px !important;
  background: var(--ycc-surface, #ffffff);
  border: 1px solid var(--ycc-border, #e5e7eb);
  border-radius: 16px;
  box-shadow: var(--ycc-shadow-sm, 0 1px 3px rgba(0,0,0,0.05));
  margin-top: 16px;
}
html.dark .ycc-endpoint-card {
  background: var(--ycc-surface-dark, #0b1120);
  border-color: var(--ycc-border-dark, rgba(255,255,255,0.08));
}
.ycc-endpoint-top-bar {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}
.ycc-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
  color: #374151;
  background: #f3f4f6;
  border: 1px solid #d1d5db;
}
html.dark .ycc-back-btn {
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
}
.ycc-back-btn:hover {
  color: #2563eb;
  background: #eff6ff;
  border-color: #bfdbfe;
}
html.dark .ycc-back-btn:hover {
  color: #60a5fa;
  background: rgba(37, 99, 235, 0.15);
  border-color: rgba(59, 130, 246, 0.3);
}

/* Edit Account Form Controls */
.woocommerce-EditAccountForm {
  max-width: 720px;
}
.woocommerce-EditAccountForm .woocommerce-form-row {
  margin-bottom: 18px;
}
.woocommerce-EditAccountForm label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #374151;
}
html.dark .woocommerce-EditAccountForm label {
  color: #e2e8f0;
}
.woocommerce-EditAccountForm label .required {
  color: #ef4444;
  text-decoration: none;
}
.woocommerce-EditAccountForm em {
  display: block;
  font-size: 12px;
  color: var(--ycc-text-muted, #6b7280);
  margin-top: 4px;
  font-style: normal;
}
html.dark .woocommerce-EditAccountForm em {
  color: #94a3b8;
}
.woocommerce-EditAccountForm input[type="text"],
.woocommerce-EditAccountForm input[type="email"],
.woocommerce-EditAccountForm input[type="password"] {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  font-size: 14px;
  font-family: inherit;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #111827;
  transition: all 0.2s ease;
  box-sizing: border-box;
}
html.dark .woocommerce-EditAccountForm input[type="text"],
html.dark .woocommerce-EditAccountForm input[type="email"],
html.dark .woocommerce-EditAccountForm input[type="password"] {
  background: rgba(15, 23, 42, 0.7) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #f8fafc !important;
}
.woocommerce-EditAccountForm input:focus {
  outline: none !important;
  border-color: #3b82f6 !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25) !important;
}

/* Password Change Fieldset */
.woocommerce-EditAccountForm fieldset {
  margin: 24px 0 !important;
  padding: 20px !important;
  border-radius: 12px !important;
  border: 1px solid #e5e7eb !important;
  background: #f9fafb !important;
}
html.dark .woocommerce-EditAccountForm fieldset {
  border-color: rgba(255, 255, 255, 0.08) !important;
  background: rgba(15, 23, 42, 0.4) !important;
}
.woocommerce-EditAccountForm fieldset legend {
  font-size: 14px !important;
  font-weight: 700 !important;
  padding: 0 8px !important;
  color: #2563eb !important;
}
html.dark .woocommerce-EditAccountForm fieldset legend {
  color: #60a5fa !important;
}

/* Edit Account Submit Button */
.woocommerce-EditAccountForm button[type="submit"],
.woocommerce-EditAccountForm .woocommerce-Button.button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 12px 28px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
  border: none !important;
  border-radius: 10px !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35) !important;
  transition: all 0.2s ease !important;
  margin-top: 8px !important;
}
.woocommerce-EditAccountForm button[type="submit"]:hover,
.woocommerce-EditAccountForm .woocommerce-Button.button:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e40af) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45) !important;
}

/* ─── Key Manager Details & Dark Theme (Items 10 & 11) ────────────────────── */
.wckm_key,
input.wckm_key,
.wckm-key-box {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  padding: 8px 12px !important;
  border-radius: 8px !important;
  letter-spacing: 0.05em !important;
  box-sizing: border-box !important;
  background: #f8fafc !important;
  color: #2563eb !important;
  border: 1px solid #cbd5e1 !important;
}
html.dark .wckm_key,
html.dark input.wckm_key,
html.dark .wckm-key-box {
  background: rgba(15, 23, 42, 0.85) !important;
  color: #60a5fa !important;
  border: 1px solid rgba(59, 130, 246, 0.35) !important;
}

/* Key Details Table */
.woocommerce-table--order-details,
.woocommerce-orders-table,
.wckm_key_details_table,
.ycc-endpoint-inner-content table {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  border: 1px solid #e5e7eb !important;
  background: #ffffff !important;
  margin: 16px 0 !important;
}
html.dark .woocommerce-table--order-details,
html.dark .woocommerce-orders-table,
html.dark .wckm_key_details_table,
html.dark .ycc-endpoint-inner-content table {
  border-color: rgba(255, 255, 255, 0.08) !important;
  background: rgba(15, 23, 42, 0.6) !important;
}
.ycc-endpoint-inner-content table th {
  padding: 12px 16px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #4b5563 !important;
  background: #f9fafb !important;
  border-bottom: 1px solid #e5e7eb !important;
  text-align: left !important;
}
html.dark .ycc-endpoint-inner-content table th {
  color: #94a3b8 !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}
.ycc-endpoint-inner-content table td {
  padding: 12px 16px !important;
  font-size: 13px !important;
  color: #1f2937 !important;
  border-bottom: 1px solid #f3f4f6 !important;
}
html.dark .ycc-endpoint-inner-content table td {
  color: #e2e8f0 !important;
  border-bottom-color: rgba(255, 255, 255, 0.05) !important;
}

/* Eliminate Red Borders & Unstyled Buttons (Item 11) */
.ycc-endpoint-card a.button,
.ycc-endpoint-card button:not([type="submit"]),
.wckm_key_action,
.woocommerce-orders-table__cell-order-actions .button,
.woocommerce-table .button {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 7px 14px !important;
  border-radius: 8px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  text-decoration: none !important;
  border: 1px solid #d1d5db !important;
  color: #374151 !important;
  background: #f9fafb !important;
  box-shadow: none !important;
  transition: all 0.15s ease !important;
}
html.dark .ycc-endpoint-card a.button,
html.dark .ycc-endpoint-card button:not([type="submit"]),
html.dark .wckm_key_action,
html.dark .woocommerce-orders-table__cell-order-actions .button,
html.dark .woocommerce-table .button {
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #e2e8f0 !important;
  background: rgba(255, 255, 255, 0.05) !important;
}
.ycc-endpoint-card a.button:hover,
.ycc-endpoint-card button:not([type="submit"]):hover,
.wckm_key_action:hover,
.woocommerce-orders-table__cell-order-actions .button:hover,
.woocommerce-table .button:hover {
  background: #2563eb !important;
  color: #ffffff !important;
  border-color: #2563eb !important;
}

/* Clean Info / Message Boxes in Account */
.ycc-endpoint-inner-content .woocommerce-info,
.ycc-endpoint-inner-content .woocommerce-message {
  padding: 14px 18px !important;
  border-radius: 12px !important;
  font-size: 13px !important;
  margin: 16px 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  border: 1px solid #bfdbfe !important;
  background: #eff6ff !important;
  color: #1e40af !important;
}
html.dark .ycc-endpoint-inner-content .woocommerce-info,
html.dark .ycc-endpoint-inner-content .woocommerce-message {
  border-color: rgba(59, 130, 246, 0.3) !important;
  background: rgba(15, 23, 42, 0.7) !important;
  color: #93c5fd !important;
}
.ycc-endpoint-inner-content .woocommerce-info a,
.ycc-endpoint-inner-content .woocommerce-message a {
  color: #2563eb !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
}
html.dark .ycc-endpoint-inner-content .woocommerce-info a,
html.dark .ycc-endpoint-inner-content .woocommerce-message a {
  color: #60a5fa !important;
}

