/* ==================================================
   SHELL PATHOLOGY - BOOK A TEST
================================================== */


/* Main Section */

.sp-test-section {
    padding: 100px 0;
    background: #f8f9fa;
}


/* ==================================================
   HEADING
================================================== */

.sp-test-heading {
    max-width: 750px;
    margin: 0 auto 45px;
    text-align: center;
}


.sp-test-heading span {
    display: block;

    color: #C1121F;

    font-size: 14px;
    font-weight: 700;

    letter-spacing: 1px;

    margin-bottom: 10px;
}


.sp-test-heading h1 {
    color: #111111;

    font-size: 42px;
    line-height: 52px;

    font-weight: 700;

    margin-bottom: 15px;
}


.sp-test-heading p {
    color: #666666;

    font-size: 16px;
    line-height: 27px;

    margin: 0;
}


/* ==================================================
   SEARCH
================================================== */

.sp-test-search {
    max-width: 850px;

    margin: 0 auto 30px;
}


.sp-search-input {
    position: relative;

    background: #ffffff;

    border: 1px solid #e4e4e4;

    border-radius: 8px;

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}


.sp-search-input i {
    position: absolute;

    left: 22px;
    top: 50%;

    transform: translateY(-50%);

    color: #C1121F;

    font-size: 19px;
}


.sp-search-input input {
    width: 100%;
    height: 65px;

    padding: 0 25px 0 58px;

    border: none;
    outline: none;

    background: transparent;

    color: #222222;

    font-size: 15px;
}


.sp-search-input input::placeholder {
    color: #999999;
}


/* ==================================================
   FILTER BUTTONS
================================================== */

.sp-test-filters {
    display: flex;

    justify-content: center;
    align-items: center;

    flex-wrap: wrap;

    gap: 10px;

    margin-bottom: 45px;
}


.sp-filter-btn {
    padding: 10px 20px;

    border: 1px solid #dddddd;

    background: #ffffff;

    color: #444444;

    border-radius: 30px;

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    transition: 0.3s;
}


.sp-filter-btn:hover,
.sp-filter-btn.active {
    background: #C1121F;

    border-color: #C1121F;

    color: #ffffff;
}


/* ==================================================
   RESULT HEADER
================================================== */

.sp-test-result-header {
    display: flex;

    justify-content: space-between;
    align-items: center;

    margin-bottom: 25px;
}


.sp-result-count {
    color: #555555;

    font-size: 15px;
}


.sp-result-count strong {
    color: #C1121F;
}


.sp-test-sort select {
    height: 45px;

    padding: 0 40px 0 15px;

    border: 1px solid #dddddd;

    background: #ffffff;

    border-radius: 5px;

    color: #444444;

    outline: none;
}


/* ==================================================
   TEST CARD
================================================== */

.sp-test-column {
    display: flex;
}


.sp-test-card {
    width: 100%;

    display: flex;
    flex-direction: column;

    position: relative;

    background: #ffffff;

    border: 1px solid #e9e9e9;

    border-radius: 10px;

    padding: 25px;

    margin-bottom: 30px;

    transition: 0.3s;
}


.sp-test-card:hover {
    transform: translateY(-4px);

    border-color: rgba(193, 18, 31, 0.35);

    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}


/* Category */

.sp-test-category {
    display: inline-block;

    align-self: flex-start;

    padding: 5px 10px;

    background: #fff0f1;

    color: #C1121F;

    border-radius: 4px;

    font-size: 11px;
    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.5px;

    margin-bottom: 15px;
}


/* Test Title */

.sp-test-title {
    min-height: 56px;

    color: #181818;

    font-size: 19px;
    line-height: 27px;

    font-weight: 700;

    margin-bottom: 10px;
}


/* Also Known */

.sp-test-alias {
    min-height: 45px;

    color: #777777;

    font-size: 13px;
    line-height: 21px;

    margin-bottom: 18px;
}


.sp-test-alias strong {
    color: #444444;
}


/* Information */

.sp-test-info {
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;

    padding: 15px 0;

    margin-bottom: 20px;
}


.sp-test-info-row {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 10px;

    color: #555555;

    font-size: 13px;
}


.sp-test-info-row:last-child {
    margin-bottom: 0;
}


.sp-test-info-row i {
    width: 20px;

    color: #C1121F;

    font-size: 15px;
}


/* Bottom */

.sp-test-bottom {
    display: flex;

    align-items: center;
    justify-content: space-between;

    margin-top: auto;
}


/* Price */

.sp-test-price small {
    display: block;

    color: #888888;

    font-size: 11px;

    margin-bottom: 2px;
}


