/*
Theme Name: Memberlite - Child Theme
Theme URI: https://www.paidmembershipspro.com/themes/memberlite
Description: This is a Memberlite child theme.   
Author: Kim Coleman
Author URI: https://www.strangerstudios.com/  
Template: memberlite
Version: 1.0
License: GPL-2.0+  
License URI: http://www.gnu.org/licenses/gpl-2.0.html  
*/

/* Hide PMPro invoice page navigation links */
.pmpro_actions_nav {
  display: none !important;
}

/* ============================================
   Subscription Signup Form Styles
   ============================================ */
.signup-container {
  background: #eee;
  border: 1px solid rgba(200, 200, 200, 0.5);
  border-radius: 16px;
  padding: 50px 40px;
  width: 100%;
  max-width: 1080px; /* Keep wide for 2-col layout */
  margin: 0 auto;
  box-sizing: border-box;
}
/* Layout Structure */
.d-flex {
  display: flex;
  justify-content: center;
  align-items: center;
}

.d-flex-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.d-flex-column {
  flex-direction: column;
}

.align-center {
  text-align: center;
}

.justify-center {
  justify-content: center;
}

.justify-flex-start {
  justify-content: flex-start;
}

.site-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
}

.header-logo-wrapper {
  width: 100%;
  padding: 20px 0;
  text-align: center;
  background: #c8c8c833;
}

.main-content-wrapper {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
}

.footer-bar-wrapper {
  width: 100%;
  margin-top: auto;
}

.footer-bar {
  /* Ensure existing footer bar is full width */
  width: 100%;
  box-sizing: border-box;
}

/* Body and Container */
body {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  background: #f8f8f8;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

.content-container {
  background: white;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 1080px;
  width: 100%;
  padding: 40px;
}

/* Logo */
.header-logo-wrapper .logo {
  align-items: flex-start;
  margin-left: 2rem;
}

.header-logo-wrapper .logo .logo-bold {
  font-family: "Fira Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-size: 40px;
  line-height: 1;
}

.header-logo-wrapper .logo .logo-light {
  font-family: "Fira Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 40px;
  line-height: 1;
}

/* Typography */
h1 {
  color: #333;
  font-size: 24px;
  margin-bottom: 10px;
  text-align: center;
}

.subtitle {
  color: #666;
  font-size: 14px;
  text-align: center;
  margin-bottom: 30px;
}

/* Subscription Details */
.subscription-details {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 30px;
}

.subscription-details h3 {
  margin: 0 0 10px 0;
  color: #333;
  font-size: 18px;
}

.subscription-details p {
  margin: 5px 0;
  color: #666;
  font-size: 14px;
}

.subscription-details .price {
  font-size: 32px;
  font-weight: bold;
  color: #084d49;
  margin: 15px 0 5px 0;
}

/* Form Elements */
.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 5px;
  color: #333;
  font-weight: 500;
  font-size: 14px;
}

input[type="email"],
input[type="text"],
input[type="password"] {
  height: 48px;
  background: white;
  border: 1px solid rgba(29, 35, 42, 0.5);
  border-radius: 4px;
  padding: 0 12px;
  color: rgba(29, 35, 42, 0.8);
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 400;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.3s;
}

input[type="email"]::placeholder,
input[type="text"]::placeholder,
input[type="password"]::placeholder {
  color: rgba(29, 35, 42, 0.8);
  opacity: 0.7;
}

input[type="email"]:focus,
input[type="text"]:focus,
input[type="password"]:focus {
  outline: none;
  border-color: #00d390;
}

input[readonly] {
  background-color: #f8f9fa;
  color: #666;
}

.password-requirements {
  font-size: 12px;
  color: #666;
  margin-top: 5px;
  line-height: 1.5;
}

/* Buttons */
.submit-btn {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  background: #00d390;
  color: #004c39;
  border: 1px solid #00d390;
  border-radius: 4px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  text-shadow: 0px 0.5px 0px rgba(255, 255, 255, 0.15);
}

.submit-btn:hover {
  background: #00b57c;
  border-color: #00b57c;
  transform: translateY(-1px);
}

.submit-btn:active {
  transform: translateY(0);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Error Messages */
.error-message {
  color: #dc3545;
  font-size: 14px;
  margin-top: 10px;
  padding: 10px;
  background: #fff5f5;
  border-radius: 6px;
  border-left: 4px solid #dc3545;
  display: none;
}

.error-message.show {
  display: block;
}

/* Help Text */
.help-text {
  font-size: 12px;
  color: #999;
  text-align: center;
  margin-top: 20px;
}

/* Tab Styles */
.tabs {
  margin-bottom: 20px;
}

.tab-header {
  display: flex;
  border-bottom: 2px solid #eee;
  margin-bottom: 20px;
}

.tab-step {
  flex: 1;
  text-align: center;
  padding: 10px;
  font-weight: 600;
  color: #999;
  cursor: default;
  position: relative;
}

.tab-step.active {
  color: #084d49;
}

.tab-step.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #084d49;
}

