﻿body {
    font-family: 'Inter', sans-serif;
}

@font-face {
    font-family: 'Poppins';
    src: url('../Fonts/Poppins-Regular.ttf') format('truetype');
    font-weight: 400;
}

@font-face {
    font-family: 'Poppins';
    src: url('../Fonts/Poppins-Bold.ttf') format('truetype');
    font-weight: 700;
}

.form-control {
    /*    background: white !important;*/
    color: #3e3e3e !important;
    border-radius: 10px !important;
    border-color: #c0c0c0 !important;
    height: 50px;
}

    .form-control:disabled {
        background-color: #e9ecef !important;
    }

/*Back to top.*/
.back-to-top {
    position: fixed;
    bottom: -100px;
    right: 10px;
    width: 70px;
    height: 70px;
    cursor: pointer;
    z-index: 10;
}


input[type=text], input[type=password], .input-group {
    min-width: 130px !important;
}

body {
    color: #1e1e1e;
}

.background {
    background-color: white;
    border-radius: 20px;
    /*box-shadow: 2px 2px 12px grey;*/
    /*    box-shadow: 0 5px 10px 0 rgb(0 0 0 / 25%);*/
    -moz-box-shadow: 0 5px 10px 0 rgba(0,0,0,.25);
    /*    -webkit-box-shadow: 0 5px 10px 0 rgb(0 0 0 / 25%);*/
    -o-box-shadow: 0 5px 10px 0 rgba(0,0,0,.25);
    -ms-box-shadow: 0 5px 10px 0 rgba(0,0,0,.25);
}

.dark-mode .background {
    background-color: #1D1D1D;
}

.container {
    background-color: white;
    border-radius: 20px;
}

.loginContainer {
    background-color: initial;
}

#gvSiblings tbody tr:first-child {
    background-color: #F2F2F2;
    font-size: 9pt;
}

    #gvSiblings tbody tr:first-child th {
        background-color: #f4f6f8;
        color: black;
        font-weight: 600;
        padding: 12px 15px;
        text-align: left;
        border-bottom: 2px solid #ced4da;
        text-transform: uppercase;
        font-size: 14px;
    }

.progress {
    margin-top: 5px;
}


.white-popup, .white-popup-600,
.white-popup-alert {
    position: relative;
    padding: 5px;
    width: auto;
    max-width: 400px;
    margin: 20px auto;
}


.loginStaffText {
    font-size: 15px;
    line-height: 19px;
}

    .loginStaffText a {
        color: black;
    }

.dark-mode .loginStaffText a {
    color: #D9D9D9;
}

.loginStaffText a.dentalBlueColor {
    text-decoration: underline;
}

.footerBottom {
    position: fixed;
    bottom: 0;
}

.white-popup-600,
.white-popup-alert {
    max-width: 600px;
}

.white-popup-750 {
    max-width: 750px;
}

.white-popup, .white-popup-600,
.loading-container, .loginSuggestions,
.white-popup-alert {
    background: #FFF;
    border-radius: 20px;
}

.admin_page_table {
    background: white;
    width: auto;
    padding: .5rem !important;
}

.table-striped {
    border: 1px solid #e6e6e6;
}

.table {
    margin-bottom: 0px;
}

.delete_Button {
    background-color: transparent;
    border: none;
    font-size: 18px;
    color: #da4c79;
}

.admin_page_table.table.table-striped .delete_Button {
    width: 100%;
}

button.delete_Button:focus,
button.delete_Button:active {
    outline: none;
}

button.close {
    float: none;
    position: absolute;
    right: 10px;
    top: 50%;
    margin-top: -1%; /* Needs to be half the height of the element (21/2) */
}

@media screen and (min-width: 935px) {
    div#the_form .form-input-wide select,
    div#the_form .form-input-wide input:not([type=button]),
    div#the_form textarea,
    div.patientInfoForm input:not([type=button]):not([type=submit]),
    div.patientInfoForm .custom-file,
    div.patientInfoForm select,
    .input-group:not(#frInput) {
        max-width: 300px;
    }
}

.dark-mode .patientInfoForm, .dark-mode .multipleFieldElement {
    color: white;
}

.inner-content-2 {
    background: white;
    border-radius: 4px;
}

.footer {
    padding: 2.5em 2em 1em 2em;
}

header {
    height: 120px;
}

.titles-container {
    display: inline-block;
    vertical-align: middle;
    margin-left: 40px;
}

.header {
    margin: 0;
    display: table;
    width: 100%;
    height: 120px;
}

    .header .inner-header {
        padding: 0.25em 0.75em 0.25em;
        display: table-cell;
        vertical-align: middle;
    }

.header-title {
    font-size: 24px;
}

.header-sub-title {
    margin: 10px 0px;
    font-size: 16px;
    letter-spacing: 2px;
}

.header-sub-title-2 {
    margin: 10px 0px;
    font-size: 14px;
    letter-spacing: 2px;
}