.sp-test-price strong {
    color: #111111;

    font-size: 22px;
    font-weight: 700;
}


/* Book Button */

.sp-book-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 110px;
    height: 42px;

    padding: 0 18px;

    background: #C1121F;

    color: #ffffff;

    border-radius: 5px;

    font-size: 13px;
    font-weight: 600;

    text-decoration: none;

    transition: 0.3s;
}


.sp-book-btn:hover {
    background: #111111;

    color: #ffffff;
}


/* ==================================================
   NO RESULTS
================================================== */

.sp-no-results {
    padding: 60px 20px;

    text-align: center;

    background: #ffffff;

    border-radius: 10px;
}


.sp-no-results i {
    color: #C1121F;

    font-size: 45px;

    margin-bottom: 20px;
}


.sp-no-results h3 {
    color: #222222;

    font-size: 25px;

    margin-bottom: 8px;
}


.sp-no-results p {
    color: #777777;

    margin: 0;
}


/* ==================================================
   LOAD MORE
================================================== */

.sp-load-more {
    text-align: center;

    margin-top: 25px;
}


.sp-load-more button {
    padding: 14px 32px;

    border: none;

    background: #C1121F;

    color: #ffffff;

    border-radius: 5px;

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    transition: 0.3s;
}


.sp-load-more button:hover {
    background: #111111;
}


/* ==================================================
   RESPONSIVE
================================================== */

@media (max-width: 991px) {

    .sp-test-section {
        padding: 80px 0;
    }

    .sp-test-heading h1 {
        font-size: 36px;
        line-height: 45px;
    }

}


@media (max-width: 767px) {

    .sp-test-section {
        padding: 60px 0;
    }


    .sp-test-heading h1 {
        font-size: 30px;
        line-height: 39px;
    }


    .sp-test-result-header {
        flex-direction: column;

        align-items: flex-start;

        gap: 15px;
    }


    .sp-test-sort {
        width: 100%;
    }


    .sp-test-sort select {
        width: 100%;
    }


    .sp-test-title,
    .sp-test-alias {
        min-height: auto;
    }

}


@media (max-width: 575px) {

    .sp-test-card {
        padding: 20px;
    }


    .sp-test-bottom {
        gap: 15px;
    }


    .sp-test-price strong {
        font-size: 19px;
    }

}



/* ==================================================
   BOOK TEST MODAL
================================================== */

body.sp-modal-open {
    overflow: hidden;
}


.sp-book-modal {
    position: fixed;

    inset: 0;

    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    opacity: 0;
    visibility: hidden;

    transition: 0.3s;
}


.sp-book-modal.active {
    opacity: 1;
    visibility: visible;
}


/* Overlay */

.sp-book-overlay {
    position: absolute;

    inset: 0;

    background: rgba(0, 0, 0, 0.65);

    backdrop-filter: blur(3px);
}


/* Modal Box */

.sp-book-modal-box {
    position: relative;

    z-index: 2;

    width: 100%;
    max-width: 620px;

    max-height: calc(100vh - 40px);

    overflow-y: auto;

    background: #ffffff;

    border-radius: 12px;

    padding: 35px;

    box-shadow:
        0 20px 70px rgba(0, 0, 0, 0.25);

    transform: translateY(25px);

    transition: 0.3s;
}


.sp-book-modal.active .sp-book-modal-box {
    transform: translateY(0);
}


/* Close */

.sp-modal-close {
    position: absolute;

    right: 15px;
    top: 15px;

    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;

    border-radius: 50%;

    background: #f4f4f4;

    color: #222222;

    font-size: 16px;

    cursor: pointer;

    transition: 0.3s;
}


.sp-modal-close:hover {
    background: #C1121F;
    color: #ffffff;
}


/* Steps */

.sp-callback-step {
    display: none;
}


.sp-callback-step.active {
    display: block;
}


/* Header */

.sp-callback-header {
    text-align: center;

    margin-bottom: 25px;
}


.sp-callback-icon {
    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 15px;

    border-radius: 50%;

    background: #fff0f1;

    color: #C1121F;

    font-size: 24px;
}


.sp-callback-header h3 {
    color: #111111;

    font-size: 25px;

    margin-bottom: 8px;
}


.sp-callback-header p {
    color: #777777;

    font-size: 14px;

    margin: 0;
}


/* Selected Test */

.sp-selected-test {
    padding: 14px 16px;

    margin-bottom: 22px;

    background: #fff7f7;

    border-left: 3px solid #C1121F;

    border-radius: 4px;
}


.sp-selected-test span {
    display: block;

    color: #888888;

    font-size: 11px;

    margin-bottom: 3px;
}


