﻿
/*body {
    margin-left: 25% !important;
}*/

.navTabs {
    margin-top: 2rem;
    padding: 0 3%;
}

.containerOverflow {
    min-height: 12rem;
    max-height: 20rem;
    overflow-y: auto;
    overflow-x: hidden;
}

.containerOverflow-2 {
/*    min-height: 12rem;*/
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    overflow-x: hidden;
}

.checkbox-group p {
    margin-bottom: 1.2rem !important;
}

.checkbox-group label {
    display: flex !important;
    align-items: flex-start !important;
}

    .checkbox-group label span {
        display: block !important;
        white-space: normal !important;
        line-height: 1.6rem !important;
        padding-top: 2px !important;
    }

/*medium and up*/
@media only screen and (min-width: 601px) {
    .responsive-btn-roundedSquare {
        margin-left: 0.25rem;
    }
    .clinicStaff-HeaderBtn{
        display: none;
    }
}



/*small*/
@media only screen and (max-width: 600px) {
    .main-content {
        margin-left: 0 !important;
        width: 100% !important;
    }

    .appointments-row {
        display: grid;
        margin: 0rem 1rem !important;
    }

    .appointment-container {
        padding: 0 !important;
    }

    .center-tabs {
        display: flex !important;
        justify-content: flex-start !important;
    }

    .tabs.tabs-transparent {
        overflow-x: auto !important;
    }

    .responsive-btn-roundedSquare{
        margin-left: 0;
    }

    .containerOverflow-2 {
        overflow-x: auto;
    }
}

/*phone portrait*/
@media only screen and (max-width: 600px) and (orientation: portrait) {
    .content-patient-row > .col{
        float: none !important;
        width: 100% !important;
    }

    .patient-tabs-container .patient-right{
        float: none !important;
        width: 100% !important;
    }

    .finance-table-responsive {
        min-height: 12rem;
        max-height: calc(100vh - 200px);
        overflow-y: auto;
        overflow-x: auto;
        white-space: nowrap;
    }

    .patient-forms-responsive {
        overflow-y: auto;
        overflow-x: auto;
        white-space: nowrap;
    }

    .containerOverflow-2 {
        overflow-x: auto;
    }

    .staff-inactive-active-btn{
        margin-top: 1rem !important;
    }
}

/*medium*/
@media only screen and (min-width: 601px) and (max-width: 992px) {
    .main-content {
        margin-left: 0 !important;
        width: 100% !important;
    }

    .appointment-container {
        padding: 0 0.7rem;
    }

    .center-tabs {
        display: flex !important;
        justify-content: center !important;
    }
    

}

/*large*/
@media only screen and (min-width: 993px) {
    .main-content {
        margin-left: 25% !important;
        padding: 0 !important;
    }

    .center-tabs {
        display: flex !important;
        justify-content: center !important;
    }
    .navTabs {
        margin-top: 2rem;
        padding: 0 3rem;
    }
    
}

/*phone landscape, tablet portrait*/
@media only screen and (max-height: 500px) and (orientation:landscape), 
    only screen and (min-width: 601px) and (max-width: 992px) and (orientation: portrait)
{
    .main-content {
        margin-left: 25%;
    }

    .desktop-sidenav {
        display: none;
    }
}

.mobileRes-headerBtn{
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.responsive-data-table-div {
    padding: 2rem !important;
    overflow-x: auto !important;
    font-size: .9rem;
}

.navText {
    font-size: 1.5rem;
    padding-bottom: 0.5rem;
    padding-top: 0.5rem;
    padding-left: 1rem;
}

.table-of-contents a {
    border-radius: 0px !important;
}

    .table-of-contents a.active {
        border-left: 3px solid #8d6e63 !important;
    }

    .table-of-contents a:hover {
        border-left: 1px solid #8d6e63 !important;
    }

a {
    border-radius: 15px;
}

.contacts-page a {
    color: #795548 !important;
}

/*.toc-wrapper{
    position: sticky !important;
    top: 0;
}*/

nav {
    background-color: #8d6e63 !important;
}

a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    text-decoration: none;
}

.toc-wrapper.pinned {
    top: 10px;
    width: inherit;
    position: fixed;
}

