:root {
    --var-primary-color: #3232F9;
}

[x-cloak] {
    display: none;
}

.cursor-pointer {
    cursor: pointer;
}

.loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    background-color: rgba(0,0,0,0.2);
    z-index: 99;
}

.is-active-loader.loader {
    display: flex;
}

.is-active-loader.loader img {
    width: 50px;
}

body.has-patient-app {
    font-family: "Archivo", Sans-serif;
    color: #000000;
    scroll-behavior: smooth;
    /* transition: all 0.3s ease-in-out; */
    font-size: 1rem;
    margin: 0;
    padding: 0;
    margin-top: 10rem;
    box-sizing: border-box;
}

.has-patient-app h1 {
    font-size: 64px;
    font-weight: 800;
}

.has-patient-app .pt-container .is-invalid {
    border: 1px solid red !important;
    background-color: #f8d7da4f !important;
}

.has-patient-app .pt-container .error-message {
    color: red;
    font-size: 0.9em;
    margin-top: .25rem;
    margin-bottom: 0;
}

.has-patient-app .pt-container .btn-container {
    margin: 1rem 0;
    transition: all 0.3s ease-in-out;
}

.has-patient-app .pt-container .btn-container .btn {
    display: block;
    min-width: 120px;
    text-align: center;
    padding: 12px 1rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #ffffff;
    background-color: var(--var-primary-color);
    border: 1px solid var(--var-primary-color);
    border-radius: 0.375rem;
    cursor: pointer;
}

.has-patient-app .pt-container .btn-container .btn:hover {
    background-color: #ffffff;
    color: var(--var-primary-color);
    border: none;
}

.has-patient-app .pt-container .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.has-patient-app .pt-container .inputs-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.has-patient-app .pt-container .inputs-group > div {
    max-width: 300px;
    width: 100%;
}

.has-patient-app .pt-container .iti__selected-dial-code {
    color: #000000;
    font-size: 16px;
    font-weight: 400;
}


.has-patient-app .pt-container input.input-field {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #000000;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .375rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    box-sizing: border-box;
}

.has-patient-app .pt-container input.input-field:focus {
    color: #212529;
    background-color: #fff;
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(13, 110, 253, 0.25);
}
.has-patient-app .pt-container input.input-field::placeholder {
    color: #808080d6;
}

.has-patient-app .pt-container .select-input {
    display: block;
    width: 100%;
    padding: .375rem 2.25rem .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .375rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    appearance: none;
    box-sizing: border-box;
}

.has-patient-app .pt-container .select-input:focus {
    color: #212529;
    background-color: #fff;
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(13, 110, 253, 0.25);
}

.has-patient-app .pt-container .textarea-field {
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    border: 1px solid #ced4da;
    background-color: #ffffff;
    resize: vertical;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    box-sizing: border-box;
}

.has-patient-app .pt-container .textarea-field:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 .2rem rgba(38, 143, 255, 0.25);
}

.has-patient-app .pt-container .textarea-field::placeholder {
    color: #6c757d;
}

.has-patient-app .pt-container input[type="checkbox"], input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 1rem;
    height: 1rem;
    margin: 0;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    background-color: #fff;
    outline: none;
    cursor: pointer;
    display: inline-block;
    transition: all 0.2s ease;
}

.has-patient-app .pt-container input[type="checkbox"] {
    border-radius: .25rem;
}

.has-patient-app .pt-container input[type="checkbox"]:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23fff' d='M10.97 4.97a.75.75 0 1 1 1.06 1.06L7.477 10.6a.75.75 0 0 1-1.065.02L4.324 8.53a.75.75 0 1 1 1.06-1.06l1.638 1.638 3.95-3.95z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 0.8em;
}

.has-patient-app .pt-container input[type="checkbox"]:focus {
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.has-patient-app .pt-container input[type="radio"] {
    border-radius: 50%;
}

.has-patient-app .pt-container input[type="radio"]:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
    position: relative;
}

.has-patient-app .pt-container input[type="radio"]:checked::after {
    content: '';
    width: 0.5rem;
    height: 0.5rem;
    background-color: #fff;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: inline-block;
}

