/* === Custom Login / My Account Styles === */

body.woocommerce-account {
  background: #f8f9fa;
  min-height: 100vh;
  padding: 0;
}

/* Center the login/register card while keeping the header at the top */
body.woocommerce-account #primary {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center; /* vertical centering */
  align-items: center;
  padding: 6rem 1rem 4rem; /* space for sticky header & bottom */
  min-height: calc(100vh - 120px); /* compensate for header height */
  width: 100%;
  max-width: none;
}

.woocommerce {
  max-width: 480px;
  width: 100%;
  background: #fff;
  padding: 2.5rem 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.08);
  margin: 0 auto;
}

.woocommerce h2 {
  text-align: center;
  color: #00a04a;
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
}

.woocommerce form {
  margin: 0;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row input[type="text"],
.woocommerce form .form-row input[type="password"],
.woocommerce form .form-row input[type="email"] {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ced4da;
  border-radius: 6px;
  font-size: 0.95rem;
}

.woocommerce form .form-row input:focus {
  outline: none;
  border-color: #00a04a;
  box-shadow: 0 0 0 2px rgba(0,160,74,0.15);
}

.woocommerce button.button {
  width: 100%;
  background: #d62329;
  color: #fff;
  border: none;
  padding: 0.9rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  transition: background 0.25s ease;
  margin-top: 1rem;
}

.woocommerce button.button:hover {
  background: #b71c20;
}

.woocommerce .lost_password a {
  color: #00a04a;
}

.woocommerce .woocommerce-error,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-message {
  border-radius: 8px;
}

/* Hide notices on minimal login */
body.woocommerce-account .woocommerce-notices-wrapper {
  margin-bottom: 1rem;
}

/* === TWO-COLUMN LOGIN & REGISTER LAYOUT === */
.woocommerce .u-columns.col2-set {
  display: flex;
  gap: 2rem;
}

.woocommerce .u-column1,
.woocommerce .u-column2 {
  flex: 1 1 0;
  padding: 0 0.25rem;
}

@media (max-width: 600px) {
  .woocommerce .u-columns.col2-set {
    flex-direction: column;
  }
  .woocommerce .u-column1,
  .woocommerce .u-column2 {
    padding: 0;
  }
}

/* === LOGGED-IN ACCOUNT DASHBOARD STYLES === */
.account-wrapper {
  display: flex;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.account-nav {
  flex: 0 0 200px;
}

.account-content {
  flex: 1 1 0;
}

.account-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.account-nav li {
  margin-bottom: 0.5rem;
}

.account-nav a {
  display: block;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  color: #333;
  background: #f8f9fa;
  font-weight: 600;
  transition: all 0.2s;
  text-decoration: none;
}

.account-nav a:hover,
.account-nav li.is-active a,
.account-nav li.current-menu-item a,
.woocommerce-MyAccount-navigation-link.is-active a {
  background: #00a04a;
  color: #fff;
} 