/* ============================================================
   Tomorrow Clubs International — Custom Login/Register Styles v2
   Override for Easy Login WooCommerce plugin (v3.1.2)
   Place in: /wp-content/themes/tci/assets/css/tc-login-custom.css
   ============================================================ */

:root {
  --tc-orange:        #DB9227;
  --tc-orange-hover:  #F4A43C;
  --tc-orange-press:  #a96c17;
  --tc-orange-light:  #fde3b8;
  --tc-purple:        #C89EF4;
  --tc-text:          #4C3A2A;
  --tc-heading-color: #6C5648;
  --tc-subtext:       #6c5648;
  --tc-border:        #D8CEC9;
  --tc-placeholder:   #A89088;
  --tc-green-note:    #EEF6E8;
  --tc-green-border:  #82c491;
  --tc-radius-btn:    50px;
  --tc-radius-input:  8px;
  --tc-sidebar-w:     55%;
}

/* ── Popup Container ──────────────────────────────────────── */
.xoo-el-container.xoo-el-style-slider .xoo-el-modal {
  background: transparent;
}

.xoo-el-container.xoo-el-style-slider .xoo-el-inmodal {
  width: 100vw !important;
  max-width: 100vw !important;
  height: 100vh !important;
  max-height: 100vh !important;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* ── Close button: white circle with × ───────────────────── */
.xoo-el-container span.xoo-el-close {
  position: fixed !important;
  top: 20px !important;
  right: 20px !important;
  z-index: 99999 !important;
  width: 40px !important;
  height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #fff !important;
  border: 1.5px solid #D8CEC9 !important;
  border-radius: 50% !important;
  color: transparent !important;
  font-size: 0 !important;
  cursor: pointer !important;
  transition: background 0.2s, border-color 0.2s !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10) !important;
  text-decoration: none !important;
}

.xoo-el-container span.xoo-el-close::before {
  content: '×' !important;
  font-size: 24px !important;
  font-family: Arial, sans-serif !important;
  font-weight: 300 !important;
  line-height: 1 !important;
  color: #6c5648 !important;
  display: block !important;
}

.xoo-el-container span.xoo-el-close:hover {
  background: #fde3b8 !important;
  border-color: var(--tc-orange) !important;
}

.xoo-el-container span.xoo-el-close:hover::before {
  color: var(--tc-orange) !important;
}

/* ── Two-column layout ────────────────────────────────────── */
.xoo-el-wrap {
  direction: ltr !important;
  display: flex !important;
  flex-direction: row !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100vh;
}

/* ── Right column: sidebar image ──────────────────────────── */
.xoo-el-sidebar {
  order: 2 !important;
  flex: 0 0 var(--tc-sidebar-w) !important;
  width: var(--tc-sidebar-w) !important;
  min-width: var(--tc-sidebar-w) !important;
  background-image: url('https://tomorrowclubs.org/wp-content/uploads/2026/04/login-reg-bg_desktop.jpeg') !important;
  background-size: cover !important;
  background-position: left top !important;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  display: block !important;
  min-height: 100%;
}

/* ── Left column: form area ────────────────────────────────── */
.xoo-el-srcont {
  order: 1 !important;
  flex: 1 1 auto !important;
  background: #fff !important;
  display: flex !important;
  flex-direction: column !important;
  overflow-y: auto;
  padding: 0 !important;
}

/* Vertically + horizontally center form in left column */
.xoo-el-main {
  padding: 0 !important;
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  overflow: hidden !important;
}

