body {
    font-family: Arial, sans-serif;
    background-color: #f7f7f7;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    -webkit-backdrop-filter: blur(5px);
    /* For older Safari */
    backdrop-filter: blur(5px);
    z-index: 9998;
}

.popup-container {
    position: fixed;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    /* For older Safari */
    -ms-transform: translate(-50%, -50%);
    /* For older IE */
    transform: translate(-50%, -50%);
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 20px;
    z-index: 9999;
    -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    /* For older Safari */
    -moz-box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    /* For older Firefox */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.popup-container form {
    max-width: 300px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-weight: bold;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-sizing: border-box;
    /* For older Safari */
    box-sizing: border-box;
    -webkit-transition: border-color 0.3s;
    /* For older Safari */
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: #007bff;
}

.required {
    color: red;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    -webkit-transition: background-color 0.3s;
    /* For older Safari */
    transition: background-color 0.3s;
}

.btn-send-otp {
    background-color: #082756;
    color: #fff;
}

.btn-send-otp:hover {
    background-color: #082756;
    color: #fff;
}

.btn-submit {
    background-color: #082756;
    color: #fff;
}

.btn-submit:hover {
    background-color: #082756;
    color: #fff;
}

.error-msg,
.success-msg {
    display: block;
    margin-top: 5px;
    color: red;
}

/* Hide OTP field by default */
#otp-group {
    display: none;
}

.container_style {
    -webkit-box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    /* For older Safari */
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    margin-top: 25px;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.no-padding-left {
    padding-left: 0 !important;
}

.margin-top0 {
    margin-top: 0 !important;
}

input[type="text"],
input[type="date"],
input[type="number"],
#maritalStatus,
#tshirtsize,
#TrackLength,
#TrackLength,
#TrackWaist,
input[type="email"] {
    border: 1px solid #082756;
}

.red {
    color: red;
}

.center {
    display: -webkit-box;
    /* For older Safari */
    display: -ms-flexbox;
    /* For older IE */
    display: flex;
    -webkit-box-pack: center;
    /* For older Safari */
    -ms-flex-pack: center;
    /* For older IE */
    justify-content: center;
    -webkit-box-align: center;
    /* For older Safari */
    -ms-flex-align: center;
    /* For older IE */
    align-items: center;
}

/* Hide the file input */
.form-control-file {
    position: absolute;
    left: -9999px;
}

/* Style the file input label */
.file-label {
    display: inline-block;
    padding: 2px 12px;
    background-color: #082756;
    color: #fff;
    cursor: pointer;
    border-radius: 8px;
}

.btnsave {
    background: #082756;
    color: #fff;
    padding: 5px 53px;
    font-size: 20px;
    font-weight: 500;
    -webkit-transition: 0.5s;
    /* For older Safari */
    transition: 0.5s;
}

.btnsave:hover {
    background: #083e91;
    color: #fff;
}

h4 {
    color: #082756;
    font-weight: 600;
}

h3 {
    font-size: 30px;
    font-weight: 600;
    color: #082756;
}

label {
    display: inline-block;
    margin-bottom: 0.5rem;
    color: #09162a;
    font-weight: 500;
    font-size: 13px;
    font-weight: 600;
}

.w_input {
    max-width: 200px;
    margin-top: 5px;
}

.dnone {
    display: none;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 400px;
    /* Limit maximum width for better readability */
    position: relative;
}

.close {
    color: #aaa;
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.cropper-container {
    display: -webkit-box;
    /* For older Safari */
    display: -ms-flexbox;
    /* For older IE */
    display: flex;
    -webkit-box-orient: vertical;
    /* For older Safari */
    -webkit-box-direction: normal;
    /* For older Safari */
    -ms-flex-direction: column;
    /* For older IE */
    flex-direction: column;
    -webkit-box-align: center;
    /* For older Safari */
    -ms-flex-align: center;
    /* For older IE */
    align-items: center;
}

.cropper-preview img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 10px;
}

.cropper-buttons button {
    margin: 5px;
}