@media (max-width: 992px) {
    .search-doctor {
        display: flex;
        justify-content: center;
    }

    .hero-doc-img {
        display: none;
    }

    .sponsor-logo {
        width: 100%;
    }

    .sponsor-name {
        width: 90% !important;
    }
}

.unfocused {
    border: 1px solid #dcdcdc !important;
}

#passsword-eye {
    position: absolute;
    top: 0;
    height: 100%;
    display: flex;
    align-items: center;
    right: 0;
    margin-right: 10px;
    color: #b3b3b3;
}

.eye-passsword-container {
    position: relative;
}

.iti {
    width: 100%;
}

.custom-checkbox {
    margin-top: 5px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.doc-info-left {
    display: flex;
}

@media only screen and (max-width: 1000px) {
    .mobile-app-soon {
        height: auto;
        width: 230px;
    }

    #mobile-app-soon-link {
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: center;
        height: 80px;
    }
}

.doc-img {
    height: 170px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 20px;
}

.speciality {
    min-height: fit-content !important;
}

#select2-maj-container {
    text-transform: uppercase !important;
}

div.dataTables_wrapper div.dataTables_filter input {
    border-radius: 25px;
    margin: 20px 10px;
    margin-bottom: 10px;
    padding: 0px 15px;
    min-height: 40px !important;
}

div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    margin: 20px 30px;
}

div.table-responsive>div.dataTables_wrapper>div.row>div[class^="col-"]:first-child {
    padding: 25px;
}

div.table-responsive>div.dataTables_wrapper>div.row {
    background-color: #fff;
    border-bottom: 1px solid #f0f0f0;
    margin-top: 8px;
}

#DataTables_Table_0_wrapper>div:nth-child(2)>div {
    padding: 0px;
}

@media (max-width: 767px) {

    #DataTables_Table_0_wrapper>div:nth-child(1)>div:nth-child(1) {
        padding: 0px;
        text-align: center;
        padding-top: 20px;
    }

    div.dataTables_wrapper div.dataTables_filter input {
        margin: 0;
        margin-bottom: 10px;
        margin-top: 5px;
        width: 90%;
    }

    #DataTables_Table_0_wrapper>div:nth-child(1)>div:nth-child(2) {
        padding: 0px;
    }

    div.dataTables_wrapper div.dataTables_filter label {
        width: 100%;
        display: flex;
        justify-content: center;
    }
}