.logo-container, .inline-container {
    display: inline-block;
}

#officeName {
    font-size: 24px;
    font-weight: bold;
}

span.subTitle {
    color: #3e3e3e;
    font-size: 18px;
}

.subTitle {
    color: #3e3e3e;
    font-size: 18px;
}

div.wrapTitle, #popupForm div.title {
    margin-bottom: 15px;
}

div.completedFormDate {
    display: block;
    font-size: 12px;
    color: #6e6e6e;
}

label.form-label-top {
    margin-bottom: 0px;
    padding: 10px 10px 0 0;
    margin-top: 15px;
}

/* Logo size */
.logoExtraSmall {
    max-height: 80px !important;
}

.logoSmall {
    max-height: 100px !important;
}

.logoMedium {
    max-height: 120px !important;
}

.logoLarge {
    max-height: 140px !important;
}

.logoExtraLarge {
    max-height: 160px !important;
}

.jSignature {
    background: white;
    border: 4px dotted #127bc0 !important;
}

div[data-type="signature-image"] > * {
    background: white;
    border: 4px dotted #127bc0 !important;
}

.patient-info-image {
    object-fit: cover;
    border-radius: 50%;
    height: 60px;
    width: 60px;
}

.dialogContent {
    padding: 5px 30px 5px 30px;
    font-weight: bold;
    color: black;
    font-size: 16px;
}

.dark-mode .dialogContent {
    color: white;
}

span.first-letter {
    text-transform: lowercase;
}

    span.first-letter::first-letter {
        text-transform: uppercase;
    }

/*.page-wrapper .page-content > div.content {
    padding: 20px 0px;
}*/

.officePoliciesHeight {
    max-height: 330px;
    overflow-y: auto;
    background-color: #e9ecef;
    padding: 15px;
}

.text-transform-none {
    text-transform: none !important;
}

div#signature > canvas,
div[data-type="signature-image"] > img,
div[data-type="signature"] > canvas {
    /*    max-width: 500px;*/
    /*        width: 100% !important;*/
    height: 150px;
}


@media only screen and (min-width: 769px) {
    .signature .jSignature {
        width: 500px !important;
    }
}

.jSignature {
    background: white !important;
    width: 100% !important;
}
/*@media only screen and (max-width: 650px) {
        div[data-type="signature"] > canvas {*/
/*            max-width: 330px !important;
        }*/
/*}*/

.dark-mode .select2-selection.select2-selection--single {
    background: none !important;
}

.dark-mode .select2-selection__arrow {
    background: none !important;
}

.btn-primary {
    border: none;
}

.btn.btn-primary:hover,
.btn.btn-primary:focus {
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#1a000000', GradientType=0);
    background-image: -webkit-gradient(linear,0 0,0 100%,from(transparent),color-stop(40%,rgba(0,0,0,.05)),to(rgba(0,0,0,.1)));
    background-image: -webkit-linear-gradient(transparent,rgba(0,0,0,.05) 40%,rgba(0,0,0,.1));
    background-image: -moz-linear-gradient(top,rgba(0,0,0,.05) 0,rgba(0,0,0,.1));
    background-image: -o-linear-gradient(transparent,rgba(0,0,0,.05) 40%,rgba(0,0,0,.1));
    background-image: linear-gradient(transparent,rgba(0,0,0,.05) 40%,rgba(0,0,0,.1));
    border: none;
}

.btn-secondary {
    background: #E6E6E6;
    border: 1px solid #E6E6E6;
    color: #000 !important;
}

    .btn-secondary:hover, .btn-secondary:focus, .btn-secondary.focus,
    .btn-secondary:active, .btn-secondary.disabled, .btn-secondary:disabled,
    .btn-secondary:not(:disabled):not(.disabled):active,
    .btn-secondary:not(:disabled):not(.disabled).active,
    .show > .btn-secondary.dropdown-toggle,
    .btn-secondary:not(:disabled):not(.disabled):active:focus,
    .btn-secondary:not(:disabled):not(.disabled).active:focus,
    .show > .btn-secondary.dropdown-toggle:focus {
        background: rgba(230,230,230,1);
        border: 1px solid rgba(230,230,230,1);
        background: -moz-linear-gradient(top, rgba(230,230,230,1) 0%, rgba(202,202,202,1) 99%, rgba(230,230,230,1) 100%);
        background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(230,230,230,1)), color-stop(99%, rgba(202,202,202,1)), color-stop(100%, rgba(230,230,230,1)));
        background: -webkit-linear-gradient(top, rgba(230,230,230,1) 0%, rgba(202,202,202,1) 99%, rgba(230,230,230,1) 100%);
        background: -o-linear-gradient(top, rgba(230,230,230,1) 0%, rgba(202,202,202,1) 99%, rgba(230,230,230,1) 100%);
        background: -ms-linear-gradient(top, rgba(230,230,230,1) 0%, rgba(202,202,202,1) 99%, rgba(230,230,230,1) 100%);
        background: linear-gradient(to bottom, rgba(230,230,230,1) 0%, rgba(202,202,202,1) 99%, rgba(230,230,230,1) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e6e6e6', endColorstr='#e6e6e6', GradientType=0 );
    }

