/* ==========================================================================                
   PATIENT PROFILE PAGE
========================================================================== */

.patient-profile{
    max-width:900px;
    margin:60px auto;
}

.patient-card{
    background:#fff;
    border:1px solid #ddd;
    border-radius:10px;
    padding:25px;
    margin-bottom:30px;
}

.patient-card h2{
    margin-bottom:20px;
}

.profile-row{
    display:flex;
    justify-content:space-between;
    padding:14px 0;
    border-bottom:1px solid #eee;
}

.profile-row:last-child{
    border-bottom:0;
}

.profile-row label{
    font-weight:600;
}

.profile-repeater{
    padding:14px 0;
    border-bottom:1px solid #eee;
}

.profile-repeater:last-child{
    border-bottom:0;
}

.profile-repeater > label{
    display:block;
    font-weight:600;
    margin-bottom:10px;
}

.profile-repeater p{
    margin:0;
    color:#666;
}

.profile-repeater .profile-table{
    margin-top:5px;
}

.profile-repeater .profile-table th{
    width:auto;
    background:#f7f9fb;
    padding:10px 12px;
}

.profile-repeater .profile-table td{
    padding:10px 12px;
}

.profile-actions{
    display:flex;
    justify-content:flex-end;
    gap:15px;
    margin-top:35px;
    flex-wrap:wrap;
}

.profile-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    min-width:170px;
    height:52px;
    padding: 8px 22px !important;
    border-radius: 24px;
    text-decoration:none;
    font-size:15px;
    font-weight:400;
    transition:.3s ease;
}

/* Edit Button */

.btn-edit{
    background:#ffe384;
    color:#000;
}

.btn-edit:hover{
    background:#f5d566;
    color:#000;
    transform:translateY(-2px);
}

/* Logout Button */

.btn-logout{
    background:#ef4444;
    color:#fff;
}

.btn-logout:hover{
    background:#dc2626;
    color:#fff;
    transform:translateY(-2px);
}

.profile-btn i{
    font-size:15px;
}


/* ==========================================================================
   PATIENT LOGIN PAGE
========================================================================== */

.patient-login-sec{
    display:flex;
    justify-content:center;
    align-items:center;
    min-height:75vh;
    padding:60px 20px;
}

.patient-login-box{
    width:100%;
    max-width:450px;
    background:#fff;
    border-radius:12px;
    padding:40px;
    box-shadow:0 10px 35px rgba(0,0,0,.08);
}

.patient-login-box h2{
    font-size:32px;
    font-weight:700;
    margin-bottom:10px;
    text-align:center;
}

.login-subtitle{
    text-align:center;
    color:#666;
    margin-bottom:35px;
}

.login-btn{
    width:100%;
    height:54px;
    border:none;
    border-radius:8px;
    background:#1f2937;
    color:#fff;
    font-size:17px;
    font-weight:600;
    cursor:pointer;
    transition:.3s;
}

.login-btn:hover{
    background:#2563eb;
}

.login-message{
    margin-top:15px;
    text-align:center;
    color:#d32f2f;
    font-weight:600;
}

.login-footer{
    margin-top:25px;
    text-align:center;
    font-size:15px;
}

.login-footer a{
    color:#2563eb;
    text-decoration:none;
    font-weight:700;
}

.login-footer a:hover{
    text-decoration:underline;
}


/* ==========================================================================
   PATIENT EDIT PROFILE PAGE
========================================================================== */

.patient-edit-page{
    max-width:900px;
    margin:60px auto;
    padding:0 20px;
}

.page-header{
    margin-bottom:35px;
}

.page-header h2{
    font-size:34px;
    margin-bottom:10px;
}

.page-header p{
    color:#666;
}

.profile-card{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:12px;
    padding:30px;
    margin-bottom:30px;
    box-shadow:0 5px 15px rgba(0,0,0,.04);
}

.profile-card h3{
    margin-bottom:25px;
}

.form-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
}

.full-width{
    grid-column:1 / -1;
}

.readonly-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:20px;
}

.readonly-header span{
    background:#eef5ff;
    color:#2563eb;
    padding:6px 12px;
    border-radius:20px;
    font-size:13px;
    /*font-weight:600;*/
}

.profile-table{
    width:100%;
    border-collapse:collapse;
}