.has-patient-app .pt-container input[type="checkbox"]:hover, input[type="radio"]:hover {
    border-color: #adb5bd;
}

.has-patient-app .pt-container input[type="checkbox"]:active, input[type="radio"]:active {
    background-color: #e9ecef;
}

/* ******************* Table ******************* */

.has-patient-app .pt-container {
    width: 100%;
    margin: auto;
}

.has-patient-app .pt-container .table {
    table-layout: auto;
    width: 100%;
    background-color: transparent;
    margin-bottom: 15px;
    border-spacing: 0;
    border-collapse: collapse;
}

.table-container {
    width: 100%;
    overflow-x: auto;
    display: block;
}

.has-patient-app .pt-container table td,
.has-patient-app .pt-container table th {
    padding: 15px;
    line-height: 1.5;
    vertical-align: top;
    border: 1px solid rgba(128, 128, 128, 0.5);
}


.has-patient-app .pt-container table tbody>tr:nth-child(odd)>td,
.has-patient-app .pt-container table tbody>tr:nth-child(odd)>th {
    background-color: rgba(128, 128, 128, 0.07);
}

.has-patient-app .pt-container table tbody tr:hover>td,
table tbody tr:hover>th {
    background-color: rgba(128, 128, 128, 0.1);
}


.has-patient-app .pt-container .table-heading {
    background-color: rgba(128, 128, 128, 0.07);
}

.has-patient-app .pt-container .table-heading h3 {
    font-size: 40px;
    line-height: 1.2em;
    font-weight: 500;
    margin: 0;
}

.has-patient-app .pt-container td.txt-label {
    width: 30%;
    line-height: 1.2em;
    text-align: end;
}

.has-patient-app .pt-container label {
    line-height: 1.5;
}

.has-patient-app .pt-container p.help-block {
    padding: 2px 0 0 0;
    margin: 0;
    font-size: 15px;
    color: rgba(128, 128, 128);
}

.has-patient-app .pt-container .section-notes p {
    padding: 1rem 0 1rem 0;
    margin: 0;
    font-size: 20px;
    color: #000000;
    font-weight: 500;
}

.has-patient-app .pt-container .checkbox-groups {
    display: flex;
    align-items: center;
    gap: 20px;
}

.has-patient-app .pt-container .checkbox-inputs {
    display: flex;
    align-items: center;
    gap: 4px;
}

.has-patient-app .pt-container .disclaimer-container {
    font-size: 1rem;
    line-height: 1.6;
    color: #000000;
    padding: 20px;
    text-align: start;
}

.has-patient-app .pt-container .disclaimer-container h3 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
}

.disclaimer-container ul {
    margin: 0;
    padding-left: 20px;
    list-style: disc;
}

.has-patient-app .pt-container .disclaimer-container ul ul {
    list-style: circle;
    margin-top: 10px;
    padding-left: 20px;
}

.has-patient-app .pt-container .disclaimer-container li {
    margin-bottom: 10px;
}

.has-patient-app .pt-container .disclaimer-container a {
    color: #0073aa;
    text-decoration: none;
}

.has-patient-app .pt-container .disclaimer-container a:hover {
    text-decoration: underline;
    color: #005580;
}

