@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/remixicon/4.6.0/remixicon.css');

*{
    margin:0;
    padding:0;
    font-family: "Inter", sans-serif;
    box-sizing: border-box;
}
:root{
    --theme_font:"Inter", sans-serif;
    --theme_color1:#112959;
    --theme_color2:#FF8726;
    --theme_text_color:#ac7f7f;
    --theme_heading:#333a4a;
    --theme_border_color:#d7dbe3;
}

/* ================== booking css ================== */
body{
    font-family: var(--theme_font);
    background:#e9f0ff;
}
.main_welldone {
    padding: 30px;
}
.bookingWrapper {
    max-width: 650px;
    margin: 0 auto;
    border-radius: 16px;
    box-shadow: 1px 2px 6px rgba(0 0 0 / 15%);
    overflow: hidden;
    border: 1px solid var(--theme_border_color);
    background:#fff;
}
.bookingWrapper .bookingHeader {
    padding: 16px;
    border-bottom: 1px solid var(--theme_border_color);
}

.bookingWrapper .bookingHeader h2 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 0;
}

.bookingWrapper .bookingBody {
    padding: 16px;
    height: 350px;
    overflow: hidden;
    overflow-y: scroll;
    position:relative;
}

.bookingWrapper .bookingFooter {
    padding: 16px;
    display: flex;
    justify-content: end;
    border-top: 1px solid var(--theme_border_color);
}
button[disabled] {
    display: none;
}
.vetlab_btn {
    padding: 12px 20px;
    line-height: 1;
    font-size: 15px;
    font-weight: 500;
    background: var(--theme_color1);
    color: #fff;
    text-decoration: none;
    transition: 0.5s;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    letter-spacing: 0.5px;
    border:1px solid var(--theme_color1);
}
.vetlab_btn.bookingPrev{
    background:none;
    color:var(--theme_color1);
    margin-right:10px;
}
.vetlab_btn.bookingPrev:hover{
    background:#1129592f;
    border-color:var(--theme_color1);
}
.vetlab_btn:hover {
    background:var(--theme_color2);
    border-color:var(--theme_color2);

}
.serviceSelection {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
}
.serviceType_image img {
    width: 100%;
    line-height: 0;
}
.serviceType_image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    line-height: 1;
}
.serviceType_image .titlewrap{
    position:absolute;
    top:20px;
    left:20px;
}
.serviceType_image .titlewrap h4 {
    font-size: 16px;
    font-weight: 500;
}
.serviceCard {
    /* box-shadow: 0 0 5px rgba(0 0 0 / 9%); */
    border-radius: 12px;
    overflow: hidden;
    padding: 16px;
    cursor: pointer;
    border:2px solid var(--theme_border_color);
}
.serviceType_content {
    padding-top: 16px;
}
.serviceCard.active{
    border-color:var(--theme_color2);
}


/* your existing CSS can stay the same */

/* --- MULTI STEP ANIMATION --- */
.bookingStep {
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    opacity: 0;
    transform: translateX(40px);
    pointer-events: none;
    transition: all 0.35s ease;
}
.bookingStep.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

/* Slide-out animation */
.bookingStep.hide-left {
    transform: translateX(-30px);
    opacity: 0;
}

.locationCard {
    border: 1px solid #ddd;
    padding: 12px;
    margin-bottom: 10px;
    cursor: pointer;
    border-radius: 6px;
}

.locationCard.active {
    border-color: var(--theme_border_color);
    background: #f0f9ff;
}