.passed-day {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.passed-day:hover {
    cursor: not-allowed;
}

.passed-day>span {
    position: absolute;
    line-height: 20px;
    font-size: 14px;
    left: 0;
    right: 0;
    width: 44px;
    margin: 0 auto;
    color: darkgrey;
}

.logout-btn-mobile {
    line-height: 1.5;
    padding: 15px 20px !important;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.colored-toast.swal2-icon-success {
    background-color: #a5dc86 !important;
}

.colored-toast.swal2-icon-error {
    background-color: #f27474 !important;
}

.colored-toast.swal2-icon-warning {
    background-color: #f8bb86 !important;
}

.colored-toast.swal2-icon-info {
    background-color: #3fc3ee !important;
}

.colored-toast.swal2-icon-question {
    background-color: #87adbd !important;
}

.colored-toast .swal2-title {
    color: white;
}

.colored-toast .swal2-close {
    color: white;
}

.colored-toast .swal2-html-container {
    color: white;
}

/* RTL fixes for Bootstrap modals (scoped to custom modals)
   Note: many modals set dir="rtl" on the modal element itself. */
.modal.custom-modal[dir="rtl"] .modal-header,
[dir="rtl"] .modal.custom-modal .modal-header {
    flex-direction: row-reverse;
    justify-content: space-between;
    text-align: right;
}

.modal.custom-modal[dir="rtl"] .modal-header .close,
[dir="rtl"] .modal.custom-modal .modal-header .close {
    margin: 0;
}

.modal.custom-modal[dir="rtl"] .modal-body,
[dir="rtl"] .modal.custom-modal .modal-body {
    text-align: right;
}

.modal.custom-modal[dir="rtl"] .form-group label,
[dir="rtl"] .modal.custom-modal .form-group label {
    display: block;
    text-align: right;
}

/* In RTL, flex-end aligns left; keep footer actions aligned to the right */
.modal.custom-modal[dir="rtl"] .modal-footer,
[dir="rtl"] .modal.custom-modal .modal-footer {
    justify-content: flex-start !important;
}
@media (max-width: 992px) {
    .search-doctor {
        display: flex;
        justify-content: center;
    }

    .hero-doc-img {
        display: none;
    }

    .sponsor-logo {
        width: 100%;
    }

    .sponsor-name {
        width: 90% !important;
    }
}

.unfocused {
    border: 1px solid #dcdcdc !important;
}

#passsword-eye {
    position: absolute;
    top: 0;
    height: 100%;
    display: flex;
    align-items: center;
    right: 0;
    margin-right: 10px;
    color: #b3b3b3;
}

.eye-passsword-container {
    position: relative;
}

.iti {
    width: 100%;
}

.custom-checkbox {
    margin-top: 5px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.doc-info-left {
    display: flex;
}

@media only screen and (max-width: 1000px) {
    .mobile-app-soon {
        height: auto;
        width: 230px;
    }

    #mobile-app-soon-link {
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: center;
        height: 80px;
    }
}

.doc-img {
    height: 170px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 20px;
}

.speciality {
    min-height: fit-content !important;
}

#select2-maj-container {
    text-transform: uppercase !important;
}

div.dataTables_wrapper div.dataTables_filter input {
    border-radius: 25px;
    margin: 20px 10px;
    margin-bottom: 10px;
    padding: 0px 15px;
    min-height: 40px !important;
}

div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    margin: 20px 30px;
}

div.table-responsive>div.dataTables_wrapper>div.row>div[class^="col-"]:first-child {
    padding: 25px;
}

div.table-responsive>div.dataTables_wrapper>div.row {
    background-color: #fff;
    border-bottom: 1px solid #f0f0f0;
    margin-top: 8px;
}

#DataTables_Table_0_wrapper>div:nth-child(2)>div {
    padding: 0px;
}

@media (max-width: 767px) {

    #DataTables_Table_0_wrapper>div:nth-child(1)>div:nth-child(1) {
        padding: 0px;
        text-align: center;
        padding-top: 20px;
    }

    div.dataTables_wrapper div.dataTables_filter input {
        margin: 0;
        margin-bottom: 10px;
        margin-top: 5px;
        width: 90%;
    }

    #DataTables_Table_0_wrapper>div:nth-child(1)>div:nth-child(2) {
        padding: 0px;
    }

    div.dataTables_wrapper div.dataTables_filter label {
        width: 100%;
        display: flex;
        justify-content: center;
    }
}

.passed-day {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.passed-day:hover {
    cursor: not-allowed;
}

.passed-day>span {
    position: absolute;
    line-height: 20px;
    font-size: 14px;
    left: 0;
    right: 0;
    width: 44px;
    margin: 0 auto;
    color: darkgrey;
}

.logout-btn-mobile {
    line-height: 1.5;
    padding: 15px 20px !important;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.colored-toast.swal2-icon-success {
    background-color: #a5dc86 !important;
}

.colored-toast.swal2-icon-error {
    background-color: #f27474 !important;
}

.colored-toast.swal2-icon-warning {
    background-color: #f8bb86 !important;
}

.colored-toast.swal2-icon-info {
    background-color: #3fc3ee !important;
}

.colored-toast.swal2-icon-question {
    background-color: #87adbd !important;
}

.colored-toast .swal2-title {
    color: white;
}

.colored-toast .swal2-close {
    color: white;
}

.colored-toast .swal2-html-container {
    color: white;
}