.sp-selected-test strong {
    display: block;

    color: #222222;

    font-size: 14px;
}


/* Form */

.sp-form-group {
    margin-bottom: 18px;
}


.sp-form-group label {
    display: block;

    color: #333333;

    font-size: 13px;
    font-weight: 600;

    margin-bottom: 7px;
}


.sp-input-box {
    position: relative;
}


.sp-input-box i {
    position: absolute;

    left: 15px;
    top: 50%;

    transform: translateY(-50%);

    color: #C1121F;
}


.sp-input-box input {
    width: 100%;
    height: 52px;

    padding: 0 15px 0 45px;

    border: 1px solid #dddddd;

    border-radius: 5px;

    outline: none;

    font-size: 14px;

    transition: 0.3s;
}


.sp-input-box input:focus {
    border-color: #C1121F;
}


/* Phone */

.sp-phone-input {
    display: flex;

    height: 52px;

    border: 1px solid #dddddd;

    border-radius: 5px;

    overflow: hidden;

    transition: 0.3s;
}


.sp-phone-input:focus-within {
    border-color: #C1121F;
}


.sp-country-code {
    width: 65px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f6f6f6;

    border-right: 1px solid #dddddd;

    color: #222222;

    font-size: 14px;
    font-weight: 600;
}


.sp-phone-input input {
    flex: 1;

    border: none;
    outline: none;

    padding: 0 15px;

    font-size: 14px;
}


/* Error */

.sp-error-message {
    display: block;

    min-height: 17px;

    color: #C1121F;

    font-size: 11px;

    margin-top: 5px;
}


/* Main Button */

.sp-proceed-btn {
    width: 100%;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    border: none;

    background: #C1121F;

    color: #ffffff;

    border-radius: 5px;

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    transition: 0.3s;
}


.sp-proceed-btn:hover {
    background: #111111;
}


/* Policy */

.sp-callback-policy {
    margin-top: 18px;

    text-align: center;
}


.sp-callback-policy p {
    color: #888888;

    font-size: 10px;
    line-height: 17px;

    margin-bottom: 5px;
}


.sp-callback-policy a {
    color: #C1121F;

    text-decoration: underline;
}


.sp-callback-note {
    margin-bottom: 0 !important;
}


/* Change Number */

.sp-change-number {
    margin-top: 8px;

    padding: 0;

    border: none;

    background: transparent;

    color: #C1121F;

    font-size: 12px;
    font-weight: 600;

    cursor: pointer;
}


/* OTP */

.sp-otp-wrapper {
    display: flex;

    justify-content: center;

    gap: 12px;

    margin: 30px 0 5px;
}


.sp-otp-input {
    width: 55px;
    height: 58px;

    border: 1px solid #dddddd;

    border-radius: 6px;

    text-align: center;

    color: #111111;

    font-size: 22px;
    font-weight: 700;

    outline: none;

    transition: 0.3s;
}


.sp-otp-input:focus {
    border-color: #C1121F;

    box-shadow:
        0 0 0 3px rgba(193, 18, 31, 0.08);
}


.sp-otp-error {
    text-align: center;

    margin-bottom: 10px;
}


/* Resend */

.sp-resend-otp {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 5px;

    margin-bottom: 20px;

    font-size: 12px;
}


.sp-resend-otp span {
    color: #777777;
}


.sp-resend-otp button {
    padding: 0;

    border: none;

    background: transparent;

    color: #C1121F;

    font-weight: 600;

    cursor: pointer;
}


/* Success */

.sp-success-content {
    padding: 20px 0 5px;

    text-align: center;
}


.sp-success-icon {
    width: 75px;
    height: 75px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 20px;

    border-radius: 50%;

    background: #e9f8ee;

    color: #1e9e4a;

    font-size: 30px;
}


.sp-success-content h3 {
    color: #222222;

    font-size: 24px;

    margin-bottom: 12px;
}


.sp-success-content p {
    color: #777777;

    font-size: 14px;
    line-height: 24px;

    margin-bottom: 25px;
}


/* Mobile */

@media (max-width: 575px) {

    .sp-book-modal {
        padding: 10px;
    }


    .sp-book-modal-box {
        padding: 30px 20px 25px;

        max-height: calc(100vh - 20px);
    }


    .sp-otp-wrapper {
        gap: 8px;
    }


    .sp-otp-input {
        width: 48px;
        height: 52px;
    }

}

/* ==================================================
   BOOK A TEST PAGE - HEADER SPACE FIX
================================================== */

/* Desktop */
@media (min-width: 1200px) {

    .sp-book-test-area {
        padding-top: 160px !important;
    }

}


