/* style.css */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: url('11.jpg') no-repeat center center fixed;
    background-size: cover;
    padding: 40px;
    margin: 0;
}

.step-nav {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.85);
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.form-step h2 {
    font-size: 1.8rem;
    color: #333; /* Dark grey for better readability */
    margin-bottom: 16px;
    border-left: 5px solid #ffa500; /* Orange highlight bar */
    padding-left: 12px;
    font-weight: 600;
    background-color: #f9f9f9; /* Subtle background for contrast */
    padding-top: 8px;
    padding-bottom: 8px;
    border-radius: 4px;
}


.step {
    flex: 1;
    text-align: center;
    padding: 12px;
    font-weight: bold;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.step.active {
    color: #007bff;
    border-bottom: 3px solid #007bff;
}

.step.disabled {
    pointer-events: none;
    opacity: 0.4;
}

form {
    max-width: 700px;
    margin: auto;
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

h2 {
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

label {
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
    color: #444;
}

input, select {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 16px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 15px;
    transition: border 0.2s ease;
}

input:focus, select:focus {
    outline: none;
    border-color: #007bff;
}

button {
    padding: 10px 18px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.3s ease;
}

button[type="button"] {
    background-color: #007bff;
    color: white;
}

button[type="button"]:hover {
    background-color: #0056b3;
}

button[type="submit"] {
    background-color: #28a745;
    color: white;
}

button[type="submit"]:hover {
    background-color: #1e7e34;
}

.btn-group {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 25px;
}

.form-step {
    display: none;
}

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

.otp-status {
    color: green;
    font-size: 14px;
}

.error {
    color: red;
    font-size: 14px;
}

.ext-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.ext-row input {
    flex: 1;
}



.nationality-group {
    margin-bottom: 20px;
}

.form-label {
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
    color: #333;
}

.radio-options {
    display: flex;
    gap: 30px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: #333;
    cursor: pointer;
}

.radio-label input[type="radio"] {
    accent-color: #0077cc; /* modern browsers */
    width: 16px;
    height: 16px;
}




    .modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.modal-overlay.show {
  display: flex;            /* shown modal as flexbox container */
}
.modal-overlays {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 999;
}


.modal-overlay.shows {
    display: flex;
    opacity: 1;
}
.modal-content {
  background: white;
  padding: 20px 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  max-width: 400px;
  width: 90%;
}

/* CSS */
.hidden {
  display: none !important;
}
.flex-center {
  display: flex !important;
  justify-content: center;
  align-items: center;
}




#extendedAttributes h4 {
    margin-bottom: 10px;
    color: #007bff;
}

@media (max-width: 768px) {
    .step-nav {
        flex-direction: column;
        gap: 10px;
    }

    .btn-group {
        flex-direction: column;
    }

    form {
        width: 95%;
        padding: 20px;
    }
}


.loader {
  border: 6px solid #f3f3f3;
  border-top: 6px solid #007bff; /* Blue color */
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#preloader {
  animation: fadeIn 0.2s ease-in-out;
}