/* ── Form container ──────────────────────────────────────── */
.xoo-el-form-container {
  width: 100%;
  max-width: 440px;
  padding: 32px 0 !important;
  margin: 0 auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* ── Logo: left-aligned relative to form ────────────────── */
.popup-header-wraper {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: normal;
    align-items: normal;
    width: 100%;
    height: initial;
    flex-grow: 0;
    justify-content: flex-start;
    gap: 0px;
    margin: 0px;
    padding-top: 45px;
    padding-right: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
    overflow: visible;
}

.popup-header {
    width: 440px;
    margin: 0 auto;
}

.tc-popup-logo {
  display: block;
  width: 230px;
  height: auto;
  flex-shrink: 0;
}

/* ── Headings ────────────────────────────────────────────── */
.tc-custom-title {
  font-family: "Cooper", sans-serif !important;
  font-size: 50px !important;
  font-weight: 600 !important;
  line-height: 1.1 !important;
  color: var(--tc-heading-color) !important;
  margin: 0 0 8px 0 !important;
  text-align: center !important;
}

.tc-custom-title .purple-text {
  color: var(--tc-purple) !important;
}

.tc-custom-subtitle {
  font-family: Ubuntu, sans-serif !important;
  font-size: 15px !important;
  color: var(--tc-subtext) !important;
  margin: 0 0 24px 0 !important;
  font-weight: 400 !important;
  text-align: center !important;
}

.tc-custom-subtitle a {
  color: var(--tc-orange) !important;
  text-decoration: underline !important;
  font-weight: 500 !important;
}

.tc-custom-subtitle a:hover {
  color: var(--tc-orange-hover) !important;
  text-decoration: none !important;
}

/* ── Hide plugin footer nav (duplicate links) ─────────────── */
span.xoo-el-nav-ft,
.xoo-el-fields > span.xoo-el-nav-ft,
.xoo-el-fields > span.xoo-el-login-tgr,
.xoo-el-fields > span.xoo-el-reg-tgr {
  display: none !important;
}

/* Hide default tabs header */
.xoo-el-header {
  display: none !important;
}

/* ── Input fields ────────────────────────────────────────── */
.xoo-aff-group {
  margin-bottom: 14px !important;
}

.xoo-aff-group input[type="text"],
.xoo-aff-group input[type="password"],
.xoo-aff-group input[type="email"] {
  background-color: #fff !important;
  border: 1.5px solid var(--tc-border) !important;
  border-radius: var(--tc-radius-input) !important;
  height: 50px !important;
  padding: 0 40px 0 16px !important;
  font-family: Ubuntu, sans-serif !important;
  font-size: 15px !important;
  color: var(--tc-text) !important;
  width: 100% !important;
  box-sizing: border-box !important;
  outline: none !important;
  box-shadow: none !important;
  transition: border-color 0.2s !important;
}

.xoo-aff-group input[type="text"]::placeholder,
.xoo-aff-group input[type="password"]::placeholder,
.xoo-aff-group input[type="email"]::placeholder {
  color: var(--tc-placeholder) !important;
}

.xoo-aff-group input[type="text"]:focus,
.xoo-aff-group input[type="password"]:focus,
.xoo-aff-group input[type="email"]:focus {
  border-color: var(--tc-orange) !important;
  background-color: #fdf6ec !important;
}

.xoo-aff-input-icon {
  display: none !important;
}

.xoo-aff-input-group {
  position: relative !important;
}

.xoo-aff-pw-toggle {
  position: absolute !important;
  right: 12px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: var(--tc-placeholder) !important;
  cursor: pointer !important;
  font-size: 15px !important;
  z-index: 2;
}

/* ── Remember me row ─────────────────────────────────────── */
.xoo-el-login-btm-fields {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 20px !important;
  margin-top: 4px !important;
}

a.xoo-el-lostpw-tgr {
  font-family: Ubuntu, sans-serif !important;
  font-size: 14px !important;
  color: var(--tc-subtext) !important;
  text-decoration: underline !important;
  cursor: pointer !important;
  float: none !important;
  display: inline !important;
  margin: 0 !important;
}

a.xoo-el-lostpw-tgr:hover {
  color: var(--tc-orange) !important;
  text-decoration: none !important;
}

/* ── Custom checkboxes ───────────────────────────────────── */
.xoo-el-form-label input[type="checkbox"],
.xoo-aff-checkbox_single input[type="checkbox"] {
  -webkit-appearance: none !important;
  appearance: none !important;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  border: 1.5px solid #B8A89E !important;
  border-radius: 5px !important;
  background: #fff !important;
  cursor: pointer !important;
  position: relative !important;
  transition: border-color 0.2s, background 0.2s !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
  vertical-align: middle !important;
}

.xoo-el-form-label input[type="checkbox"]:hover,
.xoo-aff-checkbox_single input[type="checkbox"]:hover {
  border-color: var(--tc-orange) !important;
}

.xoo-el-form-label input[type="checkbox"]:checked,
.xoo-aff-checkbox_single input[type="checkbox"]:checked {
  background-color: var(--tc-orange) !important;
  border-color: var(--tc-orange) !important;
}

.xoo-el-form-label input[type="checkbox"]:checked::after,
.xoo-aff-checkbox_single input[type="checkbox"]:checked::after {
  content: '' !important;
  display: block !important;
  position: absolute !important;
  top: 2px !important;
  left: 5px !important;
  width: 7px !important;
  height: 11px !important;
  border: 2px solid #fff !important;
  border-top: none !important;
  border-left: none !important;
  transform: rotate(45deg) !important;
}

.xoo-el-form-label {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  cursor: pointer !important;
  font-family: Ubuntu, sans-serif !important;
  font-size: 14px !important;
  color: var(--tc-subtext) !important;
  user-select: none !important;
}

.xoo-aff-checkbox_single label {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  cursor: pointer !important;
  font-family: Ubuntu, sans-serif !important;
  font-size: 14px !important;
  color: #98897F !important;
  line-height: 1.5 !important;
}

.xoo-aff-checkbox_single label a {
  color: var(--tc-subtext) !important;
  text-decoration: underline !important;
}

/* ── Submit button ───────────────────────────────────────── */
.xoo-el-form-container button.btn.button.xoo-el-action-btn,
.xoo-el-form-container button.xoo-el-action-btn {
  width: 180px !important;
  margin: 0 auto !important;
/*  background-color: var(--tc-orange) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--tc-radius-btn) !important;
  height: 52px !important;
  max-width: 260px !important;
  min-width: 180px !important;
  padding: 0 32px !important;
  font-family: Ubuntu, sans-serif !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  letter-spacing: 0.03em !important;
  cursor: pointer !important;
  transition: background-color 0.2s, box-shadow 0.2s, transform 0.1s !important;
  box-shadow: 0 4px 14px rgba(219, 146, 39, 0.30) !important;
  display: block !important;
  margin: 20px auto 0 !important;
  text-align: center !important; */
}

.xoo-el-form-container button.xoo-el-action-btn:hover {
  background-color: var(--tc-orange-hover) !important;
}

.xoo-el-form-container button.xoo-el-action-btn:active {
  background-color: var(--tc-orange-press) !important;
  transform: scale(0.98) !important;
}

.xoo-el-form-container button.xoo-el-action-btn:disabled {
  background-color: #e8d5b0 !important;
  color: #b5a080 !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
}

/* ── Password Recovery info box ──────────────────────────── */
.tc-recovery-note {
  background: var(--tc-green-note);
  border-left: 3px solid var(--tc-green-border);
  border-radius: 6px;
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 14px;
  font-family: Ubuntu, sans-serif;
  color: #557a46;
  line-height: 1.55;
}

.tc-recovery-note strong {
  color: #3d5c33;
  font-weight: 700;
}

span.xoo-el-form-txt {
  display: none !important;
}

/* ── Back to Login ───────────────────────────────────────── */
a.tc-back-login {
  display: block !important;
  text-align: center !important;
  margin-top: 16px !important;
  font-family: Ubuntu, sans-serif !important;
  font-size: 14px !important;
  color: var(--tc-subtext) !important;
  text-decoration: underline !important;
  cursor: pointer !important;
}

a.tc-back-login:hover {
  color: var(--tc-orange) !important;
  text-decoration: none !important;
}

/* ── Terms under register button ─────────────────────────── */
.tc-terms-txt {
  text-align: center !important;
  font-size: 12px !important;
  color: #A89088 !important;
  margin-top: 12px !important;
  line-height: 1.5 !important;
  font-family: Ubuntu, sans-serif !important;
}

.tc-terms-txt a {
  color: var(--tc-subtext) !important;
  text-decoration: underline !important;
}

/* ── Overlay backdrop ────────────────────────────────────── */
.xoo-el-popup-active .xoo-el-opac {
  opacity: 0.60 !important;
  background-color: #2a1a08 !important;
}

/* ── Hidden elements ────────────────────────────────────── */
.xoo-aff-group.xoo-aff-cont-checkbox_single.one.xoo-aff-cont-required.xoo_el_reg_terms_cont {
    display: none;
}

/* ──────────────────────────────────────────────────────────
   MOBILE (≤ 768px)
   ────────────────────────────────────────────────────────── */
@media (max-width: 768px) {

  .xoo-el-wrap {
    flex-direction: column !important;
  }

  .xoo-el-sidebar {
    order: 3 !important;
    flex: 0 0 220px !important;
    width: 100% !important;
    min-width: 100% !important;
    height: 220px !important;
    min-height: 220px !important;
    background-image: url('https://tomorrowclubs.org/wp-content/uploads/2026/04/login-reg-bg_mob.jpeg') !important;
    background-position: center top !important;
    background-repeat: no-repeat;
    background-size: cover !important;
  }

  .xoo-el-srcont {
    order: 2 !important;
    flex: 1 1 auto !important;
  }

  .xoo-el-main {
    justify-content: flex-start !important;
    padding: 24px !important;
  }

  .xoo-el-form-container {
    padding: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .tc-custom-title {
    font-size: 34px !important;
  }

  .xoo-el-form-container button.xoo-el-action-btn {
    max-width: 100% !important;
  }

  .xoo-el-container span.xoo-el-close {
    top: 12px !important;
    right: 12px !important;
    width: 34px !important;
    height: 34px !important;
  }

  .xoo-el-container span.xoo-el-close::before {
    font-size: 20px !important;
  }
}