.tabs {
    overflow-x: hidden !important;
}

    .tabs.tabs-transparent {
        overflow-x: auto !important;
    }

    .tabs .indicator {
        background-color: #8d6e63 !important;
    }

    .tabs .tab a.active {
        color: #8d6e63 !important;
        font-weight: bold;
    }

    .tabs .tab a,
    .tabs .tab a.active,
    .tabs .tab a:focus,
    .tabs .tab a:focus.active {
        background-color: transparent !important;
        outline: none !important;
    }

.nav-extended .nav-content {
    height: auto !important;
}



.smallBtn {
    padding: 0.5rem 0.5rem 0.25rem 0.5rem;
    border-radius: 15px;
}

.medBtn {
    color: #795548 !important;
}

    .medBtn:hover {
        background-color: #795548 !important;
        color: white !important;
    }

.smallBtn:hover {
    background-color: #8d6e63 !important;
}

    .smallBtn:hover i {
        color: #fff !important;
    }


    .containerOverflow-2::-webkit-scrollbar {
        width: 8px;
    }

    .containerOverflow-2::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }

    .containerOverflow-2::-webkit-scrollbar-thumb {
        background: #967863;
        border-radius: 10px;
    }

        .containerOverflow-2::-webkit-scrollbar-thumb:hover {
            background: #836754;
        }

.dashContainer {
    margin: 0 1rem 0 1rem;
}

#checkBtn:hover {
    background-color: #4caf50 !important;
}

#denyBtn:hover {
    background-color: #d32f2f !important;
}

.redBtn:hover {
    background-color: #d32f2f !important;
}

.equalSpace {
    display: flex;
    justify-content: space-evenly;
}

.bold {
    font-weight: bold;
}
.section p, li, span{
    text-align:justify !important;
}
.centered-text{
    text-align:center !important;
}

.p-0 {
    padding: 0 !important;
}



.pr-0{
    padding-right: 0 !important;
}
.pr-05 {
    padding: 0 0.8rem 0 0 !important;
}

.pl-0{
    padding-left: 0 !important;
}
.pl-05 {
    padding: 0 0 0 0.8rem !important;
}

.px-0 {
    padding: 1rem 0 !important;
}

.px-1 {
    padding: 0 1rem 0 1rem !important;
}

.py-2{
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
}

.p-1 {
    padding: 1rem !important;
}

.p-2 {
    padding: 2rem !important;
}

.mb-1 {
    margin-bottom: 1rem !important;
}

.m-0 {
    margin: 0 !important;
}

.mx-1{
    margin: 0 1rem !important;
}

.mt-1 {
    margin-top: 1rem !important;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

.ml-2 {
    margin-left: 2rem;
}
.x-1{
    margin:0 2rem 0 2rem !important;
}

.required-mark{
    color: red !important;
}

.clkPointer {
    cursor: pointer !important;
}

.dt-length select {
    display: inline-block !important;
}


.socmed-img {
    max-width: 6rem;
}


html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

.right {
    margin-top: 15px;
}

.split-container {
    display: flex;
    width: 100%;
    height: 100vh;
}

.left-side {
    flex: 1;
    background-color: #967863;
}

.right-side {
    flex: 1;
    background-color: #ffffff;
}

.left-side img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    display: block;
    -webkit-mask-image: linear-gradient(to bottom, black 0%,
    black 20%,
    transparent 90% 
    );
    mask-image: linear-gradient(to bottom, black 0%, black 20%, transparent 90% );
}

.input-field input[type=email],
.input-field input[type=password],
.input-field input[type=text] {
    border: 1px solid #967863 !important;
    border-radius: 15px !important;
    padding: 0 15px !important;
    box-sizing: border-box !important;
    height: 3rem !important;
}

.input-field input:focus {
    border: 2px solid #967863 !important;
    box-shadow: none !important;
}

.logSignBtn {
    color: white;
    background-color: #967863;
    width: 100%;
    height: 3rem;
    border-radius: 15px;
    margin-top: 10px;
    border: none;
}

    .logSignBtn:active {
        background-color: #836754;
    }

.forgot-text {
    color: #000000;
    font-size: 0.9rem;
}

.forgot-link {
    color: #967863;
    text-decoration: underline;
    font-size: 0.9rem;
    transition: color 0.3s;
    font-style: italic;
}

    .forgot-link:hover {
        color: #795548;
    }

.checkbox-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

    .checkbox-container [type="checkbox"].filled-in:checked + span:not(.lever):after {
        border: 2px solid #967863;
        border-radius: 5px;
        background-color: #967863;
    }

    .checkbox-container span {
        color: #333;
        font-size: 0.9rem;
    }