/* Tablet */
@media (min-width: 768px) and (max-width: 1199px) {

    .sp-book-test-area {
        padding-top: 120px !important;
    }

}


/* Mobile */
@media (min-width: 1200px) {

    .sp-book-test-area {
        padding-top: 190px !important;
    }

}













 /*==================================================
BOOKING GRID
==================================================*/

.sp-booking-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:18px;
    margin:25px 0;
}

.sp-booking-grid .sp-form-group{
    margin-bottom:0;
}

/*==================================================
PRICE / TOTAL CARD
==================================================*/

.sp-price-box,
.sp-total-box{

    height:60px;

    display:flex;
    align-items:center;
    justify-content:center;

    border:1px solid #e9e9e9;
    border-radius:12px;

    background:#fafafa;

    font-size:24px;
    font-weight:700;
    color:#C1121F;

    transition:.3s;

}

.sp-price-box:hover,
.sp-total-box:hover{

    border-color:#C1121F;
    background:#fff5f5;

}

/*==========================================
PERSON COUNTER
==========================================*/

.sp-person-counter{

    display:flex;

    align-items:center;
    justify-content:space-between;

    height:60px;

    padding:0 12px;

    border:1px solid #e7e7e7;

    border-radius:12px;

    background:#fafafa;

    transition:.3s;

}

.sp-person-counter:hover{

    border-color:#C1121F;

}

.sp-person-counter button{

    width:38px;
    height:38px;

    border:none;

    border-radius:50%;

    background:#C1121F;

    color:#fff;

    display:flex;
    align-items:center;
    justify-content:center;

    cursor:pointer;

    transition:.3s;

}

.sp-person-counter button:hover{

    background:#111;

}

.sp-person-counter span{

    font-size:22px;

    font-weight:700;

    color:#222;

    min-width:40px;

    text-align:center;

}

/*==================================================
FORM LABEL
==================================================*/

.sp-form-group label{

    display:block;

    font-size:13px;
    font-weight:700;

    color:#333;

    margin-bottom:8px;

}

/*==================================================
INPUT BOX
==================================================*/

.sp-input-box{

    position:relative;

}

.sp-input-box i{

    position:absolute;

    left:18px;
    top:50%;

    transform:translateY(-50%);

    color:#C1121F;

    font-size:15px;

}

.sp-input-box input{

    width:100%;
    height:60px;

    padding:0 18px 0 48px;

    border:1px solid #e9e9e9;
    border-radius:12px;

    background:#fff;

    font-size:15px;

    transition:.3s;

}

.sp-input-box input:focus{

    outline:none;

    border-color:#C1121F;

    box-shadow:0 0 0 3px rgba(193,18,31,.08);

}

/*==================================================
PHONE
==================================================*/

.sp-phone-input{

    display:flex;

    height:60px;

    border:1px solid #e9e9e9;
    border-radius:12px;

    overflow:hidden;

    background:#fff;

    transition:.3s;

}

.sp-phone-input:focus-within{

    border-color:#C1121F;

    box-shadow:0 0 0 3px rgba(193,18,31,.08);

}

.sp-country-code{

    width:70px;

    display:flex;
    align-items:center;
    justify-content:center;

    background:#fafafa;

    border-right:1px solid #e9e9e9;

    font-size:15px;
    font-weight:700;

}

.sp-phone-input input{

    flex:1;

    border:none;
    outline:none;

    padding:0 18px;

    font-size:15px;

    background:#fff;

}

/*==================================================
ERROR
==================================================*/

.sp-error-message{

    display:block;

    min-height:18px;

    margin-top:6px;

    color:#C1121F;

    font-size:12px;

}

/*==================================================
SELECTED TEST CARD
==================================================*/

.sp-selected-test{

    background:linear-gradient(135deg,#fff7f7,#fff);

    border:1px solid rgba(193,18,31,.12);

    border-left:5px solid #C1121F;

    border-radius:12px;

    padding:18px;

    margin-bottom:25px;

}

.sp-selected-test span{

    display:block;

    color:#888;

    font-size:12px;

    margin-bottom:6px;

}

.sp-selected-test strong{

    display:block;

    color:#111;

    font-size:17px;

    line-height:25px;

    font-weight:700;

}

/*==================================================
RESPONSIVE
==================================================*/

@media(max-width:767px){

    .sp-booking-grid{

        grid-template-columns:1fr;

        gap:16px;

    }

    .sp-price-box,
    .sp-total-box,
    .sp-person-select,
    .sp-input-box input,
    .sp-phone-input{

        height:56px;

    }

}











