/* 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, #unified-login-form input, #unified-signup-form 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;
}

/* 2FA Form Styles */
#2fa-wrapper {
    text-align: center;
    padding: 20px 0;
}

#2fa-wrapper h4 {
    color: #333;
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 600;
}

#2fa-wrapper p {
    color: #666;
    margin-bottom: 20px;
    font-size: 14px;
}

#2fa-code {
    font-size: 18px !important;
    text-align: center !important;
    letter-spacing: 2px !important;
    font-weight: bold !important;
    padding: 15px 20px !important;
    border: 2px solid #ddd !important;
    border-radius: 8px !important;
    width: 100% !important;
    max-width: 200px !important;
    margin: 0 auto 20px auto !important;
    display: block !important;
}

#2fa-code:focus {
    border-color: #0073aa !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1) !important;
}

.auth-timer {
    color: #666;
    font-size: 12px;
    margin: 10px 0;
    font-style: italic;
}

.auth-link-btn {
    background: none;
    border: none;
    color: #0073aa;
    text-decoration: underline;
    cursor: pointer;
    font-size: 14px;
    padding: 5px 10px;
    transition: color 0.3s;
}

.auth-link-btn:hover {
    color: #005a87;
}

.auth-link-btn:disabled {
    color: #999;
    cursor: not-allowed;
    text-decoration: none;
}

/* [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;
}
.shortcode-form-preview {
  width: 100%;
  max-width: 100%;
  margin: 32px auto;
  background: #ffffff;
  padding-left: 40px;
  padding-right: 92px;
}

@media (max-width: 768px) {
  .auth-modal-content {
    background-color: #fff;
    margin: 0;
    padding: 30px 30px 30px 30px;
    border-radius: 10px;
    width: 100%;
    max-width: 500px;
    position: relative;
  }
  .wplf-col {
    width: 100% !important;
  }
  div#proceed-submit {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .nav-progress {
    display: flex;
    overflow: hidden;
    margin: 0 0 10px 0;
    justify-content: space-between;
    width: 100%;
    height: 100% !important;
    flex-wrap: wrap;
    row-gap: 18px;
    column-gap: 19px;
  }
  .wplf-section .row {
    flex-direction: column;
  }
  .shortcode-form-preview {
    width: 100%;
    max-width: 100%;
    margin: 32px auto;
    background: #ffffff;
    padding: 0;
  }
  .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;
  }
}
.__wplf_form_defualt-header:empty{
    display: none;
}
.__wplf_form_defualt-header {
    text-align: center;
    font-size: 16pt;
    font-weight: 800;
    color: #000 !important;
    padding-bottom: 100px;
}
.__wplf_form_defualt-description:empty{
    display: none;
} 
.__wplf_form_defualt-description{
    text-align: center;
    margin: 0 0 20px;
    color: #000;
}
.__wplf_form_defualt-fields{
    padding: 30px;
    /* margin: -100px 48px 48px 48px; */
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}
.__wplf_form-fields input.form-control{
    padding: 0 20px;
    line-height: 52px;
    height: 52px;
}
.__wplf_form-fields textarea.form-control {
    padding: 20px;
    line-height: 1.5;
}

.__wplf_form_defualt-fields #submit{
    padding: 0 20px;
    line-height: 52px;
    height: 52px;
    margin-top: 10px;
    font-weight: 600;
}
.__wplf_form-fields .iti.iti--allow-dropdown input.form-control {
    padding-left: 48px !important;
}
@media (max-width: 768px) {

    .__wplf_form_defualt-fields {
        padding: 30px;
        border-radius: 8px;
        background: #ffffff;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
        width: 100%;
        margin: 0px 10px;
    }
    .__wplf_form_defualt-header {
        padding-bottom: 10px;
    }
}
button.btn.wplf-form-draft-button- {
  background-color: gray;
  color: #fff;
  width: 100%;
}

.nav-progress {
  display: flex;
  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;
  gap: 20px;
  
}