[type="checkbox"].filled-in:checked + span:not(.lever):after {
    border: 2px solid #967863 !important;
    background-color: #967863 !important;
}

[type="checkbox"] + span {
    padding-left: 30px !important;
    line-height: 25px !important;
    display: inline-block;
    vertical-align: middle;
}

[type="checkbox"].filled-in + span:not(.lever):after {
    border-radius: 4px !important;
}

.login-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
    color: #9e9e9e;
    font-size: 0.9rem;
}

    .login-divider::before, .login-divider::after {
        content: '';
        flex: 1;
        border-bottom: 1px solid #e0e0e0;
    }

    .login-divider:not(:empty)::before {
        margin-right: .5em;
    }

    .login-divider:not(:empty)::after {
        margin-left: .5em;
    }

.social-login-container {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.google-btn img {
    width: 40px;
    height: auto;
    transition: transform 0.2s ease;
    cursor: pointer;
}

    .google-btn img:hover {
        transform: scale(1.1);
    }

.signup-title {
    font-weight: bold;
    color: #967863;
    margin-bottom: 50px;
}

.signup-footer {
    text-align: center;
    margin-top: 10px;
    font-size: 0.95rem;
    color: #757575;
}

.signup-link {
    color: #967863;
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s ease;
}

    .signup-link:hover {
        color: #795548;
    }

.modal {
    border-radius: 2vh !important;
    max-width: fit-content;
    background-color: #e0e0e0 !important;
    max-height: fit-content;
}

    .modal .row {
        margin-bottom: 0 !important;
    }

    .modal .modal-footer {
        background-color: #e0e0e0 !important;
        height: auto !important;
        min-height: 3vh;
        display: flex !important;
        align-items: center !important;
        padding: 0 0 3.5vh 0 !important;
    }

        .modal .modal-footer button:nth-child(2) {
            margin-left: auto !important;
        }

.patientInformationForm-modal {
    background-color: #e0e0e0 !important;
    border-radius: 2vh !important;
    max-width: fit-content;
    background-color: #e5e5e5;
    max-height: fit-content;
    padding: 2vh;
    position: fixed !important;
    inset: 0 !important;
    margin: auto !important;
}

#verifyEmail.modal {
    top: 50% !important;
    left: 50% !important;
    transform: translate(-100%, -50%) !important;
    max-height: 60% !important;
    overflow: hidden;
}

.custom-label {
    color: #795548;
    font-size: 1.10rem;
    margin-bottom: 2px !important;
    display: block;
}

.custom-input {
    background-color: #ffffff !important;
    padding: 0 15px !important;
    height: 2.5rem !important;
    box-sizing: border-box !important;
    border-radius: 5px !important;
    border: 1px solid #d1d1d1 !important;
    width: 100%;
    margin-top: 5px !important;
    display: block;
}

.modal-form-title {
    color: #967863;
    font-weight: bold;
    border-bottom: .1vh solid #967863;
    padding-bottom: 1vh;
}

.modal-form-title-alt {
    color: #967863;
    font-weight: bold;
    margin-bottom: -10px;
}

.gender-container {
    margin-top: 15px;
}

.gender-radio-male {
    margin-right: 20px;
}

[type="radio"]:checked + span:after,
[type="radio"].with-gap:checked + span:before,
[type="radio"].with-gap:checked + span:after {
    border: 2px solid #967863 !important;
}

[type="radio"]:checked + span:after,
[type="radio"].with-gap:checked + span:after {
    background-color: #967863 !important;
}

[type="radio"] + span {
    padding-left: 30px !important;
    line-height: 25px !important;
    font-size: 1rem;
    color: #333;
}

.datepicker-wrapper {
    position: relative;
}

.datepicker-icon {
    position: absolute;
    right: 10px;
    top: 8px;
    color: #967863;
}

.datepicker-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    margin: auto !important;
    height: fit-content !important;
    width: fit-content !important;
    max-width: 53vh !important;
    width: 90% !important;
    overflow: hidden !important;
    z-index: 2000;
}

.datepicker-date-display {
    background-color: #967863 !important;
    align-items: center !important;
    justify-content: center !important;
}

.datepicker-table-wrapper td.is-selected {
    background-color: #967863 !important;
}

.datepicker-cancel, .datepicker-done {
    color: #967863 !important;
}