.step-loader {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.7);
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-loader .spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #ddd;
    border-top-color: var(--theme_border_color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.testList {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
    max-height: 420px;
    overflow-y: auto;
    padding-right: 5px;
}


.testCard {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    cursor: pointer;
    position: relative;
    background: #fff;
    transition: all 0.2s ease;
    min-height: 80px;
    display: flex;
}
.testCard:hover {
    border-color: var(--theme_border_color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.testCard.active {
    border-color: var(--theme_color2);
    /* background: #f0f9ff; */
}


/* Test info */
.testCard .testInfo h4 {
    font-size: 14px;
    margin-bottom: 0px;
    line-height: 1.3;
}

.testInfo .price {
    font-weight: 600;
    color: var(--theme_color2);
}

/* Check icon */
.testCard .checkIcon {
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 14px;
    align-items: center;
    border: 5px solid var(--theme_border_color);
    position:relative;
}
.testCard .checkIcon:after {
    content: '';
    position: absolute;
    width: 6px;
    height: 12px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -56%) rotate(45deg);
    display: none;
}
.testCard .testInfo {
    width: calc(100% - 30px);
    padding-left: 10px;
}
.testCard .testInfo p{
    margin-bottom:0px;
    font-size:12px;
}

.testCard.active .checkIcon {
    border-color:var(--theme_color2);
    border-width: 10px;
    background:var(--theme_color2);
}
.testCard.active .checkIcon:after{
    display: block;
}

.datetimeWrappr{
    width: 100%;
    display: flex;
}
.dateWrapper {
    width: 70%;
}


.timeWrapper {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
    margin-top: 15px;
    margin-left: 25px;
    max-height: 400px;
    overflow: auto;
    width: 30%;
}

.timeSlot {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    text-align: center;
    cursor: pointer;
    font-size: 13px;
    background: #fff;
    white-space: nowrap;
}

.timeSlot:hover {
    border-color: var(--theme_color2);
}

.timeSlot.active {
    background: var(--theme_color2);
    color: #fff;
    border-color: var(--theme_color2);
}

.timeSlot.disabled {
    background: #f3f3f3;
    color: #aaa;
    border-color: #ddd;
    cursor: not-allowed;
    pointer-events: none;
}


/* Mobile */
@media (max-width: 576px) {
    .timeWrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* Form input */
.formInput {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--theme_border_color);
    border-radius: 8px;
}

/* Test options */
.testOption {
    display: block;
    padding: 12px;
    border: 1px solid var(--theme_border_color);
    border-radius: 8px;
    margin-bottom: 10px;
    cursor: pointer;
}
.bookingGrop label {
    font-size: 15px;
    font-weight: 500;
    color: var(--theme_heading);
    margin-bottom: 8px;
    display: block;
}
.bookingGrop input {
    display: block;
    padding: 12px;
    border: 1px solid var(--theme_border_color);
    border-radius: 8px;
    width:100%;
}
.bookingGrop .select2-container .select2-selection--single{
    height:45px;
}
.bookingGrop .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--theme_heading);
    line-height: 1;
    height: 100%;
    padding: 13px;
    font-size: 15px;
}
.bookingGrop .select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid var(--theme_border_color);
    padding:10px;
}
.bookingGrop .select2-search--dropdown {
    display: block;
    padding: 10px;
}
.bookingGrop .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 26px;
    position: absolute;
    top: 8px;
    right: 8px;
    width: 20px;
}
input:focus{
    outline:var(--theme_color2);
}


/* ============== date calander ============== */
.dateWrapper .flatpickr-calendar.inline {
    width: 100%;
    border: none;
    box-shadow: none;
}

.dateWrapper .flatpickr-calendar.inline .flatpickr-innerContainer {
    width: 100% !important;
}

.dateWrapper .flatpickr-calendar.inline .flatpickr-innerContainer .flatpickr-rContainer {
    width: 100%;
}

.dateWrapper .flatpickr-calendar.inline .flatpickr-innerContainer .flatpickr-rContainer .flatpickr-days {
    width: 100% !important;
    margin-top: 16px;
}

.dateWrapper .flatpickr-calendar.inline .flatpickr-innerContainer .flatpickr-rContainer .flatpickr-days .dayContainer {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-gap: 10px;
}

.dateWrapper .flatpickr-calendar.inline .flatpickr-innerContainer .flatpickr-rContainer .flatpickr-weekdays {
    margin-top: 16px;
}

.dateWrapper .flatpickr-calendar.inline .flatpickr-innerContainer .flatpickr-rContainer .flatpickr-days .dayContainer span.flatpickr-day {
    width: 100%;
    background: #e9eefe;
    border: 1px solid #1246d6;
    border-radius: 4px;
    max-width: 100%;
    color: #1246d6;
}
.dateWrapper .flatpickr-calendar.inline .flatpickr-innerContainer .flatpickr-rContainer .flatpickr-days .dayContainer span.flatpickr-day.selected {
    width: 100%;
    background: #1246d6;
    border: 1px solid #1246d6;
    border-radius: 4px;
    max-width: 100%;
    color: #fff;
}
.dateWrapper .flatpickr-calendar.inline .flatpickr-innerContainer .flatpickr-rContainer .flatpickr-days .dayContainer span.flatpickr-day.nextMonthDay,
.dateWrapper .flatpickr-calendar.inline .flatpickr-innerContainer .flatpickr-rContainer .flatpickr-days .dayContainer span.flatpickr-day.flatpickr-disabled{
    background: #f7e8e7;
    border: 1px solid #f7e8e7;
    color: #8c959a;
}
.dateWrapper .flatpickr-calendar.inline .flatpickr-innerContainer .flatpickr-rContainer .flatpickr-days .dayContainer span.flatpickr-day.prevMonthDay{
    background: #f7e8e7;
    border: 1px solid #f7e8e7;
    color: #d7cfd0;
}