a:no-button {
    color: #0090c5;
}

/*.content {
    line-height: 1.6em;
}*/

legend label, legend span {
    font-size: 16px;
}

legend {
    display: block;
    width: 100%;
    padding: .3em 0;
    margin-bottom: .3em;
    color: #333;
    /*border-bottom: 1px solid #e5e5e5;*/
    font-weight: bold;
}

.rating-wrapper {
    direction: rtl;
}

.rating {
    padding: 1rem 1rem 1rem 0px;
}

.btn.disabled,
.btn:disabled {
    cursor: not-allowed;
}

.rating-wrapper label {
    height: 30px;
    width: 50px;
    cursor: pointer;
    position: relative;
}

.rating-wrapper input {
    display: none;
}

.rating-wrapper label:before {
    content: "\2605";
    position: absolute;
    font-size: 50px;
    display: inline-block;
    top: 0;
    left: 0;
}

.rating-wrapper label:after {
    content: "\2605";
    position: absolute;
    font-size: 50px;
    display: inline-block;
    top: 0;
    left: 0;
    color: #ffc107;
    opacity: 0;
}

.rating-wrapper label:hover:after,
.rating-wrapper label:hover ~ label:after,
.rating-wrapper input:checked ~ label:after {
    opacity: 1;
}

.display-language.dropdown ul.dropdown-menu.show {
    min-width: 100px;
    text-align: center;
    top: -4px !important;
}

.display-language a:first-child {
    border: 1px solid transparent;
    border-radius: 4px;
    padding: 4px 13px;
    color: #7C8081;
}

#displayeLanguage {
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 5px 13px;
    color: #7c8081;
}

a.dropdown-toggle {
    background-color: #FFF;
}

.initialBackground {
    background: initial;
}

#inputFile.spanish label.custom-file-label::after {
    content: "Vistazo";
}

#the_form .form-label-top {
    min-width: 300px;
}

div.input-group {
    flex: unset !important;
}

span[readonly="readonly"] {
    width: 100% !important;
    height: 100% !important;
    white-space: pre-wrap !important;
}

#next .btnNo, #next .btnYes {
    width: 120px;
}

.dentalStuffLogin {
    background-color: #fff;
    text-transform: none !important;
    font-weight: bold !important;
}

.dark-mode .dentalStuffLogin {
    color: #d9d9d9;
    background: transparent;
}

.online-form {
    font-size: 20px;
}

.btn-insurance {
    background-color: #f59d5c;
}

    .btn-insurance:hover {
        filter: brightness(80%);
        transition: filter .15s
    }

.fas.fa-times {
    color: #da4c79;
}

/*Phone number plug in formatin*/
.iti {
    min-width: 337px;
    display: flex !important;
}

    .iti input {
        width: 85%;
    }

@media only screen and (max-width: 635px) {
    .iti {
        display: block !important;
    }

    .iti__country-container:has(~ .error-box:not(.error-box[style*="display: none"])) {
        bottom: initial !important;
        height: 37px;
    }
}

@media only screen and (max-width: 480px) {
    .content {
        padding: 0 0.75em;
    }

    .inner-content {
        padding: 1em 0.5em;
    }
}

@media (max-width: 935px) {
    .inner-header {
        text-align: center;
    }

    .header {
        padding-top: 5px;
        font-size: 25px;
        gap: 40px;
    }

    .titles-container {
        margin-left: 0;
    }
}

@media screen and (min-width: 1500px) {
    div.multipleFieldsContainer > div.multipleFields:not(:first-of-type) > div.multipleFieldItem > label {
        display: none;
    }

    div.multipleFieldsContainer i.fas.fa-times-circle {
        float: left;
    }

        div.multipleFieldsContainer i.fas.fa-times-circle:not(:first-of-type) {
            margin-top: 11px;
        }

        div.multipleFieldsContainer i.fas.fa-times-circle:first-of-type {
            margin-top: 40px;
        }

    /* div.multipleFieldsDuplicateButton > button {
        margin-left: 29px;
    }*/
}

.popupTitle {
    color: #3e3e3e;
    font-size: 18px;
}

.ds-btn {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: .375rem 40px;
    line-height: 1.5;
    border-radius: 50px;
    font-size: 14px;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    text-transform: uppercase;
}