.profile-table tr{
    border-bottom:1px solid #ececec;
}

.profile-table th,
.profile-table td{
    padding:15px 0;
}

.profile-table th{
    width:40%;
    text-align:left;
    font-weight:600;
}

.profile-table td{
    color:#666;
}

.edit-actions{
    display:flex;
    justify-content:flex-end;
    gap:15px;
    margin-top:30px;
}

.edit-actions-wrapper{
    margin-top:30px;
}

.edit-message{
    display:none;
    margin-bottom:15px;
    padding:12px 18px;
    border:1px solid #22c55e;
    background:#ecfdf5;
    color:#166534;
    border-radius:8px;
    font-weight:600;
}

.edit-message.show{
    display:block;
}


/* ==========================================================================
   COMMON FORM STYLES
   Used On:
   - Login Page
   - Edit Profile Page
========================================================================== */

.form-group{
    margin-bottom:20px;
}

.form-group label{
    display:block;
    margin-bottom:8px;
    font-weight:600;
}

.form-group input{
    width:100%;
    height:50px;
    border:1px solid #d6d6d6;
    border-radius:8px;
    padding:0 16px;
    transition:.3s;
}

.form-group input:focus{
    border-color:#2563eb;
    outline:none;
}

.form-group small{
    display:block;
    margin-top:8px;
    color:#888;
    font-size:13px;
}


/* ==========================================================================
   COMMON BUTTON STYLES
   Used On:
   - Patient Profile
   - Edit Profile
========================================================================== */

.btn-primary,
.btn-outline{
    padding:8px 22px;
    border-radius:24px;
    font-weight:400;
    text-decoration:none;
    cursor:pointer;
    transition:.3s;
}

.btn-primary{
   background: #ffe384;
    color: #000;
    border:1px solid #000;
}

.btn-primary:hover{
    color: #000;
    background-color: transparent;
    border-color: #000;
}

.btn-outline{
    background:#fff;
    color:#000;
    border:1px solid #000;
}

.btn-outline:hover{
    background:#000;
    color: #fff;
}

.btn-check:focus + .btn-primary,
.btn-primary:focus,
.btn-primary:active:focus,
.btn-primary:focus-visible,
.profile-btn:focus,
.profile-btn:focus-visible {
    color: #000;
    background-color: #ffe384;
    border-color: #000;
    box-shadow: none !important;
}

/* ==========================================================================
   PASSWORD FIELD
========================================================================== */

.password-wrapper{
    position:relative;
}

.password-wrapper input{
    padding-right:55px;
}

.toggle-password{
    position:absolute;
    right:18px;
    top:50%;
    transform:translateY(-50%);
    cursor:pointer;
    color:#888;
    font-size:18px;
    transition:.3s;
}

.toggle-password:hover{
    color:#2563eb;
}

/* ==========================================================================
   LOGIN OPTIONS
========================================================================== */

.login-options{
    display:flex;
    justify-content:flex-end;
    margin:-5px 0 25px;
}

.forgot-password{
    color:#2563eb;
    font-size:14px;
    font-weight:600;
    text-decoration:none;
}

.forgot-password:hover{
    text-decoration:underline;
}

.email-error {
    font-size: 12px !important;
    color: #990000;
    text-align: left;
}

p.register-sign-In{
    font-size: 16px;
    margin-top: 15px !important;
}

/* Modify the Radio button */

.lab-test-sec ul{
    display:flex;
    gap:30px;
    padding:0;
}

.lab-test-sec li{
    list-style:none;
    flex:1;
    position:relative;
}

.lab-test-sec input[type="radio"]{
    position:absolute;
    opacity:0;
    pointer-events:none;
}

.lab-test-sec label{
    display:block !important;
    width:100%;
    cursor:pointer;
    height:100%;
}

.lab-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    height: 100% !important;
    box-sizing: border-box !important;
    background: #FAF9F5 !important;
    border: 2px solid #E9E9E9 !important;
    border-radius: 20px !important;
    transition: 0.3s !important;
    padding: 30px !important;
    min-height: auto !important;
    position: relative !important;
}

.lab-test-sec label:hover .lab-card{
    border-color:#2c54d8 !important;
}

.lab-card h4{
    margin: 0 !important;
}

