/**
 * Theme Name:     Woodmart Child
 * Author:         XTemos
 * Template:       woodmart
 * Text Domain:	   woodmart-child
 * Description:    ThemeForest Premium Theme
 * Theme URI:      https://profiles.wordpress.org/maocular/
 * Author URI:     https://michaelakinwumi.com/
 */

/* child-theme style.css */
.iti { width: 100%; }
#wc_checkout_form .wc-intl-phone,
#billing_phone.wc-intl-phone { width: 100%; }

/* Center the login card */
.woocommerce-MyAccount-content .col-login {
  display: flex;
  justify-content: center;
}

/* Card container */
.nbh-login-card {
  max-width: 420px;
  width: 100%;
  background: #ffffff;
  padding: 32px 24px 40px;
  border-radius: 16px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
  margin: 40px auto;
}

/* Logo area */
.nbh-login-logo {
  text-align: center;
  margin-bottom: 12px;
}
.nbh-login-logo img {
  max-height: 48px;
  width: auto;
  margin: 0 auto;
}
.nbh-logo-text {
  font-weight: 700;
  font-size: 26px;
}

/* Heading + subtitle */
.nbh-login-heading {
  text-align: center;
  font-size: 26px;
  margin: 4px 0 8px;
}
.nbh-login-subtitle {
  text-align: center;
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin-bottom: 24px;
}

/* Remove WoodMart default form box styling inside card */
.nbh-login-card .woocommerce-form-login {
  border: none;
  padding: 0;
  margin: 0;
}

/* Field layout */
.nbh-login-card .woocommerce-form-login .form-row {
  margin-bottom: 16px;
}

/* Inputs */
.nbh-login-card .woocommerce-form-login input.input-text {
  width: 100%;
  border-radius: 10px;
  padding: 12px 14px 12px 40px; /* space for icon */
  border: 1px solid #ddd;
  font-size: 14px;
}

/* Email & password icons using pseudo-elements */
.nbh-login-card .woocommerce-form-login .form-row:nth-of-type(1) {
  position: relative;
}
.nbh-login-card .woocommerce-form-login .form-row:nth-of-type(1)::before {
  content: "\2709"; /* envelope symbol */
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: #999;
}
.nbh-login-card .woocommerce-form-login .form-row:nth-of-type(2) {
  position: relative;
}
.nbh-login-card .woocommerce-form-login .form-row:nth-of-type(2)::before {
  content: "\1F512"; /* lock symbol */
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: #999;
}

/* Remember me + forgot password row */
.nbh-login-card .woocommerce-form-login .form-row:nth-of-type(3) {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Login button styled like mockup */
.nbh-login-card .woocommerce-form-login button[type="submit"],
.nbh-login-card .woocommerce-form-login .woocommerce-button {
  width: 100%;
  border-radius: 999px;
  background: #f4731f; /* NBH orange */
  color: #fff;
  font-weight: 600;
  padding: 12px 16px;
  border: none;
  margin-top: 8px;
}

/* Divider: "Sign in with" */
.nbh-login-divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: #888;
  font-size: 13px;
  margin: 24px 0 12px;
}
.nbh-login-divider::before,
.nbh-login-divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #eee;
}
.nbh-login-divider span {
  padding: 0 10px;
}

/* Social buttons */
.nbh-social-buttons .nbh-btn {
  display: block;
  width: 100%;
  border-radius: 10px;
  padding: 10px 14px;
  border: 1px solid transparent;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
}
.nbh-btn-facebook {
  background: #1877f2;
  color: #fff;
}
.nbh-btn-apple {
  background: #000000;
  color: #fff;
}
.nbh-btn-google {
  background: #ffffff;
  color: #444;
  border-color: #ddd;
}

/* Mobile tweaks */
@media (max-width: 768px) {
  .nbh-login-card {
    margin: 24px auto;
  }
}