@media (max-width: 1200px) {
  .nav-progress { 
    overflow-x: scroll;
  }
}
.nav-progress > div {
  position: relative;
  display: table-cell;
  padding: 4px;
  color: var(--color-secondary);
  text-align: center;
  font-size: 12px;
  line-height: 20px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;

}
.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);
}

.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(330px, 1fr));
    gap: 10px;
} */

.wplf-section .row {
    display: flex;
    gap: 10px;
}

/* .wplf-section .row .col-md-1,
.wplf-section .row .col-md-2,
.wplf-section .row .col-md-3,
.wplf-section .row .col-md-4,
.wplf-section .row .col-md-5,
.wplf-section .row .col-md-6,
.wplf-section .row .col-md-7,
.wplf-section .row .col-md-8,
.wplf-section .row .col-md-9,
.wplf-section .row .col-md-10,
.wplf-section .row .col-md-11,
.wplf-section .row .col-md-12 {
    width: 100% !important;
} */

.wplf-section, .wplf-col {
  padding: 0px 10px;
}

.address .form-group, .main-form-field, .address .col-md-6 {
  display: flex;
  gap: 5px;
}

._wplf.couveforms .address .form-group, .main-form-field, .address .col-md-6 {
  display: flex;
  gap: 5px;
  align-items: end;
  width: 100%;
}
.field-wrapper-list-main {
  display: flex;
  gap: 5px;
}
.compare-preview, .main-compare-field, .main-current-field  {
  width: 100%;

}
label.compare-label {
  display: block;
  clear: both;
  text-align: left;
  font-size: 16px;
  font-weight: normal !important;
  text-decoration: none;
  color: #000000;
  padding-bottom: 23px;
}

.field-wrapper-list-main .field-wrapper-list input , .field-wrapper-list-main input.form-control.compare-preview-input{
  width: auto !important;
}

.compare-preview.compare-matrix-preview.compare-row-0 {
    margin-top: 32px;
}
.first-name-field, .last-name-field {
  display: flex;
  gap: 5px;
  align-items: center;
}

div#proceed-submit {
  display: flex;
}

div#final-submit {
    display: flex;
    align-items: center;
}

/* frontend form entries styles */
.dashboard-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    margin-bottom: 2rem;
}

.dashboard-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.user-info {
    opacity: 0.9;
    font-size: 1.1rem;
}

.filter-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1.5rem;
    margin-bottom: 2rem;
}
span.status-badge.submit_draft {
    background-color: #ce9739;
    color: #ffffff;
}
.entries-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.entries-table {
    margin-bottom: 0;
}

.entries-table th {
    background-color: #f8f9fa;
    border-top: none;
    font-weight: 600;
    color: #495057;
    padding: 1rem;
}

.entries-table td {
    padding: 1rem;
    vertical-align: middle;
}

.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.status-submitted {
    background-color: #d4edda;
    color: #155724;
}

.status-draft {
    background-color: #fff3cd;
    color: #856404;
}

.btn-action {
    padding: 0.5rem 1rem;
    margin: 0 0.25rem 0.5rem 0;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    display: inline-block;
    white-space: nowrap;
}

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

.btn-view:hover {
    background-color: #0056b3;
    color: white;
}

.btn-edit {
    background-color: #28a745;
    color: white;
}

.btn-edit:hover {
    background-color: #1e7e34;
    color: white;
}

.btn-new {
    background-color: #17a2b8;
    color: white;
}

.btn-new:hover {
    background-color: #138496;
    color: white;
}

.no-entries {
    text-align: center;
    padding: 3rem;
    color: #6c757d;
}

.no-entries i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.pagination {
    justify-content: center;
    margin-top: 2rem;
}

.logout-btn {
    background-color: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
}

.logout-btn:hover {
    background-color: rgba(255,255,255,0.3);
    color: white;
}

.new-entry-section .card {
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.new-entry-section .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.new-entry-section .card-body {
    padding: 1.5rem;
}

.new-entry-section .fa-plus-circle {
    color: #007bff;
}

#proceed-submit .col-sm-6 {
padding-top: 0;
}    