.datepicker-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: none;
    justify-content: center;
    align-items: center;
    pointer-events: none !important;
    z-index: 900;
}

    .datepicker-overlay[style*="display: block"] {
        display: flex !important;
    }


/*Para sa uplaadaadigng ng aimgaaess*/
.photo-box {
    width: 11rem;
    height: 11rem;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed #ddd;
}

    .photo-box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.photo-placeholder-icon {
    font-size: 3rem;
    color: #bdbdbd;
}

.photo-placeholder-icon {
    font-size: 80px;
    color: #e0e0e0;
}

.agreement-section {
    margin-top: 20px;
    padding-left: 20px;
}

.agreement-label {
    display: block;
    margin-bottom: 10px;
}

.agreement-text {
    color: #333;
}

.agreement-link {
    color: #967863;
    text-decoration: underline;
}

.patient-modal-footer {
    background-color: #e5e5e5 !important;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding-bottom: 20px !important;
    height: auto !important;
}

.btn-cancel {
    background-color: #757575 !important;
    border-radius: 8px;
    width: 120px;
}

.btn-next {
    background-color: #967863 !important;
    border-radius: 8px;
    width: 120px;
}

select.browser-default.custom-input {
    padding-right: 30px !important;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23967863' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 18px;
}

.terms-scroll-container {
    max-height: 500px;
    overflow-y: auto;
    padding: 0 15px;
    color: #5d4037;
    font-size: 0.95rem;
    text-align: justify;
    margin-top: 15px;
}

    .terms-scroll-container::-webkit-scrollbar {
        width: 8px;
    }

    .terms-scroll-container::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }

    .terms-scroll-container::-webkit-scrollbar-thumb {
        background: #967863;
        border-radius: 10px;
    }

        .terms-scroll-container::-webkit-scrollbar-thumb:hover {
            background: #836754;
        }

.preserve-format {
    color: black;
    font-size: 1rem;
}

/* Password strength indicator colors */
.weak-strength {
    color: #d32f2f;
}

.fair-strength {
    color: #f57c00;
}

.good-strength {
    color: #fbc02d;
}

.strong-strength {
    color: #388e3c;
}

.requirement-complete {
    color: #388e3c;
}

.requirement-pending {
    color: #9e9e9e;
}

/* Input valid/invalid border styles */
.input-valid {
    border: 2px solid #388e3c !important;
    box-shadow: none !important;
}

.input-invalid {
    border: 2px solid #d32f2f !important;
    box-shadow: none !important;
}

.patient-content {
    display: flex;
    flex-direction: column;
    min-height: 86vh;
    max-width: 100%;
    margin: 0 auto;
}

.top-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    align-items: center;
}

.action-bar {
    display: flex;
    gap: 12px;
    align-items: center;
    width: 100%;
    line-height: 0;
}

.search-wrapper {
    position: relative;
    display: flex;
    flex-grow: 1;
    align-items: center;
    height: 50px;
}

.search-input {
    width: 100%;
    background-color: #e8e8e8 !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 10px 45px 10px 20px !important;
    color: #967863 !important;
    box-shadow: none !important;
    height: 60px !important;
    margin: 0 !important;
    padding: 0 45px 0 20px !important;
    box-sizing: border-box !important;
    font-size: 1.2rem;
}

    .search-input::placeholder {
        font-size: 1.3rem;
        opacity: 1;
    }

.search-icon {
    position: absolute;
    right: 15px;
    color: #967863;
    pointer-events: none;
}

.add-patient-btn {
    background-color: #967863 !important;
    color: white !important;
    border-radius: 12px !important;
    height: 55px !important;
    padding: 0 25px !important;
    text-transform: none !important;
    font-weight: 500;
    white-space: nowrap;
    width: 200px;
    font-size: 1.2rem;
}

.sort-arrow {
    font-size: 20px !important;
    cursor: pointer;
    color: #967863;
    opacity: 0.2;
    transition: 0.2s;
    margin: 0;
}

    .sort-arrow.active {
        opacity: 1 !important;
    }

.patient-list-container {
    margin-top: 20px;
    width: 100%;
    align-content: center;
}

    .patient-list-container .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
        display: flex;
        align-items: center;
        flex-grow: 1;
    }

.list-header {
    color: #967863;
    font-size: 1rem;
    margin-bottom: 5px !important;
}

