/* =========================================
   WC AUTH – SHARED AUTH PAGES (LOGIN / REGISTER)
========================================= */

/* Hide page title */
body.wc-auth-page .wp-block-post-title,
body.wc-auth-page .wp-block-post-title-container {
  display: none !important;
}

/* =========================================
   FORCE HIDE HEADER & FOOTER (ALL THEMES)
========================================= */

body.wc-auth-page header,
body.wc-auth-page footer,
body.wc-auth-page .site-header,
body.wc-auth-page .site-footer,
body.wc-auth-page #masthead,
body.wc-auth-page #colophon,
body.wc-auth-page .wp-site-blocks > header,
body.wc-auth-page .wp-site-blocks > footer,
body.wc-auth-page .wp-block-template-part {
  display: none !important;
}

/* =========================================
   TAKE OVER FULL VIEWPORT
========================================= */

body.wc-auth-page {
	transform: translatey(-80px);
  margin: 0 !important;
  padding: 0 !important;
  min-height: 100vh;
  width: 100%;
  background: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow: hidden;
}

/* Neutralize theme layout */
body.wc-auth-page #page,
body.wc-auth-page #content,
body.wc-auth-page main,
body.wc-auth-page .site,
body.wc-auth-page .content-area,
body.wc-auth-page .entry-content,
body.wc-auth-page .wp-block-post-content {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: none !important;
}

/* Center everything */
body.wc-auth-page .entry-content,
body.wc-auth-page .wp-block-post-content {
  min-height: 100vh;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* =========================================
   AUTH CARD (USED BY ALL FORMS)
========================================= */

.wc-auth-form {
  width: 100%;
  max-width: 420px;
  background: #ffdddd;
  border-radius: 18px;
  padding: 26px 32px;
  color: #000;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transform: translateY(-30px);
}

/* Title */
.wc-auth-form h2 {
  text-align: center;
  margin-bottom: 28px;
  font-size: 1.7rem;
  font-weight: 600;
}

/* Labels */
.wc-auth-form label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
}

/* Inputs */
.wc-auth-form input[type="text"],
.wc-auth-form input[type="email"],
.wc-auth-form input[type="password"] {
  width: 100%;
  padding: 14px 12px;
  border-radius: 12px;
  border: 1px solid #1e293b;
  background: #fff;
  font-size: 0.95rem;
}

.wc-auth-form input:focus {
  border-color: #ff3f3f;
  box-shadow: 0 0 0 2px rgba(248, 56, 56, 0.25);
  outline: none;
}

/* Button */
.wc-auth-form button {
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  border: none;
  background: #ff3f3f;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

.wc-auth-form button:hover {
  box-shadow: 0 12px 24px rgba(255, 63, 63, 0.4);
}

.wc-auth-form button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Links */
.wc-auth-form a {
  font-size: 12px;
  text-decoration: none;
  color: #333;
}

.wc-auth-form a:hover {
  text-decoration: underline;
}

/* Message */
.wc-auth-message {
  margin-top: 16px;
  text-align: center;
  font-size: 0.9rem;
  color: #555;
}

