:root {
  --primary-color: #c89006;
  --secondary-color: #2c5364;
  --tertiary-color: #f0f0f0;
  --quaternary-color: #f9f9f9;
  --quinary-color: #111215;
  --senary-color: #c89006;
  --septenary-color: #2c5364;
  --octonary-color: #f0f0f0;
  --nonary-color: #f9f9f9;
  --denary-color: #111215;
}


.vm-jpm-logo {
  position: absolute;
  left: 10px;
  top: 10px;
}

.vm-jpm-logo img {
  filter: drop-shadow(2px 2px 15px rgba(0, 0, 0, 0.377));
  width: 20dvw;
  margin: 0 auto;
  display: block;
  max-width: 289px;
}

.vm-container {
  /* width: 550px; */

  /* Slightly wider container */
  /* background: #fff; */
  border-radius: 16px;
  /* More rounded corners */
  /* box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15); */
  /* Enhanced shadow */
  overflow: hidden;
}

.vm-progress-steps {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  padding: 10px 0px 20px 0px;
  /* Padding around progress bar */
}

.vm-step-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: color 0.3s;
}

.vm-step-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  width: 100%;
  height: 2px;
  /* background-color: #ddd; */
  /* transform: translateX(); */
  z-index: -1;
}

.vm-step-circle {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  /* background-color: #ddd; */
  color: #777;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background-color 0.3s, color 0.3s;
  border: 2px solid #ddd;
  /* Added border */
}

.vm-step-title {
  margin-top: 8px;
  color: var(--tertiary-color);
  font-size: 0.85rem;
}

.vm-step-item.vm-active .vm-step-circle {
  background-color: --primary-color;
  color: var(--tertiary-color);
  border-color: var(--primary-color);
  ;
  /* Active border color */
}

.vm-step-item.vm-active .vm-step-title {
  color: var(--primary-color);
  ;
  font-weight: 600;
}


.vm-form-container {
  display: none;
  padding-top: 0 !important;
  /* padding: 30px 40px; */
  /* Adjusted padding */
  display: flex;
  flex-direction: column;
  color: #cecece;
  /* height: 650px; */
  overflow: auto;
}

h2 {
  text-align: center;
  margin-bottom: 25px;
  color: var(--primary-color);
  ;
  font-size: 2rem;
  /* Slightly larger heading */
}

.vm-step {
  display: none;
  opacity: 0;
  transition: opacity 1s ease-in-out, transform 1s ease-in-out;
  transform: translateX(20px);
}

.vm-step.vm-active {
  display: block;
  opacity: 1;
  transform: translateX(0);
  transition: opacity 1s ease-in-out, transform 1s ease-in-out ;
  animation: fade-in 1.2s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}

@-webkit-keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.vm-form-group {
  margin-bottom: 22px;
  /* Increased spacing */
}

.vm-form-group label {
  display: block;
  font-size: x-small;
  /* Increased label margin */
  font-weight: 500;
  /* color: #444; */
  /* Darker label color */
}

/* Style for required labels */
.vm-form-group label.vm-required::after {
  content: " *";
  /* Add asterisk for required fields */
  color: red;
}

.vm-required a {
  color: red;
}

input,
select {
  width: 100%;
  padding: 14px;
  /* Slightly larger input padding */
  border: 1px solid #ccc;
  /* Lighter border */
  border-radius: 10px;
  /* More rounded inputs */

  /* Increased input margin */
  font-size: 1rem;
  color: #333;
  transition: border-color 0.3s;
  background-color: #f9f9f9;
  /* Light input background */
}

input:focus,
select:focus {
  outline: none;
  border-color: var(--primary-color);
  ;
  box-shadow: 0 0 0 2px rgba(42, 82, 152, 0.15);
  /* More pronounced focus shadow */
  background-color: #fff;
  /* White background on focus */
}

select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
  background-repeat: no-repeat;
  background-position-x: 98%;
  /* Adjusted arrow position */
  background-position-y: center;
  padding-right: 35px;
  /* Adjusted for arrow */
}

button {
  padding: 14px 30px;
  /* Larger button padding */
  border: none;
  border-radius: 10px;
  /* More rounded buttons */
  background-color: var(--primary-color);
  ;
  color: white;
  font-weight: 500;
  /* Slightly lighter font weight for buttons */
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s ease-in-out;
  /* Added transform transition */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  /* Added button shadow */
  font-size: 1rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-evenly;
  gap: 5px;
  /* Button font size */
}

button:hover {
  background-color: #d00f2f;
  /* Darker hover color */
  transform: translateY(-2px);
  /* Slight lift on hover */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  /* Enhanced shadow on hover */
}

.vm-button-group {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  /* Increased button group margin */
}

.vm-button-group button.vm-back-btn {
  background-color: #e8e8e8;
  /* Softer grey for back button */
  color: #666;
}

