/* Auth Modal Styles */
.auth-modal-content {
  max-height: 90vh;
  overflow-y: auto;
  scrollbar-width: none;
}
button#login-btn {
  border-radius: 3px;
  background: #fb8c86;
  padding: 10px;
  color: #fff;
  font-family: "Alexandria", Sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.auth-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: -20px;
  width: 100%;
  height: 150vh;
  background-color: rgba(0, 0, 0, 0.7);
}

.auth-modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 50px 30px 30px 30px;
  border-radius: 10px;
  width: 100%;
  max-width: 573px;
  position: relative;
}

.auth-close {
  color: #aaa;
  position: absolute;
  top: 5px;
  right: 25px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.auth-close:hover {
  color: #000;
}

.auth-tab-content {
  display: none;
}

.auth-tab-content.active {
  display: block;
}

.auth-modal h2 {
  color: #333;
  margin-bottom: 20px;
  font-size: 24px;
}

.auth-modal h3 {
  color: #000;
  font-family: Alexandria;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-align: center;
  margin: 0px;
}

#auth-modal {
  margin-bottom: 15px;
}

#auth-modal label {
  display: block;
  margin: 0px;
  color: #000;
  font-family: Alexandria;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  padding: 10px 0px;
  text-align: left;
}

#auth-modal input {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 11px;
  font-size: 14px;
  font-family: "Roboto";
  color: #818ea1;
  background: transparent;
  padding: 10px;
}
.form-row {
  display: flex;
  gap: 15px;
}

.form-row #auth-modal {
  flex: 1;
}

.password-hint {
  font-family: Roboto;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  color: #000;
  margin: 0px;
}

.checkbox-group {
  display: flex;
  align-items: center;
  margin: 0px;
}

.checkbox-group input {
  margin-right: 10px;
  width: 20px;
}

.auth-form-footer {
  display: flex;
  justify-content: space-between;
  margin: 15px 0;
}

.auth-switch-link,
.forgot-password {
  text-decoration: none;
  font-size: 14px;
}

.auth-switch-link:hover,
.forgot-password:hover {
  text-decoration: underline;
}
.error-text {
  font-size: 13px;
  margin-top: 5px;
  float: left;
  padding-left: 5px;
   color: red;
}
.success {
  color: green;
}


.auth-submit-btn {
  background-color: hsla(242, 88.4%, 66.3%, 1);
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  width: 100%;
  font-weight: 600;
  font-family: "Alexandria";
  line-height: normal;
  margin: 0px;
}

.auth-submit-btn:hover {
  background-color: hsla(242, 88.4%, 56.3%, 1);
}

.check-icon {
  color: #4caf50;
  font-size: 20px;
  margin-right: 10px;
}

.required {
  color: #ff0000;
}

.auth-message {
  margin-top: 15px;
  padding: 0px;
  border-radius: 5px;
}

.auth-message .success {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}

.auth-message .error {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

/* [Rest of the existing CSS remains the same] */

.login-main-heading {
  font-family: "Alxendria", sans-serif;
  text-align: center;
}

.form-footer {
  display: flex;
  flex-direction: column-reverse;
  gap: 16px;
}
form#login-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
#auth-modal {
  margin: 0px;
}

.auth-links {
  display: flex;
  justify-content: space-between;
}

a.switch-to-signup {
  color: #000;
  font-family: "Alexandria";
}

.auth-links span {
  font-family: "Alexandria";
  font-size: 16px;
  color: #000;
}

a.switch-to-forgot {
  color: #2e2d3f;
  font-family: "Roboto";
}
a.switch-to-login {
  color: #2e2d3f;
  font-family: "Roboto";
}

.auth-back-btn {
  box-shadow: none;
  background-color: transparent !important;
  color: #fb8c86 !important;
  text-align: end;
}

p {
  margin: 0px !important;
}
.auth-tab-content.active {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.create-account {
  padding: 0px 0px 30px 0px;
}

form#signup-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
form#signup-form h4 {
  margin: 0px;
  color: #2e2d3f;
  font-family: Alexandria;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}
.form-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.register-form-section input {
  width: 100%;
  padding: 20px 21px;
  border: 1px solid #ddd !important;
  border-radius: 11px !important;
  font-size: 14px;
  font-family: "Roboto";
  color: #818ea1 !important;
  background: #fff !important;
}
#auth-modals label {
  display: block;
  margin: 0px;
  color: #000;
  font-family: Alexandria;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  padding: 10px 0px;
}
#auth-modals {
  width: 48%;
}