.patient-card {
    width: 100%;
    height: 60px;
    background-color: #e8e8e8 !important;
    color: #967863;
    font-size: 1.2rem;
    border-radius: 15px !important;
    margin-bottom: 8px !important;
    padding: 10px 0;
    display: flex;
    align-items: center !important;
}

    .patient-card:hover {
        background-color: #dfdfdf !important;
    }

    .patient-card .col {
        display: flex;
    }

.circle-avatar {
    color: #ffffff;
    font-size: 50px !important;
}

.action-dots {
    color: #967863;
    cursor: pointer;
}

.row-flex {
    display: flex !important;
    align-items: center;
    width: 100%;
    padding: 0 15px;
}

.col-name {
    width: 27%;
    text-align: left;
    padding-left: 10px;
}

.col-visit {
    width: 30%;
    text-align: center;
}

.col-appts {
    width: 30%;
    text-align: center;
}

.col-more {
    width: 7%;
    text-align: right;
}

.pagination-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    color: #967863;
    gap: 15px;
    padding-top: 10px;
    margin-top: auto;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 20px;
    grid-row-gap: 8px;
    color: #967863;
}

    .checkbox-grid label {
        display: flex;
        align-items: center;
        color: #8D6E63 !important;
    }

.other-section {
    display: flex;
    align-items: center;
    gap: 10px;
    grid-column: span 1;
}

.other-input {
    border-bottom: 1px solid #8D6E63 !important;
    height: 20px !important;
    margin-bottom: 1rem !important;
}

.signature-container {
    width: 250px;
    text-align: center;
    margin-top: 35px;
    margin-left: 19rem;
}

.signature-pad {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    height: 100px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .signature-pad i {
        color: #eeeeee;
        font-size: 4rem;
    }

.signature-line {
    border-bottom: 1px solid #967863;
    margin: 10px 0 5px 0;
}

.signature-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #967863;
}

.form-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    color: #7d6b5d;
}

.update-btn {
    background-color: #967863;
    color: white !important;
    border: none;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: bold;
}

    .update-btn:hover {
        background-color: #673e21;
        color: white;
    }

.edit-btn {
    background-color: #967863;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: bold;
    margin-bottom: -30px;
    margin-top: -5px;
}

    .edit-btn:hover {
        background-color: #673e21;
        color: white;
    }

.cancel-btn {
    background-color: gray;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: bold;
    margin-bottom: -30px;
    margin-top: -5px;
}

    .cancel-btn:hover {
        background-color: dimgray;
        color: white;
    }

.view-only {
    pointer-events: none;
}

.last-update {
    font-size: 0.75rem;
    color: #a0a0a0;
    margin-top: 5px;
}

.medical-questions {
    padding-left: 20px;
    color: #967863;
    line-height: 2;
}

    .medical-questions li {
        margin-bottom: 5px;
        font-weight: 500;
    }

.women-only-options {
    display: inline-flex;
    gap: 25px;
    margin-left: 15px;
}

    .women-only-options span {
        font-size: 0.9rem;
        color: #7d6b5d;
    }

[type="radio"]:checked + span:after,
[type="radio"].with-gap:checked + span:before,
[type="radio"].with-gap:checked + span:after {
    border: 2px solid #967863 !important;
}

[type="radio"]:checked + span:after,
[type="radio"].with-gap:checked + span:after {
    background-color: #967863 !important;
}

.form-divider {
    border: 0;
    border-top: 1.5px solid #967863;
    margin: -5px 0;
}


.medical-questions li {
    position: relative;
    margin-bottom: 12px;
    padding-right: 30px;
    line-height: 1.5;
}

.placeholder-text {
    position: absolute;
    right: 0;
    top: 0;
    font-weight: bold;
    color: #967863;
    margin-right: 10px;
}

.line-input {
    border: none !important;
    border-bottom: 1px solid #967863 !important;
    margin-left: 10px;
    padding: 2px 5px !important;
}

.flex-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.yn-group label {
    margin-left: 15px;
}

.condition-grid label {
    display: inline-block;
    margin-bottom: 8px;
    color: #333;
}

.footer-center2 {
    background-color: #e0e0e0 !important;
    border: none !important;
    margin-bottom: 45px !important;
}

.add-form-modal {
    background-color: #e0e0e0 !important;
    border-radius: 15px !important;
    width: 90% !important;
    max-width: 500px !important;
}

    .add-form-modal input[type="text"] {
        width: 100%;
        height: 40px;
        margin-bottom: 15px;
        border: none;
        border-radius: 8px;
        background: white;
        padding: 0 10px;
    }