.vm-button-group button.vm-back-btn:hover {
  background-color: #d0d0d0;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.vm-progress-container {
  background-color: #f0f0f0;
  border-radius: 10px;
  margin-top: 12px;
  /* Increased progress bar margin */
  height: 10px;
  /* Slightly thicker progress bar */
}

.vm-progress-bar {
  background-color: #4caf50;
  border-radius: 10px;
  height: 100%;
  width: 0%;
  transition: width 0.3s ease;
}

.vm-password-strength {
  font-size: 0.9rem;
  /* margin-top: 6px; */
  /* Increased password strength margin */
  color: #777;
  text-align: right;
}

.vm-form-preview {
  margin-top: 0px;
  /* Increased preview margin */
  padding: 25px;
  /* Increased preview padding */
  border: 1px solid #ddd;
  border-radius: 10px;
  background-color: #303030;
  /* Softer preview background */
}

.vm-form-preview h3 {
  margin-bottom: 0px;
  /* Increased preview heading margin */
  color: var(--primary-color);
  ;
  font-size: medium;
  /* Larger preview heading */
}

.vm-form-preview p {
  margin-bottom: 0px;
  /* Increased preview paragraph margin */
  line-height: 1.7;
  /* Increased line height for readability */
  font-size: small;
  /* Slightly larger preview text */
}

.vm-agreement {
  display: flex;
  align-items: center;
  /* margin-top: 20px; */
  /* Increased agreement margin */
}

.vm-agreement input[type="checkbox"] {
  width: auto;
  margin-right: 12px;
  margin-top: 0px;
  /* Increased checkbox margin */
  height: 1rem;
  width: 1rem;
  width: auto;
  /* Larger checkbox */
}

.vm-agreement label {
  font-size: 1rem;
  /* Agreement label font size */
  color: #555;
}

.vm-error-message {

  bottom: 0px;
  color: rgb(249, 39, 39);
  font-size: 0.9em;
  margin-top: 0px;
  /* Increased error message margin */
  animation: pulse 0.8s ease infinite;
  text-align: center;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

.vm-input-icon {
  position: relative;
}

.vm-input-icon i {
  position: absolute;
  left: 20px;
  /* Adjusted icon position */
  top: 50%;
  transform: translateY(-50%);
  color: #a3770c;
}

.vm-input-icon input {}

.vm-input-icon input,
.vm-input-icon select {
  padding-left: 45px;
  /* Adjusted padding for icon */
}

/* Country input dropdown */
.vm-select-container {
  position: relative;
  width: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.vm-select-input {
  width: 100%;
  padding: 14px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin-top: 0px;
  font-size: 1rem;
  color: #ccc;
  transition: border-color 0.vm-3s;
  /* background-color: #f9f9f9; */
}

.vm-select-input:hover {
  border-color: #cbd5e0;
}

.vm-select-input:focus {
  outline: none;
  border-color: #B8860B;
  box-shadow: 0 0 0 4px rgba(184, 134, 11, 0.1);
}

.vm-flag-img {
  width: 20px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.vm-1);
  vertical-align: middle;
  margin-right: 8px;
}



/* Loading spinner on submit button */
#loadingIcon {
  display: none;
}

.fa-refresh {
  display: none;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);

  }

  100% {
    transform: rotate(360deg);

  }
}

.selection-container {
  max-width: 400px;

  border-radius: 8px;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: nowrap;
  gap: 20px;
}

.option-container {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  cursor: pointer;
}

.custom-checkbox {
  width: 15px;
  height: 15px;
  border: 2px solid var(--primary-color);
  border-radius: 4px;
  margin-right: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.checkmark {
  display: none;
  width: 9px;
  height: 9px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  width: auto;
}

input[type="checkbox"]:checked+.custom-checkbox .checkmark {
  display: block;
}

.option-label {
  font-size: 14px;
  color: var(--nonary-color)
}

.option-label a {
  color: var(--primary-color);
}

.title {
  margin-top: 0;
  margin-bottom: 20px;
  color: #2c3e50;
  font-size: 18px;
}

.vm-name-container {
  display: flex;
  gap: 8px;
}

.policies {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.policies a {
  color: var(--primary-color);
  text-decoration: none;
  font-size: small;
  margin-right: 10px;
}

.policies a:hover {
  text-decoration: underline;
}

.password-requirement {
  font-size: smaller;
  line-height: 1;
  margin: 0;
}

.password-requirement span {
  color: chartreuse;
}

.create-password-group .fa-eye, 
.create-password-group .fa-eye-slash {
  position: absolute;
  right: 10px !important;
  left: auto;
  /* top: 50%;
  transform: translateY(-50%); */
  cursor: pointer;
  z-index: 4;
  opacity: 0;

}