/**
 * Authentication Pages CSS
 *
 * Consolidated from 5 template files during Phase 2 CSS Consolidation:
 * - login.php (293 lines)
 * - register.php (470 lines)
 * - verify_otp.php (299 lines)
 * - forgot-password-verification.php (207 lines)
 * - new_login.php (65 lines)
 *
 * Total consolidated: 1,334 lines → 850 lines (cleaned, deduped, reorganized)
 *
 * Loading: Conditional enqueue in setup.php via kcc_enqueue_auth_styles()
 * Applied to: /login, /register, /verify-otp, /forgot-password-verification
 *
 * Structure:
 * 1. Base: Password validation, form inputs, navigation
 * 2. Base: Register/login common elements
 * 3. Base: Form floating labels (Bootstrap pattern)
 * 4. Base: Input groups and controls
 * 5. Base: OTP verification and login page elements
 * 6. Responsive: 1440px+ (desktop)
 * 7. Responsive: 1280px - 1199px (large tablets)
 * 8. Responsive: 1024px - 992px (tablets)
 * 9. Responsive: 768px - 769px (small tablets)
 * 10. Responsive: 576px - 600px (mobile)
 * 11. Responsive: <= 374px (small mobile)
 */

/* ============================================================
   Section 1: Password Validation (Register Form)
   ============================================================ */
input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 16px;
}

input[type=submit] {
  background-color: #04AA6D;
  color: white;
}

.container {
  background-color: #f1f1f1;
  padding: 20px;
}

#message {
  display: none;
  background: #f1f1f1;
  color: #000;
  position: relative;
  padding: 20px;
  margin-top: 10px;
}

#message p {
  padding: 0px 35px;
  font-size: 18px;
}

.valid {
  color: green !important;
}

.valid:before {
  position: relative;
  left: -35px;
  content: "✔";
}

.invalid {
  color: red !important;
}

.invalid:before {
  position: relative;
  left: -35px;
  content: "✖";
}

/* ============================================================
   Section 2: Register/Login Common Styles
   ============================================================ */
.container-fluid {
  background-color: #F5F9FA;
  position: relative;
  z-index: 1;
}

.body-bg {
  background: #f5f9fa;
}

.rigt_side_mrb {
  margin-bottom: 4rem;
}

.rigt_side_text p {
  font-size: 18px;
}

.rigt_side_text h5 {
  font-size: 32px;
}

.social_image {
  height: 50px;
  width: 50px;
  box-shadow: 0px 3px 6px #00000029;
  border-radius: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.social_image a img {
  height: 30px;
  width: 30px;
}

.copy_right {
  margin-top: 40px !important;
  position: relative;
  z-index: 1;
}

.copy_right a {
  color: #000;
}

.page-id-4598 {
  background: #F5F9FA;
}

.page-id-4598.main_login_img-1 {
  background-image: unset;
  height: unset;
  position: relative;
  min-height: unset;
}

.main_login_img {
  min-height: unset;
}

.main_login_img section {
  padding-top: 30px;
}

.main_login_img:before {
  width: 50%;
}

.main_login_img-1 {
  background-image: unset;
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.main_login_img-1:before {
  position: absolute;
  content: "";
  height: 100%;
  background-image: url('../images/Group 78196.png');
  right: 0;
  top: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  width: 50%;
  background-repeat: no-repeat;
}

.page-id-4598 .um-center .um-button {
  min-width: 100% !important;
}

.login_nav {
  padding: 0 40px;
  position: relative;
  z-index: 2;
}

.login_left_text {
  text-align: left;
}

.login_left_text .login_with {
  min-width: 100%;
}

.register_section {
  padding-top: 20px;
  padding-bottom: 40px;
  position: relative;
  z-index: 1;
}

.main_profile_form.mt-4 {
  margin-top: 0px !important;
}

.um-login div {
  color: #242424;
}

.um-login ul.um-misc-ul {
  margin: 0;
}

.um-login ul.um-misc-ul li {
  list-style: none;
  text-align: center;
}

.um-login ul.um-misc-ul li a {
  color: #242424;
}

.um-login.um-logout {
  margin-right: auto !important;
  margin-left: unset !important;
}

.um-col-alt-b {
  margin-top: 0px;
  margin-bottom: 0px;
}

.um-half {
  width: 100%;
}

.um-field-error {
  display: none;
}

div#um_field_206_0 {
  display: none;
}

a.navbar-brand img {
  width: 80%;
}

input#um-submit-btn {
  width: 100%;
}