.iti__country-container > button {
    background-color: transparent !important;
}

 .has-patient-app .pt-container .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999 !important;

}

 .has-patient-app .pt-container .modal {
    background: white;
    width: 90%;
    max-height: 90vh;
    height: 100%;
    border-radius: 8px;
    overflow: auto;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

 .has-patient-app .pt-container .modal-header {
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

 .has-patient-app .pt-container .modal-content {
    padding: 15px;
    overflow-y: auto;
}

 .has-patient-app .pt-container .modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

 .has-patient-app .pt-container .modal-overlay.active .modal {
    transform: translateY(0);
}

 .has-patient-app .pt-container .modal label {
    font-weight: 600;
}

 .has-patient-app .pt-container .modal section ul {
    margin-bottom: 15px;
}

.has-patient-app .pt-container .modal .x-mark-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    width: 30px;
    padding: 4px;
    border-radius: 4px;
}

.has-patient-app .pt-container .modal .x-mark-icon svg {
    width: 18px;
   vertical-align: middle;
}

.has-patient-app .pt-container .modal .x-mark-icon:hover {
    background: #dadada;
}

.has-patient-app .pt-container .modal-ctn p {
    background-color: #dadada57;
    border: none;
    padding-left: 12px;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease-in-out;
}

.has-patient-app .pt-container .modal-ctn p:hover {
    color: #3232f9;
}












/* ******************* Responsive ******************* */

@media (max-width: 1400px) {
}

@media (max-width: 1200px) {
}

@media (max-width: 992px) { 
    .has-patient-app h1 {
        font-size: 42px;
        font-weight: 800;
    }

    .has-patient-app .pt-container .table-heading h3 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    body.has-patient-app {
        margin-top: 6rem;
    }

    .has-patient-app h1 {
        font-size: 38px;
        font-weight: 800;
    }

    .has-patient-app .pt-container .table-heading h3 {
        font-size: 28px;
    }

    .has-patient-app .pt-container .section-notes p {
        font-size: 17px;
        padding: 15px;
    }
}

@media (max-width: 576px) {
    body.has-patient-app {
        margin-top: 4rem;
    }
    
    .has-patient-app h1 {
        font-size: 32px;
        font-weight: 800;
    }

    .has-patient-app .pt-container {
        max-width: 100%;
        padding: 12px;
    }

    .has-patient-app .pt-container table td,
    table th {
        padding: 12px;
    }

    .has-patient-app .pt-container .table-heading h3 {
        font-size: 24px;
    }

    .has-patient-app .pt-container td.txt-label {
        width: 40%;
        text-align: start;
        font-size: 15px;
    }

    .has-patient-app .pt-container .select-input {
        font-size: 15px;
    }

    .has-patient-app .pt-container input.input-field {
        font-size: 15px;
    }

    .has-patient-app .pt-container .textarea-field {
        max-height: 100px;
        font-size: 15px;
    }

    .has-patient-app .pt-container .section-notes p {
        font-size: 15px;
        line-height: 1.3em;
    }

    .has-patient-app .pt-container p.help-block {
        font-size: 15px;
    }

    .has-patient-app .pt-container .disclaimer-container {
        font-size: 15px;
        line-height: 1.5;
        padding: 0;
    }

    .has-patient-app .pt-container .modal .modal-header {
        padding: 0;
        padding: 14px 14px 0 14px;
    }

    .has-patient-app .pt-container .btn-container .inputs-group {
        flex-wrap: nowrap;
    }
}

@media (max-width: 375px) {
    .has-patient-app .pt-container .table-heading h3 {
        font-size: 24px;
    }

    .has-patient-app .pt-container td.txt-label {
        font-size: 14px;
    }

    .has-patient-app .pt-container .select-input {
        font-size: 14px;
    }

    .has-patient-app .pt-container input.input-field {
        font-size: 14px;
    }

    .has-patient-app .pt-container .textarea-field {
        font-size: 14px;
    }

    .has-patient-app .pt-container .section-notes {
        font-size: 14px;
        line-height: 1.3em;
    }

    .has-patient-app .pt-container p.help-block {
        font-size: 14px;
    }

    .has-patient-app .pt-container .disclaimer-container {
        font-size: 14px;
        line-height: 1.3em;
    }
}


.paf-files-dropzone {
    position: relative;
    border-radius: 8px;
    padding: 16px 16px;
    text-align: center;
    border: 2px dashed #6e6e6e;
}
.paf-files-dropzone:hover,
.paf-files-dropzone.active {
    background-color: #c8c8ff;
    border: 2px dotted #212121;
}
.paf-files-dropzone-text {
    pointer-events: none;
}
.paf-files-input {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    appearance: none;
}
#paf-files-row .paf-file-btn {
    margin-top: 6px;
    margin-right: 6px;
    color: #212121;
    font-size: 0.9rem;
    font-weight: 400;
    border-radius: 4px;
    background-size: 24px;
    background-color: #d3d3d3;
    border: 1px solid #747474;
    padding: 4px 8px 4px 26px;
    background-repeat: no-repeat;
    background-position: left center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' stroke='%23cc0000' width='24' height='24' fill='none' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' class='lucide lucide-x' viewBox='0 0 24 24'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E");
}