#modal-add-form.modal {
    top: 50% !important;
    left: 50% !important;
    transform: translate(-90%, -50%) !important;
    height: 77% !important;
    max-height: 78% !important;
    overflow: hidden;
}

#modal-add-form .modal-content {
    padding-bottom: 5.5rem;
}

.edit-form-modal {
    background-color: #e0e0e0 !important;
    border-radius: 15px !important;
    width: 90% !important;
    max-width: 500px !important;
}

    .edit-form-modal input[type="text"] {
        width: 100%;
        height: 40px;
        margin-bottom: 15px;
        border: none;
        border-radius: 8px;
        background: white;
        padding: 0 10px;
    }

#modal-edit-form.modal {
    top: 50% !important;
    left: 50% !important;
    transform: translate(-90%, -50%) !important;
    height: 77% !important;
    max-height: 78% !important;
    overflow: hidden;
}

.delete-form-modal {
    background-color: #e0e0e0 !important;
    border-radius: 15px !important;
    width: 90% !important;
    max-width: 450px !important;
}

#modal-delete-form.modal {
    top: 50% !important;
    left: 50% !important;
    transform: translate(-100%, -50%) !important;
    height: 77% !important;
    max-height: 21% !important;
    overflow: hidden;
}

.delete-postOp-modal {
    background-color: #e0e0e0 !important;
    border-radius: 15px !important;
    width: 90% !important;
    max-width: 550px !important;
}

#modal-delete-postOp.modal {
    top: 50% !important;
    left: 50% !important;
    transform: translate(-85%, -50%) !important;
    height: 77% !important;
    max-height: 21% !important;
    overflow: hidden;
}

.modal-overlay {
    background-color: rgba(0,0,0,0.5) !important;
    opacity: 1 !important;
    z-index: 1002;
}

.modal.modal-dentist-schedule {
    width: 90% !important;
    max-width: 100vh !important;
    max-height: 90vh !important;
    position: fixed !important;
    inset: 0 !important;
    margin: auto !important;
    overflow: hidden;
}

.appt-modal {
    background-color: #e0e0e0 !important;
    border-radius: 2vh !important;
    width: 90% !important;
    max-width: 87vh !important;
    position: fixed !important;
    inset: 0 !important;
    margin: auto !important;
}

.payrec-modal {
    background-color: #e0e0e0 !important;
    border-radius: 2vh !important;
    width: 90% !important;
    max-width: 87vh !important;
    position: fixed !important;
    inset: 0 !important;
    margin: auto !important;
}

.patientInfo-modal {
    background-color: #e0e0e0 !important;
    border-radius: 15px !important;
    width: 90% !important;
    max-width: 850px !important;
    position: fixed !important;
    inset: 0 !important;
    margin: auto !important;
}

.medhis-modal {
    background-color: #e0e0e0 !important;
    border-radius: 2vh !important;
    width: 100% !important;
    max-width: 100vh !important;
    max-height: 90vh !important;
    position: fixed !important;
    inset: 0 !important;
    margin: auto !important;
    padding: 4vh;
    position: relative;
}

    .medhis-modal::-webkit-scrollbar {
        width: 1vh;
    }

    .medhis-modal::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 1vh;
    }

    .medhis-modal::-webkit-scrollbar-thumb {
        background: #967863;
        border-radius: 1vh;
    }

        .medhis-modal::-webkit-scrollbar-thumb:hover {
            background: #836754;
        }

.progNotes-modal {
    background-color: #e0e0e0 !important;
    border-radius: 2vh !important;
    width: 90% !important;
    max-width: 95vh !important;
    position: fixed !important;
    inset: 0 !important;
    margin: auto !important;
}

.dentalChart-modal {
    background-color: #e0e0e0 !important;
    border-radius: 2vh !important;
    width: 90% !important;
    max-width: 70vh !important;
    max-height: 85vh !important;
    position: fixed !important;
    inset: 0 !important;
    margin: auto !important;
}

.password-modal {
    padding: .5vh !important;
    border-radius: 2vh;
    background-color: #e0e0e0 !important;
    position: fixed !important;
    inset: 0 !important;
    margin: auto !important;
}

.form-modal {
    background-color: #e0e0e0 !important;
    border-radius: 2vh !important;
    width: 90% !important;
    max-width: 60vh !important;
    position: fixed !important;
    inset: 0 !important;
    margin: auto !important;
}