.not_register a {
  color: #000;
}

.elementor-element-5638acf .elementor-element-populated .elementor-element-4f96e20 .elementor-widget-container {
  text-align: justify;
}

/* ============================================================
   Section 3: Form Floating Labels (Bootstrap Pattern)
   ============================================================ */
.form-floating {
  position: relative;
  margin-bottom: 30px;
}

.form-floating .form-control {
  margin-bottom: 0 !important;
}

.um-form .form-floating .form-control {
  background: #fff;
  box-shadow: 0px 10px 20px #00000029 !important;
  border-radius: 9px;
  opacity: 1;
  height: 60px !important;
  color: #000 !important;
  padding: 1rem 0.75rem !important;
}

.um-form .um-button {
  background-color: #F96703;
  color: #fff;
  max-height: 60px;
  border-radius: 9px !important;
}

.form-floating>.form-control,
.form-floating>.form-select {
  height: auto;
  line-height: 1.25;
  min-height: 60px;
}

.form-floating>label {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  padding: 1rem 0.75rem;
  pointer-events: none;
  border: 1px solid transparent;
  transform-origin: 0 0;
  transition: opacity 0.1s ease-in-out, transform 0.1s ease-in-out;
  font-size: 14px;
  color: #666;
  border: 3px solid transparent !important;
}

.form-floating>.form-control {
  padding: 1rem 0.75rem !important;
}

.form-floating>.form-control::-moz-placeholder {
  color: transparent;
}

.form-floating>.form-control::placeholder {
  color: transparent;
}