.lab-card del{
    display: block;
    color: #777 !important;
    font-size: 22px !important;
    margin-bottom: 4px !important;
    text-decoration: line-through !important;
    text-decoration-thickness: 2px !important;
    text-decoration-color: #666 !important;
    opacity: 0.7;
}

.lab-card .free{
    display: block !important;
    color: #0D6EFD;
    font-size: 28px !important;
    font-weight: 700;
    font-family: "Gelasio-Bold";
}

.lab-card .price{
    font-size: 32px !important;
    color: #0D6EFD;
    font-family: "Gelasio-Bold";  
}

.lab-card .desc{
    margin: 0;
    padding: 0;
    font-size: 14px !important;
    color: #999999;
}

/*Selected text */
.lab-card .selected{
    position:absolute;
    bottom:25px;
    left:0;
    width:100%;
    color:#2c54d8;
    font-size:16px;
    font-weight:500;
    opacity:0;
    transition:.3s;
}

.lab-test-sec input:checked + label .lab-card{
    border-color:#2c54d8 !important;
    box-shadow:0 12px 25px rgba(0,0,0,.18);
}

.lab-test-sec input:checked + label .lab-card .selected{
    opacity:1;
}

.general-info p {
    text-align: left;
    margin-bottom: 10px !important;
}

.testing-loc-sec .wpforms-image-choices-modern{
    display:flex;
    gap:30px;
    padding:0;
}

.testing-loc-sec .wpforms-image-choices-item{
    flex:1;
    list-style:none;
    margin:0 !important;
}

.testing-loc-sec .wpforms-image-choices-item label{
    display:flex !important;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    min-height:260px;
    border: 2px solid #ddd !important;
    border-radius: 10px !important;
    background: #fff !important;
    cursor: pointer !important;
    transition: .3s !important;
    padding: 30px !important;
}

/* Image */
.testing-loc-sec .wpforms-image-choices-image{
    display:flex;
    justify-content:center;
    align-items:center;
    margin-bottom:25px;
}

.testing-loc-sec .wpforms-image-choices-image img{
    width: 90px !important;
    height: 90px !important;
    object-fit:contain;
}

/* Title */
.testing-loc-sec .wpforms-image-choices-label{
    font-size:22px;
    font-weight:600;
    text-align:center;
    color:#222;
}

/* Hover */
.testing-loc-sec .wpforms-image-choices-item label:hover{
    border-color:#214fd5;
}

/* Selected */
.testing-loc-sec .wpforms-image-choices-item input:checked ~ .testing-loc-sec .wpforms-image-choices-label,
.testing-loc-sec .wpforms-image-choices-item input:checked + .testing-loc-sec .wpforms-image-choices-label{
    color:#214fd5;
}

.testing-loc-sec .wpforms-image-choices-item label:has(input:checked){
    border-color:#214fd5;
    box-shadow:0 10px 25px rgba(0,0,0,.15);
}

.wpforms-image-choices-modern .wpforms-image-choices-image::after {
    display: none;
}

.wpforms-image-choices-item.wpforms-selected label{
    border:2px solid #2c54d8 !important;
    box-shadow:0 10px 20px rgba(0,0,0,.15);
}

.wpforms-field-description {
    text-align: left;
    color: #5A5A5A;
}

.testing-loc-sec .wpforms-image-choices-modern{
    display:flex;
    gap:30px;
    padding:0;
}

.testing-loc-sec .wpforms-image-choices-item{
    flex:1;
    list-style:none;
    margin:0 !important;
}

.testing-loc-sec .wpforms-image-choices-item label{
    display:flex !important;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    min-height:260px;
    border: 2px solid #ddd !important;
    border-radius: 10px !important;
    background: #fff !important;
    cursor: pointer !important;
    transition: .3s !important;
    padding: 30px !important;
}

/* Image */
.testing-loc-sec .wpforms-image-choices-image{
    display:flex;
    justify-content:center;
    align-items:center;
    margin-bottom:25px;
}

.testing-loc-sec .wpforms-image-choices-image img{
    width: 90px !important;
    height: 90px !important;
    object-fit:contain;
}

/* Title */
.testing-loc-sec .wpforms-image-choices-label{
    font-size:22px;
    font-weight:600;
    text-align:center;
    color:#222;
}