.ds-btn-gray {
    background: #3D3D3D;
    color: white;
    border: 1px solid #979797 !important;
}

    .ds-btn-gray:hover {
        background: #1C1C1C;
        color: white;
        border-color: #979797 !important;
        text-decoration: none;
    }

    .ds-btn-gray:active {
        background: #979797 !important;
        transform: scale(0.98);
        border-color: #737373 !important;
    }


    .ds-btn-gray:disabled,
    .ds-btn-gray[disabled] {
        background: #cccccc !important;
        color: #888888 !important;
        border-color: #bbbbbb !important;
        cursor: not-allowed !important;
        opacity: 0.7;
        box-shadow: none !important;
    }

.ds-btn-primary {
    background: #3d3d3d !important;
    color: white !important;
    border: 1px solid white !important;
}

    .ds-btn-primary:hover {
        background: white !important;
        color: #3e3e3e !important;
        border-color: #3e3e3e !important;
        text-decoration: none;
    }

    .ds-btn-primary:active {
        background: #979797 !important;
        transform: scale(0.98);
        border-color: #737373 !important;
    }


    .ds-btn-primary:disabled,
    .ds-btn-primary[disabled] {
        background: #cccccc !important;
        color: #888888 !important;
        border-color: #bbbbbb !important;
        cursor: not-allowed !important;
        opacity: 0.7;
        box-shadow: none !important;
    }


.ds-btn-white {
    background: white;
    border-color: #3e3e3e;
    color: #3e3e3e;
    text-decoration: none;
}

    .ds-btn-white:hover {
        text-decoration: none;
        color: white;
        background: #1c1c1c;
        border-color: #979797;
    }

.ds-btn-secondary {
    background: white !important;
    border-color: #3e3e3e !important;
    color: #3e3e3e !important;
    text-decoration: none !important;
}

    .ds-btn-secondary:hover {
        text-decoration: none !important;
        color: white !important;
        background: #3d3d3d !important;
        border-color: #979797 !important;
    }

    .ds-btn-secondary:active,
    .ds-btn-secondary:focus {
        color: #3e3e3e !important; /* Текстот да биде темно сив */
        background: #f0f0f0 !important; /* Опционално: многу светло сива позадина за да се познава дека е кликнато */
        border-color: #3e3e3e !important;
        outline: none !important; /* Го трга стандардниот син појас (рамка) што го става прелистувачот */
    }

hr {
    border-color: #c4c4c4;
}

.newPatientMainBox {
    background: white;
    margin: 20px auto;
    border-radius: 20px;
    width: 95%;
    max-width: 800px;
    padding: 40px;
}

@media screen and (min-width: 1200px) {
    .newPatientMainBox {
        margin: 10px auto;
        width: 60%;
        padding: 50px;
    }
}


