body .career-form-body{
    background-color: #f4f4f4;
}

main{
    margin: 20px;
}

.form-container, .acknowledgment-container {
    max-width: 800px;
    margin: 100px auto 5px auto;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.acknowledgment-container {
    display: none;
    text-align: center;
}

hr{
    height: 2px; 
    background-color: #a72682;
    border: none;
}

h1 {
    text-align: center;
    color: #a72682;
    font-size: 28px;
    font-weight: bold;
}

h5 {
    color: #a72682;
    font-weight: bold;
}

.user-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 20px 0 0 0;
  }

form .user-details .form-group {
    width: calc(100% / 2 - 20px);
  }

form .user-details .form-group {
    display: block;
    font-weight: 500;
    margin-bottom: 10px;
}

.user-details .form-group input, textarea, select, button {
    width: 100%;
    outline: none;
    font-size: 14px;
    border-radius: 5px;
    padding-left: 7px;
    border: 1px solid #ccc;
  }

input, select, textarea, button {
    width: 100%;
    padding: 7px;
    font-size: 14px;
    margin: 5px 0 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.user-details .form-group input::placeholder, .user-details .form-group textarea::placeholder{
    font-size: 14px;
}

/* Safari-specific fixes using WebKit selector */
@media screen and (-webkit-min-device-pixel-ratio:0) {
   .form-group select {
      color: #636c72;
      background-color: #fff; /* Ensure consistent background */
      border-radius: 5px; /* Resetting border-radius if needed */
      padding: 7px; /* Ensuring padding for consistent UI */
      box-shadow: none; /* Removing any box-shadow */
      -webkit-appearance: none; /* For removing default Safari styling */
      appearance: none; /* For fallback on other browsers */
      border: 1px solid #ccc; /* Standard border */
    }
}


.user-details .form-group input:focus{
    border-color: #a72682;      
  }

.form-group textarea:focus{
    border-color: #a72682;      
}


label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 13px;
}

button {
    background-color: #a72682;
    color: #fff;
    border: none;
    cursor: pointer;
}
button:hover {
    background-color: #a72682;
}
.consent {
    display: flex;
    align-items: center;
}

.consent input {
    margin-right: 10px;
    width: auto;
}
.submit-btn {
    text-align: center;
}
a {
    color: #a72682;
    text-decoration: none;
    font-weight: bold;
} 

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.step-indicators {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.step {
    width: 30px;
    height: 30px;
    margin: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ddd;
    border-radius: 50%;
}

.step.active {
    background-color: #536387;
    color: white;
}

/* Responsive media query code for mobile devices */
@media(max-width: 584px) {
    form .user-details .form-group {
        width: 100%;
      }
    h1 {
        font-size: 24px;
    }

    h5{
        font-size: 18px;
    }
    
    form .user-details .form-group {
      max-height: 300px;
      overflow-y: scroll;
    }

    .user-details::-webkit-scrollbar {
      width: 5px;
    }
  }