/* =========================================
   AUTH PAGE ROOT RESET
========================================= */

.ipv4-auth-page #inner-wrap,
.ipv4-auth-page main,
.ipv4-auth-page .wrap.kt-clear {
  display: block !important;
}

/* =========================================
   PAGE BACKGROUND + CENTERING
========================================= */

.ipv4-auth-wrap {
  min-height: calc(100vh - 120px);
  background: #f8f9fc;
  padding: 32px 16px;

  display: flex;
  justify-content: center;
}

/* =========================================
   AUTH CARD — BASE
========================================= */

.ipv4-auth-card {
  width: 100%;
  max-width: 560px;              /* regular */
  background: #fff;
  border-radius: 28px;
  padding: 40px 32px;
  box-shadow: 0 12px 30px rgba(0,0,0,.12);
}

/* =========================================
   WIDTH MODIFIERS (ONLY THESE)
========================================= */

.ipv4-auth-card.is-wide {
  max-width: 760px;
}

.ipv4-auth-card.is-full {
  max-width: 1100px;
}

/* =========================================
   SPLIT LAYOUT (OPT-IN)
========================================= */

.ipv4-auth-card.is-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

@media (max-width: 900px) {
  .ipv4-auth-card.is-split {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   RESPONSIVE PADDING
========================================= */

@media (min-width: 768px) {
  .ipv4-auth-card {
    padding: 48px 56px;
  }
}

@media (max-width: 640px) {
  .ipv4-auth-card {
    padding: 28px 20px;
    border-radius: 22px;
  }
}

}
/* 
VIDEO
*/

.ipv4-auth-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 8px 20px rgba(0,0,0,.15);
}

.ipv4-auth-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
}



/* 
TYPOGRAPHY
*/

.ipv4-auth-page .ipv4-hero-title {
  font-size: 26px;
  line-height: 1.3;
  margin-bottom: 12px;
}

@media (max-width: 640px) {
  .ipv4-auth-page .ipv4-hero-title {
font-size: 22px;
  }
}

.ipv4-auth-page p {
  font-size: 16px;
  line-height: 1.6;
}

.auth-title {
  font-size: 26px;
}

/* 
FORM ELEMENTS
*/

.ipv4-auth-page label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
}

.ipv4-auth-page input {
  width: 100%;
}

/* Inputs — includes text for password toggle */
.ipv4-auth-page input[type="email"],
.ipv4-auth-page input[type="password"],
.ipv4-auth-page input[type="text"] {
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 16px; /* prevents iOS zoom */
}

.ipv4-auth-page input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 1px rgba(37,99,235,.15);
}

/* 
PASSWORD ROW
*/

.ipv4-password-row {
  position: relative;
}

.ipv4-password-row input {
  padding-right: 64px; /* room for Show/Hide */
}

.ipv4-password-row .toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: #2563eb;
  text-decoration: none;
}

/* 
SUBMIT BUTTON
*/

.signin-submit {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.ipv4-auth-page .ipv4-btn {
  padding: 12px 28px;
  border-radius: 14px;
  font-weight: 600;
}

/* Mobile: full-width button */
@media (max-width: 640px) {
  .signin-submit button {
width: 100%;
  }
}

/* 
ALT LINKS
*/

.auth-alt-link {
  text-align: center;
  margin-top: 18px;
  font-size: 14px;
}


/*signup*/

/* Radio group container */
.ipv4-auth-page .form-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
}

/* Each radio + label */
.ipv4-auth-page .form-radio-group label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  margin: 0;
}