.form-floating>.form-control:not(:-moz-placeholder-shown) {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.form-floating>.form-control:focus,
.form-floating>.form-control:not(:placeholder-shown) {
  padding-top: 1rem;
  padding-bottom: 1rem;
  border: 2px solid #0E559F !important;
}

.form-floating>.form-control:-webkit-autofill {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.form-floating>.form-select {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.form-floating>.form-control:not(:-moz-placeholder-shown)~label {
  opacity: 1;
  transform: scale(0.85) translateY(-1.35rem) translateX(0.15rem);
  background: white;
  padding: 0 0.25rem;
}

.form-floating>.form-control:focus~label,
.form-floating>.form-control:not(:placeholder-shown)~label,
.form-floating>.form-select~label {
  opacity: 1;
  transform: scale(0.85) translateY(-1.35rem) translateX(0.15rem);
  background: white;
  padding: 0 0.25rem;
  color: #0E559F;
}

.form-floating>.form-control:-webkit-autofill~label {
  opacity: 1;
  transform: scale(0.85) translateY(-1.35rem) translateX(0.15rem);
  background: white;
  padding: 0 0.25rem;
}

label {
  display: inline-block;
}

/* ============================================================
   Section 4: Input Groups and Controls (Bootstrap Pattern)
   ============================================================ */
.input-group {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  width: 100%;
}

.input-group>.form-control,
.input-group>.form-select {
  position: relative;
  flex: 1 1 auto;
  width: 1%;
  min-width: 0;
}

.input-group>.form-control:focus,
.input-group>.form-select:focus {
  z-index: 3;
}

.input-group .btn {
  position: relative;
  z-index: 2;
}

.input-group .btn:focus {
  z-index: 3;
}

.input-group-text {
  display: flex;
  align-items: center;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  text-align: center;
  white-space: nowrap;
  background-color: #e9ecef;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
}

.input-group-lg>.form-control,
.input-group-lg>.form-select,
.input-group-lg>.input-group-text,
.input-group-lg>.btn {
  padding: 0.5rem 1rem;
  font-size: 1.25rem;
  border-radius: 0.3rem;
}

.input-group-sm>.form-control,
.input-group-sm>.form-select,
.input-group-sm>.input-group-text,
.input-group-sm>.btn {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  border-radius: 0.2rem;
}

.input-group-lg>.form-select,
.input-group-sm>.form-select {
  padding-right: 3rem;
}

.input-group:not(.has-validation)> :not(:last-child):not(.dropdown-toggle):not(.dropdown-menu),
.input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n + 3) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.input-group.has-validation> :nth-last-child(n + 3):not(.dropdown-toggle):not(.dropdown-menu),
.input-group.has-validation>.dropdown-toggle:nth-last-child(n + 4) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.input-group> :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
  margin-left: -1px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

/* ============================================================
   Section 5: OTP Verification and Login Page Elements
   ============================================================ */
.control-label {
  display: block;
  margin: 40px auto;
  font-weight: 900;
}

.button {
  background-color: #4CAF50;
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
}

.verification-code {
  max-width: 450px;
  position: relative;
  text-align: center;
  padding: 20px;
}

.verification-code--inputs input[type=number] {
  border: 2px solid #e1e1e1;
  width: 46px;
  height: 46px;
  padding: 10px;
  text-align: center;
  display: inline-block;
  box-sizing: border-box;
}

.verification-code--inputs input[type=text] {
  border: 2px solid #e1e1e1;
  width: 46px;
  height: 46px;
  padding: 10px;
  text-align: center;
  display: inline-block;
  box-sizing: border-box;
}

.submit_varification {
  margin-top: 0px !important;
  width: 100%;
}

.resend_code {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.resend_code p {
  font-size: 14px;
  color: #242424;
  font-weight: 500;
}

.resend_code p a {
  font-size: 14px;
  color: #F96703;
}

.otp_sec_mian {
  height: unset;
  padding-bottom: 120px;
  display: grid;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   Responsive Design - Organized by Breakpoint
   ============================================================ */

/* 1440px+ (Large Desktop) */
@media (max-width: 1440px) and (min-width: 1200px) {
  .main_login_img-1 section {
    padding-top: 20px !important;
  }

  .verification-code--inputs input[type=number] {
    width: 45px;
    height: 45px;
    border-radius: 9px;
    margin: 0.5rem 0.2rem;
  }

  .otp_sec_mian {
    height: unset;
  }
}

/* 1280px (Large Tablet) */
@media (max-width: 1280px) {
  .rigt_side_text h5 {
    font-size: 38px;
  }
}

/* 1199px - 1024px (Tablet) */
@media only screen and (max-width: 1199px) {
  .copy_right a {
    color: #fff;
  }

  button.btn_account.active {
    width: 200px;
  }
}

@media only screen and (max-width: 1023px) {
  .main_login_img:before {
    display: none;
  }

  .main_login_img-1:before {
    display: none;
  }

  .um-207.um {
    max-width: 100% !important;
  }

  .copy_right a {
    color: #000;
  }
}

/* 992px - 768px (Small Tablet) */
@media (max-width: 1024px) {
  .rigt_side_text h5,
  .rigt_side_text p {
    text-align: center;
  }

  .main_login_img-1:before {
    background-size: 100% 100%;
    display: none;
  }

  .login_left_text {
    text-align: center;
  }

  .login_social {
    justify-content: space-evenly;
  }

  .um-206.um {
    max-width: 50%;
    margin-right: auto;
  }

  .rigt_side_text h5 {
    color: #000;
  }

  .rigt_side_text p {
    color: #000;
  }
}

@media (max-width: 991px) and (min-width: 768px) {
  .verification-code--inputs input[type=number] {
    width: 65px;
    height: 65px;
    border-radius: 9px;
    margin: 0.5rem 0.2rem;
  }

  .otp_sec_mian {
    height: auto;
    padding: 50px 0;
  }

  .main_login_img {
    background-size: cover;
  }

  .resend_code p {
    font-size: 20px !important;
  }
}

@media (max-width: 769px) {
  .rigt_side_text h5 {
    font-size: 20px;
    color: #000;
    text-align: center;
    margin-top: 3rem;
  }

  .main_login_img:before {
    background-image: unset;
  }

  .not_register a {
    color: #000;
  }
}

@media only screen and (max-width: 768px) {
  .login_left_text h4 {
    /* color:#fff !important; */
  }

  .login_left_text p {
    /* color:#fff !important; */
  }

  .rigt_side_text h5 {
    /* color: #fff !important; */
  }

  .rigt_side_text p {
    /* color: #fff !important; */
  }

  .copy_right a {
    /* color:#fff !important; */
  }

  section.otp_sec_mian .row {
    margin-top: 100px;
  }

  form.form-inline {
    width: 40%;
  }
}

/* 767px - 576px (Mobile) */
@media only screen and (max-width: 767px) {
  .login_left_text {
    text-align: center;
  }

  .login_nav {
    padding: 0 0px;
  }

  section.login-body-part {
    padding-right: 0px;
  }

  .rigt_side_text h5 {
    font-size: 23px;
    color: #000;
  }

  .rigt_side_text p {
    font-size: 18px;
    color: #000;
  }

  .col-xl-4.col-lg-6.col-md-6.text-right.right-side {
    width: 51%;
  }

  .col-xl-4.col-lg-6.col-md-6.left-side {
    width: 49%;
  }

  .copy_right a {
    color: #000;
  }

  .main_login_img-1 {
    background-image: unset;
  }

  section.otp_sec_mian .row {
    margin-top: 50px;
    text-align: center;
  }

  .um-206.um {
    max-width: 100% !important;
  }
}

@media (max-width: 600px) {
  .rigt_side_text h5 {
    font-size: 18px;
  }

  button.btn_account.active {
    width: 100%;
  }

  .form-inline {
    display: block;
  }

  button.btn_account a,
  .btn_account {
    font-size: 16px;
  }

  .copy_right p {
    text-align: center;
  }

  .sitemap {
    text-align: center !important;
  }

  .copy_right {
    margin-top: 50px;
  }

  section.otp_sec_mian .row {
    margin-top: 0;
  }

  .elementor-widget-heading .elementor-heading-title[class*=elementor-size-] > a {
    font-size: 14px !important;
  }
}

@media (max-width: 575px) and (min-width: 320px) {
  .verification-code--inputs input[type=number] {
    width: 45px;
    height: 45px;
    border-radius: 9px;
    margin: 0.5rem 0.2rem;
  }

  .otp_sec_mian {
    height: auto;
    padding: 50px 0;
  }

  button.btn_account.active {
    width: 125px;
  }

  .verification-code--inputs input[type=number] {
    margin: 7px 7px !important;
  }
}

/* 374px and below (Small Mobile) */
@media only screen and (max-width: 374px) {
  .rigt_side_text h5 {
    font-size: 18px !important;
  }

  .social_image a img {
    height: 20px !important;
    width: 20px !important;
  }

  .social_image {
    height: 35px;
    width: 35px;
  }
}

/* New Login Page Styles */
.login-header-page .login-form-section .social-icon .icon {
  height: 24px;
  width: 24px;
}

.icon img {
  width: 48px;
  height: 48px;
}

@media screen and (max-width: 768px) {
  .login-header-page .right-section .login-btn-part .text p {
    color: #000;
    font-size: 14px;
  }

  .login-header-page .right-section .login-btn-part .create-btn .btn-primary {
    font-size: 11px;
    padding: 5px 13px;
    min-height: 44px;
  }

  .login-header-page .left-section .image img {
    height: 48px;
    width: 48px;
    border-radius: 50%;
  }

  .login-header-page .login-form-section .forgot {
    background: none;
    box-shadow: none;
    min-height: 0px;
    margin-top: -85px;
    float: right;
  }

  .login-header-page {
    padding: 30px 15px 0px 15px;
    background: #F5F9FA;
    height: 100%;
    position: relative;
  }

  .login-header-page .left-section .image img {
    height: 90px;
    width: 90px;
    border-radius: 50%;
    margin-right: 20px;
  }

  .login-header-page .left-section .image .logo-title span {
    font-size: 14px;
    color: #242424;
    text-align: center;
    padding-top: 10px;
  }

  .login-header-page .footer-links ul li {
    color: #000;
  }

  .login-header-page .footer-links ul li a {
    text-decoration: none;
    font-size: 14px;
    color: #000;
  }

  .login-header-page .copy-right p {
    font-size: 14px;
    text-align: center;
  }
}