.existingPatientMainBox {
    background: white;
    margin: 20px auto;
    border-radius: 20px;
    width: 95%;
    max-width: 800px;
    padding: 50px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

@media screen and (min-width: 1200px) {
    .existingPatientMainBox {
        margin: 50px auto;
        width: 60%;
    }
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
    -webkit-text-fill-color: #3e3e3e !important;
    border-radius: 10px !important;
    border-color: #C0C0C0;
}

input:filter(autofill) {
    background-color: white !important;
    color: #3e3e3e !important;
    border-color: #C0C0C0;
}

.form-control:focus {
    border-color: #c0c0c0 !important;
/*    box-shadow: none !important;*/
    outline: 0;
}

.ds-radio:focus {
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

.input-group .form-control:focus {
    border-color: #c0c0c0 !important;
}


.chechEmailBox {
    background-color: white;
    border-radius: 20px;
    color: #3e3e3e;
}


.dob-container {
    display: flex;
    align-items: start;
    flex-direction: column;
}

    .dob-container .form-control {
        padding-right: 40px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

.btn-inside-datepicker {
    position: absolute;
    right: 12px;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    z-index: 5;
    display: flex;
    align-items: center;
    height: 100%;
    outline: none !important;
}

    .btn-inside-datepicker i {
        font-size: 1.1rem;
        color: #6c757d;
    }

    .btn-inside-datepicker:hover i {
        color: #3d3d3d;
    }

.public.page-wrapper {
    min-height: 100vh;
    background-attachment: fixed;
    background-image: radial-gradient(circle at 0% 0%, rgba(255,255,255,0.9) 0%, transparent 50%), radial-gradient(circle at 100% 100%, rgba(255,255,255,0.8) 0%, transparent 50%), radial-gradient(circle at 50% 30%, white 0%, transparent 60%), linear-gradient(135deg, #f8f9fa 0%, #ced4da 50%, #A2A7AF 100%);
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

    .public.page-wrapper::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 700px;
        background-image: linear-gradient(rgba(0,0,0,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,.1) 1px, transparent 1px);
        background-size: 40px 40px;
        -webkit-mask-image: radial-gradient(ellipse 50% 60% at 50% 30%, black 0%, transparent 100%);
        mask-image: radial-gradient(ellipse 50% 60% at 50% 30%, black 0%, transparent 100%);
        pointer-events: none;
        z-index: -1;
    }

.dark-mode.public.page-wrapper::before {
    background-image: linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 40px 40px;
}

.page-wrapper {
    min-height: 100vh;
    background-attachment: fixed;
    background-image: linear-gradient(225deg, #d6d8da 0%, white 40%);
    background-color: white;
    position: relative;
    overflow: hidden;
    z-index: 1;
}


.title {
    font-size: 30px;
    color: black;
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
}

.dark-mode .title {
    color: white;
}



.control {
    /*    display: flex;*/
    align-items: center;
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    cursor: pointer;
    font-size: 16px;
    min-height: 22px;
}


.labelTitle {
    font-size: 18px;
    color: black;
    font-weight: bold;
    font-family: Poppins;
}

.labelText {
    font-size: 16px;
    color: #3e3e3e;
}

.inputLabel {
    color: black;
    font-size: 18px;
}

.radioLabel {
    font-size: 18px;
    color: black;
    margin-bottom: 25px;
    display: block;
    display: block;
}

#sun-img {
    color: #9c9c9c;
}

#moon-img {
    color: #ededed;
}

.inputLabel {
    font-size: 16px;
    color: black;
}

.sectionHeader {
    color: black;
    font-size: 18px;
    font-weight: bold;
    margin-top: 50px;
    margin-bottom: 25px;
    font-family: Poppins;
}

.dark-mode .sectionHeader {
    color: white;
}

.sectionSubHeader {
    color: black;
    font-size: 18px;
    margin-top: 50px;
    margin-bottom: 25px;
    display: block;
}

.form-group {
    margin-bottom: 25px !important;
}

#filterModal .form-group {
    margin-bottom: 0px !important;
}

.divSignatureTextbox.form-group {
    margin-top: 45px !important;
}

.form-group-switch {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px !important;
}

    .form-group-switch > span {
        margin: 0;
        padding-top: 5px;
        line-height: 1.4;
        display: inline-block;
        color: #1e1e1e;
    }

.onoffswitch {
    flex-shrink: 0;
    margin: 0 !important;
}

.custom-control {
    margin-bottom: 15px;
}

.custom-radio .custom-control-label::before {
    background-color: white !important;
    border: 1px solid #919191 !important;
    width: 22px !important;
    height: 22px !important;
    top: 2px !important;
}

.custom-radio .custom-control-input:checked ~ .custom-control-label::after {
    background-image: none !important;
    background-color: #127bc0 !important;
    border-radius: 50% !important;
    width: 14px !important;
    height: 14px !important;
    top: 6px !important;
    left: -20px !important;
    content: "" !important;
    display: block !important;
}

.custom-radio .custom-control-input:checked ~ .custom-control-label::before {
    border-color: #919191 !important;
    background-color: white !important;
}

.ds-radio {
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    height: 22px;
    width: 22px;
    background-color: white !important;
    border: 1px solid #919191 !important;
    border-radius: 50% !important;
    cursor: pointer;
    outline: none;
    display: inline-block;
    margin: 0;
    vertical-align: middle;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

    .ds-radio:checked::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 14px;
        height: 14px;
        background-color: #127bc0 !important;
        border-radius: 50% !important;
        display: block;
    }


    .ds-radio:hover {
        border-color: #777 !important;
    }



.dark-mode .ds-radio {
    background-color: #1c1c1c !important;
    border-color: #919191 !important;
}

.ds-radio:checked::after {
    background: none !important;
}


.control--radio {
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 16px;
    user-select: none;
    line-height: 22px;
}

    .control--radio input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
    }

    .control--radio .control__indicator {
        position: absolute;
        top: 0;
        left: 0;
        height: 22px;
        width: 22px;
        background: #fff !important;
        border: 1px solid #919191 !important;
        border-radius: 50% !important;
    }

    .control--radio:hover input ~ .control__indicator {
        border-color: #777 !important;
    }

    .control--radio input:checked ~ .control__indicator {
        background-color: #fff !important;
        border-color: #919191 !important;
    }

    .control--radio .control__indicator:after {
        content: "";
        position: absolute;
        display: none;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 14px;
        height: 14px;
        border-radius: 50% !important;
        background-color: #127bc0 !important;
    }

    .control--radio input:checked ~ .control__indicator:after {
        display: block !important;
    }

.dark-mode .control--radio .control__indicator {
    background-color: #1c1c1c !important;
    border-color: #919191 !important;
}

.dark-mode .control--radio input:checked ~ .control__indicator {
    background-color: #1c1c1c !important;
}

.custom-control-label {
    padding-left: 8px;
    padding-top: 2px;
    cursor: pointer;
}

.custom-control-input:checked ~ .custom-control-label::before {
    box-shadow: none !important;
}

.custom-control-input:focus ~ .custom-control-label::before {
    box-shadow: none !important;
}

.custom-control-input:focus:not(:checked) ~ .custom-control-label::before {
    border-color: #919191 !important;
}


.control--checkbox .control__indicator {
    position: absolute;
    /*    top: 50%;
    transform: translateY(-50%);*/
    left: 0;
    height: 22px;
    width: 22px;
    background: #fff !important;
    border: 1px solid #919191 !important;
    border-radius: 6px !important;
}

.control--checkbox input:checked ~ .control__indicator:after {
    display: none !important;
}

.control--checkbox input:checked ~ .control__indicator {
    background-color: #fff !important;
    border-color: #919191 !important;
}

    .control--checkbox input:checked ~ .control__indicator::before {
        content: "";
        position: absolute;
        top: 3px;
        left: 3px;
        width: 14px;
        height: 14px;
        background-color: #127bc0 !important;
        border-radius: 3px !important;
        display: block;
    }

.control--checkbox:hover input ~ .control__indicator,
.control--checkbox input:focus ~ .control__indicator {
    border-color: #919191 !important;
    box-shadow: none !important;
}

.dark-mode .control--checkbox .control__indicator {
    background: #1c1c1c !important;
    border-color: #919191 !important;
}

.dark-mode .control--checkbox input:checked ~ .control__indicator {
    background-color: #1c1c1c !important;
}


.ds-checkbox {
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    height: 22px;
    width: 22px;
    background: #fff !important;
    border: 1px solid #919191 !important;
    border-radius: 6px !important;
    cursor: pointer;
    outline: none;
    display: inline-block;
    margin: 0;
    vertical-align: middle;
    transition: all 0.2s ease;
}

    .ds-checkbox:checked::after, .ds-checkbox .not-empty:checked::after {
        border: none !important;
    }

    .ds-checkbox:checked {
        background-color: #fff !important;
        border-color: #919191 !important;
    }

        .ds-checkbox:checked::before {
            content: "";
            position: absolute;
            top: 3px;
            left: 3px;
            width: 14px;
            height: 14px;
            background-color: #127bc0 !important;
            border-radius: 3px !important;
            display: block;
        }

    .ds-checkbox:hover,
    .ds-checkbox:focus {
        border-color: #919191 !important;
        box-shadow: none !important;
    }

.dark-mode .ds-checkbox {
    background: #1c1c1c !important;
    border-color: #919191 !important;
}

    .dark-mode .ds-checkbox:checked {
        background-color: #1c1c1c !important;
    }



.onoffswitch {
    position: relative;
    width: 75px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    margin: 0px !important;
}

.onoffswitch-checkbox {
    display: none;
}

.onoffswitch-label {
    display: block;
    overflow: hidden;
    cursor: pointer;
    border-radius: 30px;
    margin: 0;
    height: 35px !important;
    width: 75px !important;
    border: none !important;
}

.onoffswitch-inner {
    display: block;
    width: 200%;
    margin-left: -100%;
    transition: margin 0.3s ease-in 0s;
}

    .onoffswitch-inner:before, .onoffswitch-inner:after {
        display: block;
        float: left;
        width: 50%;
        height: 35px;
        padding: 0;
        line-height: 35px;
        font-size: 16px;
        color: white;
        font-family: 'Lato', sans-serif;
        box-sizing: border-box;
    }


    .onoffswitch-inner:before {
        content: "Yes";
        padding-left: 10px;
        background-color: rgba(18, 123, 192, 0.15);
        color: #127bc0;
        text-align: left;
        border-radius: 15px;
        font-weight: normal;
        font-size: 16px;
    }

    .onoffswitch-inner:after {
        content: "No";
        padding-right: 10px;
        background-color: #EAEAEA;
        color: #959595;
        text-align: right;
        font-size: 16px;
        font-weight: normal;
        border: 1px solid #c8c8c8;
        border-radius: 18px;
    }

.onoffswitch-switch {
    display: block;
    width: 25px;
    height: 25px;
    margin: 4px;
    background: #959595;
    position: absolute;
    top: 1px;
    bottom: 0;
    right: 37px;
    border-radius: 50%;
    transition: all 0.3s ease-in 0s;
    border: none !important;
}


.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
    margin-left: 0;
}