/* Radio input itself */
.ipv4-auth-page .form-radio-group input[type="radio"] {
  margin: 0;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Terms checkbox wrapper */
.ipv4-auth-page .form-checkbox {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.5;
}

/* Checkbox input */
.ipv4-auth-page .form-checkbox input[type="checkbox"] {
  margin-top: 3px; /* aligns with text baseline */
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.ipv4-auth-page .form-row {
  margin-bottom: 0;
}

.ipv4c-auth-form .form-radio-group {
  display: flex;
  gap: 0;
}

.auth-title {
  font-size: 26px;
  margin-bottom: 30px;
}



.ipv4-auth-page .ipv4-btn {
  padding: 8px 22px;
  border-radius: 14px;
  font-weight: 600;
}

/* ===============================
   intl-tel-input — AUTH FIX
   =============================== */

.ipv4-auth-page .iti {
  width: 100%;
}

.ipv4-auth-page .iti__flag-container {
  left: 12px;
}

.ipv4-auth-page .iti__selected-flag {
  padding: 0;
}

.ipv4-auth-page .iti__country-list {
  z-index: 1000; /* stay above card */
}

/* Input itself */
.ipv4-auth-page .iti input[type="tel"] {
  padding-left: 84px !important; /* room for flag + code */
}

/* Match other inputs */
.ipv4-auth-page .iti input {
  height: auto;
  border-radius: 10px;
}

/* Prevent weird focus outline split */
.ipv4-auth-page .iti--allow-dropdown input:focus,
.ipv4-auth-page .iti--separate-dial-code input:focus {
  outline: none;
  box-shadow: 0 0 0 1px rgba(37,99,235,.15);
  border-color: #2563eb;
}

#signup-phone {
  padding: 10px 9px;
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 900px) {
  .ipv4-auth-signup .ipv4-auth-card-split {
grid-template-columns: 1fr;
gap: 24px;
  }

  .ipv4-auth-video-col {
order: 2;
  }
}

.ipv4-auth-card-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

/* Stack on mobile */
@media (max-width: 900px) {
  .ipv4-auth-card-split {
grid-template-columns: 1fr;
  }

  .ipv4-auth-video-col {
order: -1; /* optional: video above form on mobile */
  }
}


input[data-honeypot] {
  display: none !important;
}

.ipv4-auth-container {
  margin-top: 40px;
}

.form-actions {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}


/* Video column should not stretch strangely */
.ipv4-auth-video-col {
  width: 100%;
}

/* Aspect-ratio wrapper (this is the key) */
.ipv4-auth-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
}

/* Make iframe fill the wrapper */
.ipv4-auth-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.ipv4-auth-video-col {
  display: flex;
  align-items: center;   /* vertical centering */
}


@media (max-width: 900px) {
  .ipv4-auth-video-col {
    order: 2;
  }

  .ipv4-auth-form-col {
    order: 1;
  }
}

.ipv4-auth-page .iti__selected-flag {
    padding: 0 10px;
}


/* Kill global notice styling inside auth cards */
.ipv4-auth-page .ipv4c-form-msg {
  background: none !important;
  border: 0 !important;
  padding: 0 !important;
}

/* Restore password success text only */
.ipv4-auth-page .ipv4c-form-msg:not(:empty) {
  color: #2ea44f; /* same green as success */
  font-weight: 500;
}

.ipv4-auth-page .ipv4c-form-msg {
  text-align: center;
  margin-top: 16px;
  font-size: 14px;
}

.ipv4-auth-page .ipv4c-form-msg:empty {
  display: none;
}

/* Neutralize old banner styling */
.ipv4-auth-page .ipv4c-form-msg {
  background: none !important;
  border: 0 !important;
  padding: 0 !important;
}


/* Restore password success message */
.ipv4-auth-page .ipv4c-form-msg {
  margin-top: 24px;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.5;
}

/* Success state */
.ipv4-auth-page .ipv4c-form-msg:not(:empty) {
  background: #e6f4ea;
  border-left: 4px solid #2ea44f;
  color: #1f7a3f;
}

/* Hide empty feedback messages */
.ipv4-auth-page .ipv4c-form-msg:empty {
  display: none;
}

/* Hide empty feedback messages */
.ipv4-auth-page .ipv4c-form-msg:empty {
  display: none;
}

p.auth-alt-link {
  font-size: 14px;
}


.form-feedback.is-error {
    color: #b42318!important;
}

/* ===============================
   AUTH WARNING NOTICE
   =============================== */

.ipv4-auth-page .ipv4-notice-warning {
  margin: 24px 0 28px;
  padding: 18px 20px;
  border-left: 4px solid #dc2626; /* red accent */
  background: #fef2f2;            /* soft red background */
  border-radius: 12px;
  color: #7f1d1d;
  font-size: 15px;
  line-height: 1.5;
}

.ipv4-auth-page .ipv4-notice-warning strong {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #991b1b;
}