.dateWrapper .flatpickr-calendar.inline .flatpickr-innerContainer .flatpickr-rContainer .flatpickr-days .dayContainer span.flatpickr-day.today {
    position: relative;
}

.dateWrapper .flatpickr-calendar.inline .flatpickr-innerContainer .flatpickr-rContainer .flatpickr-days .dayContainer span.flatpickr-day.today:after {
    content: '';
    width: 5px;
    height: 5px;
    position: absolute;
    top: 5px;
    right: 5px;
    background: #1246d6;
    border-radius: 50%;
}
/* ============== date calander ============== */
/* ================== booking css ================== */

.bookingGrop {
    background: #ffffff;
    padding: 22px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    max-width: 760px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Section title */
.bookingGrop h4 {
    font-size: 16px;
    font-weight: 500;
    color: var(--theme_heading);
    margin-bottom:14px;
}

/* Input rows */
.formRow {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
}

/* Inputs & textarea */
.bookingGrop input[type="text"],
.bookingGrop input[type="email"],
.bookingGrop textarea,
.bookingGrop select {
    width: 100%;
    padding: 12px 14px;
    font-size: 14px;
    border-radius: 8px;
    border: 1px solid #dcdcdc;
    transition: all 0.2s ease;
    background-color: #fff;
    height:50px;
}

/* Hide helper spans */
.bookingGrop .lat,
.bookingGrop .long {
    display: none;
}

/* Focus effect */
.bookingGrop input:focus,
.bookingGrop textarea:focus {
    outline: none;
    border-color: #2c71da;
    box-shadow: 0 0 0 3px rgba(44,113,218,0.15);
}

/* Textarea */
.bookingGrop textarea {
    resize: vertical;
    min-height: 80px;
}

/* Distance cost box */
.costBox {
    background: linear-gradient(90deg, #eef4ff, #f9fbff);
    border-left: 4px solid #2c71da;
    padding: 14px 16px;
    border-radius: 8px;
    margin-top: 10px;
}

.costBox p {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

#distanceChargeText {
    color: #2c71da;
    font-size: 18px;
}

/* Error box */
.form-errors {
    background: #ffecec;
    border-left: 4px solid #ff4d4f;
    padding: 10px 12px;
    margin-top: 14px;
    border-radius: 6px;
    font-size: 14px;
}

/* Mobile responsive */
@media (max-width: 600px) {
    .formRow {
        flex-direction: column;
    }

    .bookingGrop {
        padding: 16px;
    }
}


.selectedTests {
    background: #fafcff;
    border: 1px dashed #2c71da;
    padding: 12px 14px;
    border-radius: 8px;
    margin-bottom: 12px;
}

.selectedTests h5 {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 600;
    color: #2c71da;
}

.summaryList {
    list-style: none;
    padding: 0;
    margin: 0;
}

.summaryList li {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 14px;
    border-bottom: 1px dashed #eee;
}

.summaryList li:last-child {
    border-bottom: none;
}

.testName {
    color: #333;
}

.testPrice {
    font-weight: 600;
}

.totalRow {
    margin-top: 6px;
    padding-top: 8px;
    border-top: 2px solid #ddd;
    font-size: 16px;
}

.priceSummary {
    margin-top: 10px;
}

.razorpayInfo {
    background: #f2f7ff;
    border-left: 4px solid #2c71da;
    padding: 10px 12px;
    border-radius: 6px;
    margin-top: 14px;
    font-size: 14px;
}


.successGrid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 10px;
}

.successCol {
    background: #fafafa;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    padding: 12px;
}

@media (max-width: 768px) {
    .successGrid {
        grid-template-columns: 1fr;
    }
}

.successTable {
    width: 100%;
    border-collapse: collapse;
}

.successTable th,
.successTable td {
    padding: 8px 10px;
    border-bottom: 1px solid #e6e6e6;
    font-size: 14px;
}

.successTable th {
    background: #f4f6f8;
    font-weight: 600;
    text-align: left;
}

.label {
    width: 35%;
    color: #555;
    font-weight: 500;
}

.value {
    color: #222;
}

.text-right {
    text-align: right;
}

.sectionTitle {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
}

.summaryTable .grandTotal td {
    font-size: 15px;
    font-weight: 700;
    border-top: 2px solid #ccc;
}

.paid {
    color: #28a745;
    font-weight: 600;
}

.muted {
    font-size: 12px;
    color: #777;
}

.successActions {
    text-align: center;
    margin-top: 20px;
}
.successActions .thankNote {
    font-size: 14px;
    margin-bottom: 0;
}

.successActions .thankNote a {
    color: var(--theme_heading_color);
}
/* =============== header =============== */
.menu_left img {
    height: 44px;
}
.progressWrapper {
    display: flex;
    list-style: none;
    justify-content: end;
    margin-bottom: 0;
}

.progressWrapper .progStep {
    width: 30px;
    height: 30px;
    font-size: 12px;
    background: #e9f0ff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #122a5b;
    line-height: 1;
}

.progressWrapper .progStep:not(:last-child) {
    margin-right: 25px;
}
.user_header {
    background: #fff;
    padding: 14px 0;
    border-radius: 0 0 16px 16px;
    box-shadow: -2px 2px 10px rgb(173 187 216 / 26%);
}
/* =============== header =============== */

.successTable td, .successTable th {
    padding: 8px 0px;
}

.successTable tr:last-child td, .successTable tr:last-child th {
    border: none;
}
.successTable td.value {
    text-align: right;
}
.footer-bottom p {
    font-size: 15px;
    text-align: center;
}
.footer-bottom p a{
    color:var(--theme_heading);
}
.select2-results strong.select2-results__group {
    font-size: 14px;
}

.select2-results .select2-results__options li {
    font-size: 14px;
}



/* user login  */

.mn-login {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Single Card */
.mn-login-content {
    width: 100%;
    max-width: 450px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    padding: 40px 35px;
}

/* Remove flex layout */
.mn-login-box {
    padding: 0;
}

/* Logo Top Center */
.mn-login-logo {
    text-align: center;
    margin-bottom: 20px;
}

.mn-login-logo img {
    max-width: 140px;
    height: auto;
}

/* Title Center */
.mn-title {
    text-align: center;
}

.mn-title h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 5px;
}

.mn-title p {
    color: #6c757d;
    margin-bottom: 25px;
}

/* Inputs */
.mn-login-wrap input {
    width: 100%;
    border-radius: 6px;
    border: 1px solid #ddd;
    padding: 10px 14px;
    transition: 0.3s;
}
.mn-login-wrap span.mn-remember {
    display: flex;
    gap: 10px;
}
.mn-login-wrap input:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.15rem rgba(13,110,253,.15);
}