.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
    right: 5px;
    background-color: #127bc0;
    top: 1px;
}


@media (min-width: 576px) {
    .col-sm-6 {
        max-width: 47%;
    }
}

.dropzone {
    border-color: #127bc0 !important;
    border-radius: 10px !important;
}

.dz-message p {
    color: #127bc0 !important;
}


/*Lnguage Dropdown*/
.pill-language {
    display: inline-flex !important;
    align-items: center;
    height: 38px !important;
    background-color: #ededed !important;
    color: #1a1a1a !important;
    padding: 0px 14px !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    border: none !important;
    transition: all 0.3s ease;
}

    .pill-language:hover {
        background-color: #e2e2e2 !important;
        text-decoration: none !important;
    }

    .pill-language .iconify {
        font-size: 20px;
        color: #1a1a1a;
    }

.lang-text {
    font-family: 'Lato', sans-serif;
    font-weight: 500;
    font-size: 18px;
}

.pill-language .fa-angle-down {
    font-size: 12px;
    opacity: 0.7;
}

.dropdown-toggle::after {
    display: none !important;
}

.dark-mode .pill-language {
    background-color: #2a2a2a !important;
    color: #ffffff !important;
    border: 1px solid #3c3c3c !important;
}

    .dark-mode .pill-language .iconify {
        color: #ffffff;
    }