.auth-links1 {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.auth-links1 span {
  text-align: center;
}

.auth-modal-content a {
  text-decoration: none !important;
}

@media (max-width: 768px) {
  .auth-modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 30px 30px 30px 30px;
    border-radius: 10px;
    width: 100%;
    max-width: 500px;
    position: relative;
  }
  .auth-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0px;
    width: 100%;
    height: 150vh;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 0px 20px;
  }
  .auth-close {
    color: #aaa;
    position: absolute;
    top: 0px;
    right: 25px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
  }
  .register-form-section {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    gap: 10px;
  }
  #auth-modals {
    width: 100%;
  }
  .create-account {
    padding: 0px 0px 10px 0px;
  }
  .form-row {
    display: flex;
    gap: 10px;
    flex-direction: column;
  }
}

button.btn.wplf-form-draft-button- {
  background-color: gray;
  color: #fff;
}

.nav-progress {
  display: table;
  overflow: hidden;
  margin: 0 0 10px 0;
  width: 100%;
  height: 32px;
  background-color: #eeeeee;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  font-weight: 600;
}
.nav-progress > div {
  position: relative;
  display: table-cell;
  padding: 4px 0;
  color: var(--color-secondary);
  text-align: center;
  font-size: 12px;
  line-height: 20px;
}
.nav-progress > div.complete {
  background-color: hsla(242, 88.4%, 45.3%, 1);
  color: #fff;
}
.nav-progress > div.complete .arrow {
  border: 3px solid #ffffff !important;
  background-color: hsla(242, 88.4%, 45.3%, 1);
}
.nav-progress > div.active {
  background-color: hsla(242, 88.4%, 45.3%, 1);
  color: #fff;
}
.nav-progress > div.active .arrow {
  background: hsla(242, 88.4%, 45.3%, 1) t;
}

.arrow-wrapper {
  position: absolute;
  top: 0px;
  right: 0px;
}
.arrow-wrapper .arrow-cover {
  position: absolute;
  overflow: hidden;
  width: 24px;
  height: 50px;
}
.arrow-wrapper .arrow-cover .arrow {
  position: absolute;
  left: -16px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border: 3px solid #ffffff;
  background: transparent;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

.field-wrapper {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}
.add-btn,
.remove-btn {
  margin-left: 10px;
  cursor: pointer;
}
.add-btn img,
.remove-btn img {
  vertical-align: middle;
}

.field-wrapper-list {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.column-field {
  margin-bottom: 10px;
}
.column-field label {
  display: block;
  font-weight: bold;
  margin-bottom: 4px;
}
.column-field-frontend {
  width: 100%;
}


/* Modal backdrop */
.custom-modal {
    display: none;
    position: fixed; /* important for full screen */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9999;
}


/* Modal content box */
.custom-modal-content {
    background-color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px 30px;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.3s ease-out;
}


/* Modal header */
.custom-modal-content h3 {
    margin-top: 0;
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

/* Close button */
.custom-modal-close {
    float: right;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
}

.custom-modal-close:hover {
    color: #e74c3c;
}

/* Modal body */
.custom-modal-body {
    margin: 20px 0;
    max-height: 300px;
    overflow-y: auto;
}

/* Preview fields */
.preview-field {
    margin-bottom: 12px;
    padding: 10px;
    background: #f9f9f9;
    border-left: 10px solid #2d298e;
    border-radius: 6px;
    padding: 8px 12px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.preview-label {
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
    color: #555;
}

.preview-value {
    display: block;
    color: #222;
}

/* Footer with buttons */
.custom-modal-footer {
    text-align: right;
    margin-top: 20px;
}

.custom-modal-footer .btn {
    padding: 8px 18px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin-left: 10px;
    font-weight: bold;
}

.custom-modal-footer .btn-primary {
    background-color: #007bff;
    color: #fff;
}

.custom-modal-footer .btn:hover {
    opacity: 0.9;
}

/* Simple fade-in animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.btn {
  padding: 8px 16px;
  border: none;
  margin-left: 10px;
  cursor: pointer;
  border-radius: 4px;
}

.btn-primary {
  background-color: #007bff;
  color: white;
}


.preview-label {
  font-weight: 600;
  color: #000;
  min-width: 150px;
  display: inline-block;
  font-size: 16px;
}

.preview-value {
  color: #555;
  font-size: 14px;
  font-weight: normal;
}

.custom-modal-content {
  padding: 10px;
  margin: 0;
  font-weight: 800;
}

.preview-tip {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: opacity 0.2s ease-in-out;
}

li.preview-item {
  list-style: none;
}

button#verify-2fa-btn {
  background-color: hsla(242, 88.4%, 66.3%, 1);
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  width: 100%;
  font-weight: 600;
  font-family: "Alexandria";
  line-height: normal;
  margin-top: 10px;
}
button#resend-2fa-btn {
    background-color: hsla(242, 88.4%, 66.3%, 1);
    border-radius: 10px;
}


.wplf-section .row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(294px, 1fr));
    gap: 10px;
}