/* Remember + Forgot */
.mn-login-fp {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

/* Button Full Width */
.mn-login-btn {
    margin-top: 15px;
}

.mn-login-btn button {
    width: 100%;
    height: 48px;
    border-radius: 6px;
    font-weight: 600;
}

/* Hide old image class safely */
.mn-login-img,
.d-n-991 {
    display: none !important;
}


.mn-login-wrap  a {
    color: #d1631b;
}
.user-btn {
    background:#112959;
    color:#fff;
    border:none;
}
.user-btn:hover {
    background:#d1631b;
}
@media only screen and (min-width: 320px) and (max-width: 767px){
    .mn-login-content {
    padding: 20px 15px;
   }
   .mn-login-fp label {
        font-size: 11px;
    }

    .mn-login-fp span.mn-remember {
        font-size: 11px;
    }
    .mn-login-wrap input {
    padding: 7px 10px;
   }
   .mn-login-btn button {
    height: 40px;
  }
  .mn-title h2 {
    font-size: 20px;
  }
  .mn-login {
    min-height: auto;
  }
}



.menu_right {
    display: flex;
    justify-content: end;
}

.menu_right .accoung {
    position: relative;
    cursor: pointer;
}

.acc_btn {
    padding: 5px;
    border-radius: 35px;
    display: flex;
    align-items: center;
    background: #e9f0ff;
    padding-right: 20px;
}

.acc_btn span {
    display: block;
}

.acc_btn span.profile {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(#3a6fdb, #112959);
    color: #fff;
    font-size: 15px;
    border-radius: 50%;
}

.acc_btn span.name {
    font-size: 15px;
    padding-left: 8px;
}

.menu_right .accoung .acc_dropDown {
    position: absolute;
    background: #fff;
    list-style: none;
    box-shadow: 2px 3px 10px rgba(0 0 0 / 15%);
    border-radius: 10px;
    padding: 8px;
    margin-bottom: 0;
    transition: 0.5s;
    visibility: hidden;
    margin-top: 10px;
    opacity: 0;
}

.menu_right .accoung .acc_dropDown li {
    padding: 2px;
}

.menu_right .accoung .acc_dropDown li a {
    text-decoration: none;
    color: #212121;
    display: block;
    padding: 8px 12px;
    border-radius: 8px;
    transition: 0.5s;
}

.menu_right .accoung .acc_dropDown li a:hover {
    background: #112959;
    color: #fff;
}

.menu_right .accoung:hover .acc_dropDown {
    margin-top: 0;
    visibility: visible;
    opacity: 1;
}
.menu_right .accoung .acc_dropDown li:last-child a{
    color:#d3c3c3;
}
.menu_right .accoung .acc_dropDown li:last-child a:hover{
    background: #ffc7c7;
    color: red;
}