.siblings-title {
    /*    color: #696969;
    font-weight: bold;
    text-transform: uppercase;*/
    color: #242424;
    font-family: 'Poppins', sans-serif !important;
    font-weight: bold;
    font-size: 18px;
}

.section-text {
    font-size: 18px;
}

.noLogs {
    border: 1px solid #C0C0C0 !important;
    border-radius: 15px;
    padding: 10px;
    text-align: center;
}


.insurance-card {
    border-radius: 15px !important;
    border: 1px solid #C0C0C0 !important;
    padding: 10px;
    background: white;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    height: 100%;
}

.dark-mode .insurance-card {
    background: transparent;
}

.insurance-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-color: #a0a0a0 !important;
}

.plan-type-badge {
    border-radius: 10px;
    padding: 5px 12px;
    font-size: 11px;
    background-color: #333;
}

.add-plan-card {
    border: 2px dashed #ddd !important;
    background-color: #f9f9f9;
    border-radius: 15px !important;
    min-height: 200px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dark-mode .add-plan-card {
    background: transparent;
    border: 2px dashed #4c4c4c !important;
}

.add-plan-card:hover {
    border-color: #bbb !important;
    background-color: #f0f0f0 !important;
    transition: all 0.3s ease;
}

.dark-mode .add-plan-card:hover {
    background: transparent !important;
}

.add-plan-link {
    text-decoration: none !important;
}

.font-weight-500 {
    font-weight: 500;
}

.rounded-pill {
    border-radius: 50px !important;
}

.gap-2 {
    gap: 10px;
}

.plan-subscriber, .plan-status {
    color: black;
    font-size: 16px;
}

.dark-mode .plan-subscriber, .dark-mode .plan-status {
    color: white;
}

.subscriber, .status {
    color: #898989;
    font-size: 16px;
}

.plan-name {
    color: black;
    font-size: 18px;
}

.dark-mode .plan-name {
    color: white;
}

.archived-plans-toggle {
    background-color: #eeeeee;
    border-radius: 25px;
    padding: 12px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    user-select: none;
    color: black;
    font-weight: 500;
}

    .archived-plans-toggle:hover {
        background-color: #e5e5e5;
    }

.archived-card {
    transition: transform 0.2s;
}

    .archived-card:hover {
        transform: translateY(-3px);
        opacity: 1 !important;
    }

.archived-badge {
    border-radius: 10px;
    padding: 5px 12px;
    font-size: 11px;
    background: #FF6464;
}


.ds-modal {
    position: relative;
    background: white;
    overflow: hidden;
    border-radius: 20px;
}

    .ds-modal > * {
        position: relative;
        z-index: 1;
    }

.ds-header {
    font-family: Poppins;
    font-size: 18px;
    text-align: center;
    color: #242424;
    font-weight: bold;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

.ds-modal-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.ds-modal-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
}

.dark-mode .sidebar-wrapper .sidebar-header .user-info > span {
    color: white;
}

.dark-mode .transaction-id a {
    color: white !important;
}

.dark-mode label {
    color: white;
}

.dark-mode .desktop-only-info {
    color: #b8bfce !important;
}

.dark-mode .payment-title, .dark-mode .historyLog {
    color: white !important;
}

.userInfoMobile .user-name {
    font-size: 15px;
}


.medication-card, .file-card {
    background: #F5F5F5;
    color: #3e3e3e;
    width: 100%;
    border-radius: 10px !important;
    padding: 2px 8px;
}


@media (max-width: 767.98px) {
    .medication-card {
        width: 100%;
    }

    .medSelector {
        width: 100%;
    }

    .file-card {
        width: 100%;
    }

    .ds-btn-secondary:hover {
        background: white !important;
        color: #3E3E3E !important;
    }

    .dark-mode .medication-card, .dark-mode .file-card {
        background: transparent;
        color: #3e3e3e;
        width: 100%;
        border-radius: 10px !important;
        padding: 2px 8px;
    }

    .multipleFieldsContainer {
        width: 100%;
    }

    .multiple-row-item {
        width: 100%;
    }

    .dark-mode .file-card {
        border: 1px solid #474747 !important;
        width: 100%;
    }
}

@media (min-width: 768px) {
    .medication-card {
        width: 50%;
    }

    .medSelector {
        width: 50%;
    }

    .file-card {
        width: 100%;
    }

    .multipleFieldsContainer {
        width: 50% !important;
    }

    .multiple-row-item {
        width: 50% !important;
    }

    .dark-mode .file-card {
        border: 1px solid #474747 !important;
        width: 100%;
    }


    .dark-mode .file-cards-wrapper .file-card, .file-cards-wrapper .file-card {
        width: 75%;
    }
}

@media (min-width: 1200px) {
    .dark-mode .file-cards-wrapper .file-card, .file-cards-wrapper .file-card {
        width: 34%;
    }

    .multiple-row-item {
        width: 40% !important;
    }
}


.policies-scroll-box {
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 20px;
    border: 1px solid #c0c0c0;
    border-radius: 15px;
    margin-top: 15px;
}

    .policies-scroll-box p {
        font-size: 16px;
        color: #3e3e3e;
    }

.dark-mode .policies-scroll-box p {
    font-size: 16px;
    color: white;
}

.control--checkbox .control__indicator.red_control {
    border: 1.5px solid red !important;
    border-radius: 4px;
}


#inputFile .inputfile + label:not(#invoiceFileLabel, #treatmentPlanFileLabel, #uploadFile) {
    border: none !important;
    border-radius: 10px !important;
    font-size: 14px !important;
}