.postOp-modal {
    background-color: #e0e0e0 !important;
    border-radius: 15px !important;
    width: 90% !important;
    max-width: 75vh !important;
    position: fixed !important;
    inset: 0 !important;
    margin: auto !important;
}

.appt-modal {
    background-color: #e0e0e0 !important;
    border-radius: 15px !important;
    width: 90% !important;
    max-width: 75vh !important;
    position: fixed !important;
    inset: 0 !important;
    margin: auto !important;
}

.schedule-modal {
    background-color: #e0e0e0 !important;
    border-radius: 15px !important;
    width: 90% !important;
    max-width: 75vh !important;
    position: fixed !important;
    inset: 0 !important;
    margin: auto !important;
}


/*para sa profile pic*/
.sidebar-profile {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 3rem;
}


.sidebar-profile-img {
    width: 10rem;
    height: 10rem;
    max-width: 10rem;
    max-height: 10rem;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 2px solid rgba(255,255,255,0.08);
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

.sidebar-fixed {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 25%;
    max-width: 370px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 2rem 1.5rem;
    box-sizing: border-box;
}


.sidebar-fixed .row {
    margin-left: 0;
    margin-right: 0;
}

/*para sa buttons nung edit and delete sa appt list table*/
.actions-cell {
    vertical-align: middle;
    white-space: nowrap;
    padding-right: 0.5rem;
}

.appt-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-end;
    justify-content: center;
}

    .appt-action-buttons .material-icons {
        font-size: 1.05rem;
        line-height: 1;
    }

.valid-input {
    border: 1px solid #4CAF50 !important;
    box-shadow: 0 0 0 0 transparent !important;
}

.invalid-input {
    border: 1px solid #F44336 !important;
    box-shadow: 0 0 0 0 transparent !important;
}

/* small helper error text */
.helper-text.error-text {
    color: #d32f2f;
    font-size: 0.85rem;
    display: block;
    margin-top: 4px;
}

css.validation-msg {
    color: red;
    font-size: 0.75rem;
    margin-top: 2px;
    display: block;
}

.invalid-input {
    border-bottom: 1px solid red !important;
}

/* Center password eye icon inside the input */
.password-field {
    position: relative;
}

    .password-field input {
        padding-right: 44px; /* space for the icon; tweak if needed */
        box-sizing: border-box;
        margin-bottom: 0 !important;
    }

    .password-wrapper{
        position: relative;
        display:block;
    }

    /* Use top:0; bottom:0; margin:auto to vertically center against the input height */
    .password-field .password-toggle {
        position: absolute;
        right: 1vh;
        top: 0 !important;
        bottom: 0 !important;
        margin: auto !important;
        height: 20px; /* glyph height; adjust to match input height */
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px; /* icon size */
        line-height: 1;
        cursor: pointer;
        color: rgba(0,0,0,0.54);
        user-select: none;
    }
    

        /* Optional: hover contrast */
        .password-field .password-toggle:hover {
            color: rgba(0,0,0,0.87);
        }

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}

    .schedule-table .time-header {
        width: 15%;
        text-align: center;
        color: #757575;
        font-weight: 600;
        color: #795548;
    }

    .schedule-table .day-header {
        width: 12%;
        color: #424242;
        font-weight: 600;
        text-align: center;
        color: #795548;
    }

    .schedule-table .time-label {
        text-align: left;
        font-size: 0.95rem;
        color: #757575;
    }

    .schedule-table .checkbox-cell {
        vertical-align: middle;
        text-align: center;
    }

.cb-label {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}

/* Signup info modal footer: align buttons and spacing evenly */
#modalInfoForm .modal-footer.footer-center {
    display: flex !important;
    justify-content: space-between;
    align-items: center !important;
    gap: 12px;
    padding-left: 16px !important;
    padding-right: 16px !important;
}

    #modalInfoForm .modal-footer.footer-center .edit-btn,
    #modalInfoForm .modal-footer.footer-center .cancel-btn {
        margin: 0 !important;
    }

/* Dentist schedule row alignment (button + helper text inline) */
.schedule-inline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.schedule-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
}

.schedule-helper {
    margin: 0;
    text-align: left;
}

/* Footer actions: keep Cancel/SetSchedule/CreateAccount grouped on right */
#modalInfoForm .footer-right-actions {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.required-mark {
    color: red;
}