.cards {
    background: #fff;
    border-radius: 8px;
    border: none; 
}

.profile-upload {
    width: 191px;
    height: 192px;
    border: 2px solid #ccc;
    border-radius: 50%;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: relative; 
    color: #07579F !important
}

.cropper-box {
    width: 256px !important;
    height: 246px !important
}

.upload-label {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    cursor: pointer;
    gap: 8px;
    overflow: hidden;
  border-radius: 50%;
}

#profile-preview {
    display: none;
    width: 95%;
    height: 95%;
    object-fit: cover;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#upload-icon {
    font-size: 30px;
    color: #7A7A7A;
}

.upload-text {
    font-size: 0.9rem;
    color: #7A7A7A;
    text-align: left;
    font: normal normal 600 16px/30px Open Sans;
    letter-spacing: 0px;
    color: #7A7A7A;
    opacity: 1;
}

.photo_error{
    border-color: red;
}

.photo_error .tooltip-icon{
    position: absolute;
    top: 0;
    right: 0
}

#error-msg {
    margin-top: 5px;
    font-size: 0.85rem;
}

.alert ul {
    padding-left: 1rem;
    margin-bottom: 0;
}

.form-label {
    font: normal normal normal 14px/19px Open Sans;
}

.progress-bar {
    height: 10px;
    border-radius: 5px;
    transition: width 0.3s ease-in-out;
    width: 60%;
    background-color: #07579F
}

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

.is-invalid {
    border-color: #FF3D3D !important;
}

.edit-profile-page h3 {
    text-align: left;
    font: normal normal 600 28px/30px Open Sans;
    letter-spacing: 0px;
    color: #111111;
    opacity: 1;
}

.cards {
    background: #FFFFFF 0% 0% no-repeat padding-box;
    box-shadow: 0px 0px 8px #11111129 !important;
    border-radius: 8px;
    opacity: 1;
    border: none;
}

.profile-progress {
    color: #fff7ef;
}

.custom-alert-box {
    text-align: left;
    font: normal normal normal 13px/20px Open Sans !important;
    letter-spacing: 0px;
    color: #111111;
    opacity: 1;
    background: #F5FAFF !important;
}

.custom-alert-box ul {
    list-style-position: outside;
    padding-left: 20px;
    margin: 0;
}

.custom-alert-box li {
    list-style-type: disc;
    color: #111111;
}

.custom-alert-box li::marker {
    color: #07579F;
}


#add-certifications {
    margin-top: 15px !important;
    color: #07579F;
}

.cancel-btn {
    color: #c43029 !important;
    border-color: #c43029 !important;
    background-color: white;
    padding: 10px 20px;
    font-size: 1rem;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.cancel-btn:hover {
    background-color: #c43029 !important;
    color: white !important;
    border-color: #c43029;
}

.submit-btn {
    color: white !important;
    border-color: #c43029 !important;
    background-color: #c43029 !important;
    padding: 10px 20px;
    font-size: 1rem;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.submit-btn:hover {
    background-color: white !important;
    color: #c43029 !important;
    border-color: #c43029 !important;
}

#cropperModal .modal-dialog {
    max-width: 90%;
    width: auto;
    margin: 2rem auto;
}

.cert,
.specialization {
    display: flex;
    gap: 16px;
    align-items: center;
}

.specialization + .specialization,
.cert + .cert {
  margin-top: 8px;
}

.specialization input,
.cert input {
    width: 31%;
}

.specialization-remove{
    font-weight: 600;
}

.custom-error {
    color: #b00;
    font-size: 0.95em;
    margin: 0.25em 0 0 0;
}

.is-invalid {
    border-color: #b00;
}

.is-valid {
    border-color: #0b0;
}

.has-error {
    background: #ffeaea;
}

.has-success {
    background: #eaffea;
}

#profile_picture_error .custom-error {
    text-align: center;
}

.cropper-container {
    width: 100%;
    height: auto;
    max-height: 300px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

#cropperImage {
    max-width: 100%;
    height: auto;
    display: block;
}

#cropperModal .modal-body {
    padding: 20px;
}

.modal-body {
    overflow-y: auto;
    max-height: 70vh;
}

.modal-footer {
    border: none !important;
    display: flex;
    justify-content: center !important;
    gap: 10px;
}

.separator {
    margin: 0 2px;
}

.breadcrumb-section .current-page {
    font-weight: bold;
    padding-left: 4px;
}

.tooltip-icon {
    position: relative;
    display: inline-block;
    margin-left: 5px;
    cursor: pointer;
    color: #07579F !important;
}

.tooltip-icon .tooltip-text {
    visibility: hidden;
    background-color: #ffffff;
    border-radius: 6px;
    padding: 6px 10px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    box-shadow: 0px 0px 8px #11111129 !important;
    border: 0px;
    transition: opacity 0.2s ease;
    text-align: left;
    font: normal normal normal 12px/19px Open Sans;
    letter-spacing: 0px;
    color: #FF3D3D;
    opacity: 1;
}

.tooltip-icon .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 6px;
    border-style: solid;
    border-color: #ffffff transparent transparent transparent;
}

.tooltip-icon:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}


.form-control.is-invalid {
    background-image: none !important;
}

/* .btn {
    text-align: center;
    font: normal normal 600 14px/19px 'Open Sans', sans-serif;
    letter-spacing: 0px;
    color: #FFFFFF;
    opacity: 1;
} */

.profile-upload:has(#profile-preview[style*="display: block"]) {
    border: 2px solid #07579F;
}

.mobile-menu.active {
    display: flex !important;
}

.mobile-menu {
    transition: all 0.3s ease-in-out;
}

.profile-link {
    text-decoration: none;
    color: black !important;
    font-weight: bold;
    padding-left: 4px;
}

@media (min-width: 759px) and (max-width: 991px) {
    .profile-upload {
        width: 130px !important;
        height: 130px !important;
    }
}


@media (min-width: 768px) {
    #cropperModal .modal-dialog {
        max-width: 600px;
    }
 
}

@media (width: 768px),
(width: 820px) {
    .custom-col-override {
        flex: 0 0 50% !important;
        width: 50% !important;
    }

    .custom-col8-override {
        flex: 0 0 50% !important;
        width: 50% !important;
    }

    #add-certifications {
        margin-top: -0.25px !important;
    }
}

@media (max-width: 768px) {
     .specialization input, 
     .cert input {
        width: 46%;
    }
}