.dark-mode .medication-card, .dark-mode .file-card {
    background: transparent;
    color: #c0c0c0;
    border-radius: 10px !important;
    padding: 2px 8px;
}

.dark-mode .dropzone {
    background: transparent !important;
}

.dark-mode .file-card {
    color: white !important;
}

.dark-mode .deleteBtn {
    color: white;
}

.dark-mode .file-info {
    color: white !important;
}

/*.multipleFieldsContainer {
    background: #DFE1E5;
    border-radius: 10px;
    padding: 10px;
}
*/
.multipleFieldItem, .multipleFieldsDuplicateButton {
    width: 100%;
}


.multiple-row-item {
    background: #DFE1E5;
    border-radius: 10px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.dark-mode .multiple-row-item {
    background: transparent;
    border: 1px solid #DFE1E5;
}

.delete-icon {
    color: rgb(62, 62, 62);
    font-size: 20px;
    cursor: pointer;
    text-align: right;
    align-self: flex-end;
}

.dark-mode .delete-icon {
    color: white;
}


#main.page-content {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.content {
    flex: 1 0 auto;
}

.footer {
    flex-shrink: 0;
}

#session-timeout-modal {
    background: #fff;
    padding: 30px;
    max-width: 510px;
    margin: 20px auto;
    border-radius: 15px;
    text-align: center;
}

.darko mode #session-timeout-modal .session-timeout-text {
    color: black !important;
}

a, .dark-mode a {
    color: #127bc9;
}

.add-text {
    color: #333;
    font-weight: 500;
}

.dark-mode .add-text {
    color: #aaaaaa;
    font-weight: 500;
}

.ds-text-black {
    color: black;
}

.back-to-top i {
    color: #868588;
}

.dark-mode .back-to-top i {
    color: #868588;
}


@media screen and (max-width: 480px) {
    .g-recaptcha {
        transform: scale(0.85);
        transform-origin: 0 0;
    }
}

.editText{

}

.dark-mode .editText{
    color: white;
}

.ds-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    overflow: hidden;
    background-color: #ffffff;
}

    .ds-table thead th {
        background-color: #f4f6f8;
        color: black;
        font-weight: 600;
        padding: 12px 15px;
        text-align: left;
        border-bottom: 2px solid #ced4da;
        text-transform: uppercase;
        font-size: 14px;
    }
/*
    .ds-table .admin_page_table_header {
        background-color: #f4f6f8;
        color: black;
        font-weight: 600;
        padding: 12px 15px;
        text-align: left;
        border-bottom: 2px solid #ced4da;
        text-transform: uppercase;
        font-size: 14px;
        display: table-header-group;
    }*/

    .ds-table tr.admin_page_table_header th {
        background-color: #f4f6f8 !important;
        border-bottom: 2px solid #ced4da !important;
        padding: 0 !important; 
    }

        .ds-table tr.admin_page_table_header th .admin_page_table_header_item {
            color: black !important;
            font-weight: 600 !important;
            padding: 12px 15px !important;
            text-align: left !important;
            text-transform: uppercase !important;
            font-size: 14px !important;
        }

    .ds-table tbody td {
        padding: 10px 15px;
        border-bottom: 1px solid #e9ecef;
        color: #333333;
        vertical-align: middle;
    }

    .ds-table tbody tr:last-child td {
        border-bottom: none;
    }

    .ds-table.ds-table-striped tbody tr:nth-child(even) td {
        background-color: #f8f9fa;
    }

    .ds-table.ds-table-striped.tp-table tbody tr:nth-child(even) td {
        background-color: white;
    }

    .ds-table.ds-table-striped.tp-table tbody tr:nth-child(odd) td {
        background-color: #f8f9fa;
    }


.input-group-append .btn.btn-datepicker{
    display: none;
}