.tab-step.completed {
  color: #28a745;
}

.step-content {
  display: none;
}

.step-content.active {
  display: block;
  animation: fadeIn 0.5s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Terms Container */
.terms-container {
  height: 300px;
  overflow-y: auto;
  border: 1px solid #ddd;
  padding: 15px;
  border-radius: 6px;
  margin-bottom: 15px;
  font-size: 13px;
  line-height: 1.6;
  background: #f9f9f9;
}

/* Checkbox Container */
.checkbox-container {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.checkbox-container input {
  margin-right: 10px;
  width: auto;
}

/* ============================================
   Code Lookup Form Styles
   ============================================ */

/* Body and Container */
.lookup-container {
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  max-width: 1080px;
  width: 100%;
  padding: 40px;
}

/* Typography */
.lookup-container h1 {
  color: #333;
  margin-bottom: 10px;
  font-size: 28px;
}

.lookup-container .subtitle {
  color: #666;
  margin-bottom: 30px;
  font-size: 16px;
}

/* Form Elements */
.lookup-container .form-group {
  margin-bottom: 25px;
}

.lookup-container label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
}

.lookup-container input[type="text"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
  box-sizing: border-box;
}

.lookup-container input[type="text"]:focus {
  outline: none;
  border-color: #084d49;
}

/* Buttons */
.lookup-container .btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.lookup-container .btn-primary {
  background: #084d49;
  color: white;
}

.lookup-container .btn-primary:hover:not(:disabled) {
  background: #004c39;
}

.lookup-container .btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Messages */
.lookup-container .error-message {
  background: #fee;
  border: 1px solid #fcc;
  color: #c33;
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 20px;
  display: none;
}

.lookup-container .success-message {
  background: #efe;
  border: 1px solid #cfc;
  color: #3c3;
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 20px;
  display: none;
}

/* Spinner */
.lookup-container .spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  margin-left: 8px;
  vertical-align: middle;
  display: none;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ============================================
   Signup Error Page Styles
   ============================================ */

/* Body and Container */
.error-container {
  background: #eee;
  border: 1px solid rgba(200, 200, 200, 0.5);
  border-radius: 16px;
  box-shadow: none;
  max-width: 500px;
  width: 100%;
  padding: 50px 40px;
  text-align: center;
  margin: 0 auto;
}

/* Typography */
.error-container .error-title {
  color: #c0392b;
  font-size: 26px;
  margin: 0 0 15px 0;
}

.error-container .error-message {
  color: #555;
  font-size: 16px;
  margin: 0 0 25px 0;
}

/* Actions */
.error-container .error-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.error-container .btn {
  padding: 12px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.error-container .btn-primary {
  background: #00d390;
  color: #004c39;
  border: 1px solid #00d390;
  box-shadow: none;
  font-family: "Inter", sans-serif;
  text-shadow: 0px 0.5px 0px rgba(255, 255, 255, 0.15);
}

.error-container .btn-primary:hover {
  background: #00b57c;
  border-color: #00b57c;
  transform: translateY(-1px);
  box-shadow: none;
}

.error-container .btn-secondary {
  background: #f1f2f6;
  color: #333;
}

.error-container .btn-secondary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

/* Support Text */
.error-container .support-text {
  color: #777;
  font-size: 13px;
  margin: 0;
}

.error-container .support-text a {
  color: #084d49;
  text-decoration: none;
  font-weight: 600;
}

.error-container .support-text a:hover {
  text-decoration: underline;
}

/* Footer Bar */
.footer-bar {
  background: #f8f9fa;
  padding: 2rem;
  text-align: center;
  font-size: 14px;
  color: #666;
  border-top: 1px solid #e9ecef;
}
.footer-bar p {
  margin: 0;
}

/* ============================================
   AIA Signup Layout Styles
   ============================================ */
.signup-page-layout {
  display: flex;
  justify-content: center;
  gap: 64px;
  width: 100%;
  align-items: flex-start;
}

/* When responsive, stack them */
@media (max-width: 900px) {
  .signup-page-layout {
    flex-direction: column;
    align-items: center;
  }
  .terms-column {
    width: 100%;
    max-width: 100%;
  }
  .pricing-column {
    width: 100%;
    max-width: 400px;
  }
}

.terms-column {
  flex: 1;
  max-width: 600px;
}

.pricing-column {
  width: 384px;
  flex-shrink: 0;
  margin-top: 2.8rem;
}

/* Pricing Card */
.pricing-card {
  background: white;
  box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.1),
    0px 1px 2px -1px rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.pricing-title {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 30px;
  line-height: 36px;
  color: #18181b;
  margin: 0;
}

.pricing-amount {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 28px;
  color: #18181b;
  margin-top: 4px;
}

.pricing-features {
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  line-height: 16px;
  color: #18181b;
}

.feature-icon {
  width: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Buy Button */
.buy-button {
  background-color: #00d390;
  color: #004c39;
  border: 1px solid #00d390;
  border-radius: 4px;
  padding: 0 16px;
  height: 40px;
  width: 100%;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0px 4px 3px -2px #00d390, 0px 3px 2px -2px #00d390;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: none;
}
.buy-button:hover {
  opacity: 0.9;
}
.buy-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}

/* Terms Box text area style from design */
.terms-box-wrapper {
  overflow: hidden;
  border: 1px solid #fff;
  box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.1),
    0px 1px 2px -1px rgba(0, 0, 0, 0.1);
  border-radius: 16px;
}
.terms-box-styled {
  background: white;
  border-radius: 16px;
  padding: 12px;
  min-height: 250px;
  max-height: 400px;
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.2;
  color: #18181b;
  overflow-y: auto;
  margin-bottom: 0;
  white-space: pre-wrap;
  text-align: justify;
}

.terms-box-styled p {
  line-height: 1.2;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.terms-box-styled h2 {
  line-height: 1.2;
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
}

.terms-box-styles h3 {
  line-height: 1.2;
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.terms-box-styles ul li {
  margin: 0 0 1rem 1rem;
}

.terms-label {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 12px;
  color: #18181b;
  margin-bottom: 8px;
  display: block;
}

/* Checkbox specific to design */
.design-checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}
.design-checkbox-label {
  font-family: "Inter", sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: black;
  line-height: 1;
  margin: 0;
}

/* ============================================
   Styled Form Card (Login Look-alike)
   ============================================ */

/* Wrapper to center the card */
.lookup-form-wrapper {
  flex-direction: column;
  padding: 60px 20px;
  background: transparent; /* Remove white bg from wrapper */
  box-shadow: none; /* Remove shadow from wrapper */
}

/* The Card Itself */
.styled-form-card {
  background: #eee; /* var(--main/color/base/300) */
  border: 1px solid rgba(200, 200, 200, 0.5); /* var(--main/color/content-scale/50%) */
  border-radius: 16px;
  padding: 50px 16px 16px 16px; /* pt-50px px-16px pb-16px */
  width: 350px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0 auto;
  text-align: left;
  box-sizing: border-box;
}

/* Typography override */
.styled-form-card h1 {
  font-size: 20px;
  margin-top: -30px;
  margin-bottom: 5px;
  text-align: center;
}

.styled-form-card .subtitle {
  font-size: 13px;
  margin-bottom: 20px;
  text-align: center;
}

/* Input Field */
.styled-form-card input[type="text"] {
  height: 48px;
  background: white; /* var(--main/color/base/100) */
  border: 1px solid rgba(29, 35, 42, 0.5); /* var(--main/color/neutral-scale/50%) */
  border-radius: 4px;
  padding: 0 12px;
  color: rgba(29, 35, 42, 0.8); /* var(--main/color/neutral-scale/80%) */
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 400;
  width: 100%;
  box-sizing: border-box;
}

.styled-form-card input[type="text"]::placeholder {
  color: rgba(29, 35, 42, 0.8);
  opacity: 0.7;
}

/* Button */
.styled-form-card .btn-primary {
  background: #00d390; /* var(--main/color/success/success) */
  border: 1px solid #00d390;
  border-radius: 4px;
  height: 48px;
  width: 100%;
  color: #004c39; /* var(--main/color/success/content) */
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  text-shadow: 0px 0.5px 0px rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.styled-form-card .btn-primary:hover {
  background: #00b57c;
  border-color: #00b57c;
}

/* Form Group spacing inside card */
.styled-form-card .form-group {
  margin-bottom: 0;
  width: 100%;
}

/* ============================================
   Subscription Results Styles
   ============================================ */

.subscription-results-wrapper {
  width: 100%;
}

.subscription-list {
  display: none;
  margin-top: 30px;
  width: 100%;
  max-width: 600px;
}

.subscription-list-title {
  color: #333;
  margin-bottom: 15px;
}

.subscription-item {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 15px;
  margin-bottom: 15px;
  cursor: pointer;
  transition: all 0.3s;
}

.subscription-item:hover {
  border-color: #084d49;
  box-shadow: 0 2px 8px rgba(0, 76, 57, 0.2);
}

.subscription-item-title {
  margin: 0 0 8px 0;
  color: #333;
}

.subscription-item-description {
  margin: 0 0 8px 0;
  color: #666;
  font-size: 14px;
}

.subscription-item-price {
  margin: 0;
  font-weight: 600;
  color: #084d49;
  font-size: 18px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
