/* Main form container */
#umms-registration-form {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

/* Steps */
.umms-step {
    display: none;
    padding-bottom: 16px;
}

.apply-dob {
  margin-bottom: 8px;
}

.umms-step.active {
    display: block;
}

.umms-step-board {
  padding: 0 30px 0px 30px;
}

.umms-step-bottom-spacing {
  padding-bottom: 32px;
}

.umms-step-container {
  border-bottom: 1px solid #22222614;
  margin-bottom: 16px;
}

.umms-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
}

.umms-nav-center {
  justify-content: center;
}

.umms-step {
  padding-bottom: 16px;
}

/* Form fields */
.umms-field, .umms-radio-group label {
  margin-top: 16px;
}

.umms-field label {
    display: flex;
    align-items: center;
    color: #1E1E1E;
    cursor: pointer;
}

.um input[type="submit"].um-button, .um-button, .um input[type="submit"].um-button:focus, .um a.um-button, .um a.um-button.um-disabled:hover, .um a.um-button.um-disabled:focus, .um a.um-button.um-disabled:active {
    background: #A41034;
    border-radius: 8px;
}

.um-button, a.um-button {
   border-radius: 34px !important;
}

.um input[type=submit].um-button:hover, .um a.um-button:hover {
    background: #C80F3C;
}

.umms-field label input[type="radio"] {
  margin-right: 16px; /* Space between radio and text */
}

.umms-field select,
.umms-field textarea {
    width: 100%;
}

.umms-field select,
.umms-field textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.umms-field textarea {
    min-height: 100px;
}

/* Error states */
.umms-error {
    border-color: #ff3860 !important;
}

.umms-error-message {
    display: none;
    padding: 10px;
    margin-bottom: 20px;
    background: #ff3860;
    color: white;
    border-radius: 4px;
}

/* Buttons */
.umms-button {
    padding: 15px 34px;
    border-radius: 34px;  
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.umms-button-dark {
  background: black;
  color: white;
  border-color: black;
}

.umms-button-light:hover,  .umms-button-light:focus {
  background: black;
  color: white;
}

.umms-button-light {
    background: white;
    color: black;
    border-color: black
}

.umms-button-dark:hover, .umms-button-dark:focus {
    background: white;
    color: black;
}

.umms-next-btn {
  background: black;
  color: white;
  border-color: black;
}

.umms-progress-bar {
    height: 6px;
    background: #4a6fa5;
    border-radius: 3px;
    transition: width 0.3s;
}

.umms-progress-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.umms-progress-steps .step {
    text-align: center;
    color: #6c757d;
}

.umms-progress-steps .step.active {
    color: #4a6fa5;
    font-weight: 600;
}

/* Success step */
.umms-success-message {
    text-align: center;
    padding: 20px;
}

.umms-success-message h3 {
    color: #28a745;
    margin-bottom: 15px;
}

/* Add these new styles to your existing CSS */
/* .umms-radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 5px;
}

.umms-radio-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.umms-radio-group input[type="radio"] {
    margin: 0;
} */

/* Success message styling */
.umms-success-message {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-top: 20px;
}

.umms-success-message h3 {
    color: #28a745;
    margin-bottom: 15px;
    font-size: 24px;
}

.umms-success-message p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.umms-title {
  text-align: center;
  padding: 20px 0px;
}

.umms-title-desc p {
    margin-bottom: 0px;
}

input[type=text],
input[type=date],
input[type=email],
input[type=number],
input[type=password],
input[type=search],
input[type=tel],
input[type=url],
select,
textarea {
  width: 100%;
  border: solid 1px #3C3C43;
  border-radius: 8px;
  padding: 1rem;
  transition: all 0.3s;
}

h1,h2,h3,h4,h5,h6 {
  font-weight: 700;
}

/* Responsive */
@media (max-width: 768px) {
    #umms-registration-form {
        /* padding: 20px; */
    }
}

/* Hide the default radio */
/* Hide default radio */
input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  margin: 0;
  position: relative;
  cursor: pointer;
  border: 1px solid #CCCCCC;   /* Black outer border */
  border-radius: 50%;
  background: white;         /* White inner circle */
}

/* Black inner dot when selected */
input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;               /* Adjust as needed */
  height: 10px;
  background: black;         /* Black fill */
  border-radius: 50%;
}

/* White border (outer circle) */
input[type="radio"]::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  border: 2px solid white;  /* White border */
  border-radius: 50%;
  background: transparent;   /* Transparent inside (before selection) */
}
/* Password field styles */
.password-toggle {
    position: relative;
}

.password-toggle input {
    padding-right: 40px !important;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 15px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.toggle-password svg {
    display: block;
    width: 20px;
    height: 20px;
}

.password-strength {
    font-size: 13px;
    margin-top: 5px;
    height: 18px;
}

.password-strength.weak {
    color: #ff3860;
}

.password-strength.medium {
    color: #ffb347;
}

.password-strength.strong {
    color: #28a745;
}


.umms-phone-field {
  display: flex;
  align-items: center;
  gap: 10px;
}

.country-code-container {
  position: relative;
  min-width: 100px;
}

.country-code-select {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: white;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}

.country-code-container::after {
  content: "▼";
  font-size: 10px;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

/* Searchable dropdown styles */
.country-code-search {
  width: 100%;
  padding: 8px;
  margin-bottom: 5px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.country-code-options {
  max-height: 200px;
  overflow-y: auto;
  border: 1px solid #ddd;
  border-radius: 4px;
  display: none;
  position: absolute;
  width: 100%;
  background: white;
  z-index: 1000;
}

.country-code-options.show {
  display: block;
}

.country-code-option {
  padding: 8px 10px;
  cursor: pointer;
}

.country-code-option:hover {
  background-color: #f0f0f0;
}