.select2 {
    display: block;
    width: 100%;
    padding: .5rem .75rem;
    font-size: 1rem;
    line-height: 1.25;
    color: #495057;
    background-color: #fff;
    background-image: none;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: .25rem;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.select2-container--default .select2-selection--single {
    border: none !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 26px;
    position: absolute;
    top: 8px;
    right: 8px;
    width: 20px;
}

.hidden {
    display: none !important;
}


#send_otp {
    margin-left: 15px;
    background: #1f4494;
    color: #fff;
    border-color: #c1c1c1;
}
  
  
#send_otp:hover {
    opacity: .9;
}
  
#verify_otp:hover {
    opacity: .9;
}

#verify_otp {
    margin-left: 15px;
    background: #2f9d45;
    color: #fff;
    border-color: #c1c1c1;
}

#register_btn {
    background: #1f4494;
    color: #fff;
    border-color: #c1c1c1;
}

#register_btn {
    background: #1f4494;
    color: #fff;
    border-color: #c1c1c1;
}

/* Style the input group for better alignment */
.phone-input-group {
    display: flex;
    align-items: center;
    border: 1px solid #ced4da;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
}

/* Style the country code dropdown */
.phone-input-group select {
    border: none;
    padding: 10px;
    font-size: 16px;
    background-color: #f8f9fa;
    cursor: pointer;
    min-width: 110px;
}

/* Style the phone number input */
.phone-input-group input {
    flex: 1;
    border: none;
    padding: 10px;
    font-size: 16px;
    outline: none;
}

/* Focus styling */
.phone-input-group:focus-within {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.25);
}

/* Mobile-friendly adjustments */
@media (max-width: 768px) {
    .phone-input-group select {
        min-width: 100px;
    }
}
  

.phone-input {
    margin-left: 10px;
    border-top-left-radius: .25rem !important;
    border-bottom-left-radius: .25rem !important;
}

#registrationForm label {
    margin-bottom: 10px;
}

.loader {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    z-index: 9999;
    background: url(../images/ajax-loader.gif) 50% 50% no-repeat
        rgb(51, 49, 49);
}
  
#next_step:disabled {
    background-color: #757575 !important;
    color: #ffffff !important;
    border-color: #757575 !important;
    cursor: not-allowed !important;
}

.section-title {
    font-weight: 600;
    border-left: 5px solid #1f4494;;
    padding-left: 15px;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: var(--bs-dark);
  }

.select2-container--disabled {
padding: 0 !important;
background: #eeeeee;
min-height: 2.5rem;
}
.select2-container--disabled span{
line-height: 36px !important;
}


.drag-drop-area {
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #fafafa;
}

.drag-drop-area:hover {
    border-color: #007bff;
    background-color: #f8f9ff;
}

.drag-drop-area.drag-over {
    border-color: #007bff;
    background-color: #e7f3ff;
}

.instruction-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.instruction-content {
    background: white;
    padding: 30px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.example-image {
    max-width: 100%;
    height: auto;
    border: 2px solid #28a745;
    border-radius: 8px;
    margin: 15px 0;
}

.crop-container {
    max-width: 100%;
    max-height: 400px;
    margin: 20px 0;
}

.crop-modal .modal-dialog {
    max-width: 800px;
}

.cropper-container {
    background-color: #f8f9fa;
}

.btn-crop {
    background: linear-gradient(45deg, #007bff, #0056b3);
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
}

.btn-crop:hover {
    background: linear-gradient(45deg, #0056b3, #004085);
    color: white;
}

.requirements-list {
    list-style: none;
    padding: 0;
}

.requirements-list li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 25px;
}

.requirements-list li::before {
    content: "✅";
    color: #28a745;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.photo-preview {
    max-width: 150px;
    max-height: 200px;
    border: 2px solid #ddd;
    border-radius: 8px;
    margin-top: 15px;
}

.upload-status {
    margin-top: 10px;
    padding: 10px;
    border-radius: 6px;
    display: none;
}

.upload-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.upload-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.modal.show .modal-dialog {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh; /* full screen height for vertical centering */
}