/* Hover */
.testing-loc-sec .wpforms-image-choices-item label:hover{
    border-color:#214fd5;
}

/* Selected */
.testing-loc-sec .wpforms-image-choices-item input:checked ~ .testing-loc-sec .wpforms-image-choices-label,
.testing-loc-sec .wpforms-image-choices-item input:checked + .testing-loc-sec .wpforms-image-choices-label{
    color:#214fd5;
}

.testing-loc-sec .wpforms-image-choices-item label:has(input:checked){
    border-color:#214fd5;
    box-shadow:0 10px 25px rgba(0,0,0,.15);
}

.testing-loc-sec .wpforms-image-choices-modern .wpforms-image-choices-image::after {
    display: none;
}

.testing-loc-sec .wpforms-image-choices-item.wpforms-selected label{
    border:2px solid #2c54d8 !important;
    box-shadow:0 10px 20px rgba(0,0,0,.15);
}

.testing-loc-sec .wpforms-field-description {
    text-align: left;
    color: #5A5A5A;
}

/* ----------------------------------------------- LOGIN FORM ----------------------------------------------- */

.step-1{
    display:block;
}

.step-2, .step-3{
    display:none;
}

button.custom-step-btn, .page5-buttons-row .wpforms-page-prev {
    font-size: 16px;
    color: #fff !important;
    background: #242424 !important;
    border: 1px solid #242424 !important;
    border-radius: 24px !important;
    padding: 10px 15px !important;
}

button.custom-step-btn:hover, button.wpforms-page-button.wpforms-page-next:hover, .page5-buttons-row .wpforms-page-prev:hover {
    color: #242424 !important;
    background: #fff !important;
    border: 1px solid #242424 !important;
}

.custom-step.review-step h5{
    margin-bottom: 20px !important;
}

.custom-step.review-step .review-item {
    margin-bottom: 16px !important;
}

.consent-policy{
    text-align: left;
}

.step-buttons, .review-buttons {
    display: flex;
    justify-content: center;
}

.wpforms-page-prev{
    display:none !important;
}

.personal-validation-error, .insurance-validation-error, .step-validation-error, .custom-error {
    text-align: left;
    font-size: 14px !important;
    color: #cc0000;
}

.step-buttons{
    gap: 10px;
}

div#wpforms-567-field_543-container {
    padding: 0;
}

div#wpforms-567-field_543-container label.wpforms-field-label-inline {
    font-size: 13px;
}

input#wpforms-567-field_543_1 {
    width: 12px;
    height: 12px;
}

div#wpforms-567-field_543-container li.choice-1.depth-1 {
    align-items: center;
}

.page5-buttons-row {
    display: flex;
    align-items: baseline;
    justify-content: center;
    /*gap: 16px;*/
}

.wpforms-page-5.last button.wpforms-page-button.wpforms-page-prev{
    display: block !important;
}

/*.page5-buttons-row .wpforms-page-prev {*/
/*    background: transparent;*/
/*    border: none;*/
/*    color: #555;*/
/*    font-weight: 500;*/
/*    padding: 12px 8px;*/
/*    cursor: pointer;*/
/*}*/

/*.page5-buttons-row .wpforms-page-prev:hover {*/
/*    color: #000;*/
/*    text-decoration: underline;*/
/*}*/


/* ==========================================================================
   RESPONSIVE
========================================================================== */

@media screen and (max-width: 1024px) {

    div.wpforms-container-full .wpforms-form .wpforms-page-indicator.circles .wpforms-page-indicator-page {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 4px !important;
    }

    div.wpforms-container-full .wpforms-form .wpforms-page-indicator.circles {
        gap: 30px !important;
        padding: 12px 0 !important;
    }

    .login-inner.get-started {
        width: 100%;
    }

}

@media (max-width:768px){

    .form-grid{
        grid-template-columns:1fr;
    }

    .profile-row{
        flex-direction:column;
        gap:8px;
    }

    .edit-actions{
        flex-direction:column;
    }

    .btn-primary,
    .btn-outline{
        width:100%;
        text-align:center;
    }

}

@media screen and (max-width: 600px) {
    div.wpforms-container-full .wpforms-form .wpforms-page-indicator.circles {
        gap: 20px !important;
        padding: 12px 0 !important;
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
    }
}