/* =========================================
   Garnier – Simple Login Wall
   Tweak via the variables below.
   ========================================= */
:root{
  /* Page background */
  --gw-bg-image: url('../images/garnier-green-room-splash-image.webp'); /* place file in /assets/images/ */
  --gw-bg-color: #0b0f12;

  /* Card */
  --gw-card-width: 460px;    /* ← change card width */
  --gw-card-pad: 28px;       /* ← change card padding */
  --gw-card-radius: 16px;
  --gw-card-bg: rgba(255,255,255,0.4); /* glass */
  --gw-card-border: rgba(255,255,255,0.22);
  --gw-card-text: #111827;

  /* Accent */
  --gw-accent: #005C43;
}

body.login-wall{
  min-height:100vh;
  background: var(--gw-bg-color) var(--gw-bg-image) center/cover fixed no-repeat;
}

.woocommerce-account .entry-content .woocommerce h2 {
  display: none !important;
}

.woocommerce-account .entry-content .woocommerce {
    padding: 0;
    border: 0;
}

.ast-plain-container.ast-no-sidebar #primary {
  margin: 0;
}

/* Center wrapper */
.gw-wall{
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

/* Logo above the card */
.gw-logo{
  margin-bottom: 20px;
  width: 250px !important;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.35));
}

/* Glass card */
.gw-card{
  width: min(var(--gw-card-width), 92vw);
  background: var(--gw-card-bg);
  color: var(--gw-card-text);
  border-radius: var(--gw-card-radius);
  padding: var(--gw-card-pad);
  border: 1px solid var(--gw-card-border);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(14px); /* Safari */
  box-shadow: 0 16px 40px rgba(0,0,0,.28);
}

/* Title + intro copy (inside card) */
.gw-card-title{
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 800;
}
.gw-intro{
  margin: 0 0 16px;
  color: #000;
}

/* Tidy Woo form spacing */
.gw-card .woocommerce form.login,
.gw-card .woocommerce form.lost_reset_password{
  margin:0 !important; border:0 !important; padding:0 !important;
}
.gw-card .woocommerce h2{ display:none; } /* hide Woo’s default H2 */

/* Labels + inputs */
.gw-card label{
  font-weight:400;
  margin-bottom:6px;
  display:inline-block;
}
.gw-card input.input-text,
.gw-card input[type="email"],
.gw-card input[type="password"],
.gw-card input[type="text"]{
  width:100%;
  border:1px solid #e5e7eb;
  border-radius:10px;
  padding:12px 14px;
  outline:none;
  transition: box-shadow .2s, border-color .2s;
}
.gw-card input:focus{
  border-color: var(--gw-accent);
  box-shadow: 0 0 0 4px rgba(154,217,78,.18);
}

label.woocommerce-form__label.woocommerce-form__label-for-checkbox.woocommerce-form-login__rememberme {
  margin-bottom: 18px;
  text-align: left;
}

label.woocommerce-form__label.woocommerce-form__label-for-checkbox.woocommerce-form-login__rememberme {
  font-weight: 400;
}

/* Submit button */
.gw-card .button,
.gw-card button.button,
.gw-card input[type="submit"]{
  margin: 0 auto !important;
  display: inline-block !important;
  width: auto;
  border:0;
  border-radius:0;
  padding: 12px 32px;
  font-weight:400;
  font-size: 14px;
  line-height: 18px;
  cursor:pointer;
  background: var(--gw-accent);
  color:#fff;

  transition: transform .05s, filter .2s;
}

/* Center the login button when inline-block */
.form-row {
  text-align: center; /* center-align contents of the form row */
}

.gw-card .button:hover{ background: #004A36; }
.gw-card .button:active{ background: #004A36; }

/* Lost password link + notices */
.gw-card .lost_password{ margin-top:10px; }
.gw-card .lost_password a{ color:#000; text-decoration:none; }
.gw-card .lost_password a:hover{ text-decoration:underline; }

.woocommerce-error, .woocommerce-message, .woocommerce-info{
  border-radius:10px;
}