 .doctor_listing .pageHead,.loginContainer .pageHead,.selectPatientWrapper .pageHead{
                margin-top:60px;
            }
            .loginContainer{
                margin-top:60px!important;margin-bottom:75px!important;
            }
            .loginContainer .signIn{color:#999;font-size:15px;}
            .doctor_listing .card,.doctor_listing .card:first-child{
                margin-bottom:50px!important;margin-top:0px!important;width:55%;gap:40px;
            }
            .doctor_listing .card:first-child{
                margin-top:60px!important;
            }
            .doctor_listing .card:last-child{
                margin-bottom:150px!important;
            }
            .doctor_listing img.dr_profile{
                border-radius:200px;object-fit:cover;width:200px;height:200px;
            }
            .doctor_listing .loc{
                margin-bottom:20px;margin-top:20px;
            }
            .doctor_listing .paraPosH{
                min-height:auto;
            }
            .doctor_profile.container {
                max-width: 1200px;
                margin: 0 auto;
                margin-top:60px!important;
                margin-bottom:60px!important;
            }

            .doctor_profile .card {
                background: white;
                border-radius: 20px;
                box-shadow: 0 2px 12px rgba(0,0,0,0.08);
                display: grid;
                grid-template-columns: 250px 1fr 450px;
                gap: 30px;
                padding: 30px;
            }

            /* Left Section */
            .doctor_profile .doctor-photo {
                width: 100%;
                /* border-radius: 100%; */
                object-fit: cover;
                margin-bottom: 20px;
                /* height: 320px; */
                /* width:100%; */
            }

            .doctor_profile .call-btn {
                width: 100%;
                background: #003545;
                color: white;
                border: none;
                padding: 14px;
                border-radius: 8px;
                font-size: 15px;
                font-weight: 600;
                cursor: pointer;
            }

            .doctor_profile .call-btn:hover {
                background: #004a5e;
            }

            /* Middle Section */
            .doctor_profile .doctor-name {
                font-size: 28px;
                font-weight: 700;
                margin-bottom: 8px;
            }

            .doctor_profile .specialization {
                color: #666;
                margin-bottom: 16px;
                line-height: 1.5;
            }

            .doctor_profile .info-row {
                display: flex;
                align-items: center;
                gap: 8px;
                margin-bottom: 12px;
                color: #333;
            }

            .doctor_profile .info-row svg {
                flex-shrink: 0;
            }

            .doctor_profile .hospital-badge {
                display: inline-flex;
                align-items: center;
                gap: 8px;
                padding: 12px 16px;
                border: 1px solid #ddd;
                border-radius: 8px;
                margin-top: 16px;
            }

            /* Right Section */
            .doctor_profile .booking-section {
                background: #fafafa;
                padding: 25px 40px;
                border-radius: 8px;
            }

            .doctor_profile .section-title {
                font-size: 15px;
                font-weight: 700;
                color: #666;
                letter-spacing: 0.5px;
                margin-bottom: 15px;
            }

            .doctor_profile .slider-wrap {
                position: relative;
                margin-bottom: 24px;
            }

            .doctor_profile .slider-container {
                overflow: hidden;
                margin: 0 20px;
            }

            .doctor_profile .slider {
                display: flex;
                gap: 2.5px;
                transition: transform 0.3s ease;
            }

            .doctor_profile .slot {
                flex: 0 0 calc(25% - 25px);
                text-align: center;
                padding: 7px;
                border: 2px solid #ddd;
                border-radius: 6px;
                background: white;
                cursor: pointer;
                transition: all 0.2s;
            }

            .doctor_profile .slot:hover {
                border-color: #0085cb;
            }

            .doctor_profile .slot.active {
                background: #0085cb;
                color: white;
                border-color: #0085cb;
            }

            .doctor_profile .date-slot .day {
                font-size: 13px;
                font-weight: 500;
                margin-bottom: 2px;
            }

            .doctor_profile .date-slot .date {
                font-size: 18px;
                font-weight: 700;
            }

            .doctor_profile .time-slot {
                font-size: 14px;
                font-weight: 600;
            }

            .doctor_profile .arrow {
                position: absolute;
                top: 50%;
                transform: translateY(-50%);
                background: white;
                border: 2px solid #ddd;
                border-radius: 50%;
                width: 32px;
                height: 32px;
                display: flex;
                align-items: center;
                justify-content: center;
                cursor: pointer;
                font-size: 18px;
                color: #666;
            }

            .doctor_profile .arrow:hover {
                background: #0085cb;
                border-color: #0085cb;
                color: white;
            }

            .doctor_profile .arrow.left { left: -20px; }
            .doctor_profile .arrow.right { right: -20px; }

            .doctor_profile .book-btn,
            .doctor_profile .book-btn-raw {
                width: 100%;
                background: #e94d85;
                border: none;
                padding: 16px;
                border-radius: 8px;
                font-size: 16px;
                font-weight: 700;
                cursor: pointer;
                margin-top: auto;
                color: #fff;
            }

            .doctor_profile .book-btn-raw {
                width: 300px;
                text-align: center;
                text-decoration: none;
                margin-top: 0;
            }

            .doctor_profile .book-btn:hover,
            .doctor_profile .book-btn-raw:hover {
                background: #e94d85;
            }

            @media (max-width: 1024px) {
                .doctor_profile .card {
                    grid-template-columns: 1fr;
                }
            }
            .doctor_profile .pageHead,.loginContainer .pageHead,.selectPatientWrapper .paraHead{
                margin-bottom:50px;
            }
            .loginForm{
                margin-bottom:60px;
                padding:40px 40px 19px 40px;
                border-radius: 8px;
                margin-top:30px;
            }
            .loginForm input{
                border-radius:12px;    padding: 8px 15px;
    height: 47px;
            }
            .loginContinue{
                    border-radius: 8px;
                font-size: 14px;
                font-weight: 700;
                max-width: 190px;
                width: inherit;
            }
            .selectPatientWrapper .patient-radio {
            position: absolute;
            opacity: 0;
            }

            .selectPatientWrapper .patient-card {
                cursor: pointer;
                transition: all 0.2s ease;
                border-radius:12px;
            }

            .selectPatientWrapper .patient-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.12);
            }

            .selectPatientWrapper .patient-radio:checked + .patient-card {
            border: 2px solid #0d6efd;
            background-color: rgba(13, 110, 253, 0.06);
            }

            .selectPatientWrapper .patient-radio:checked + .patient-card::after {
            content: "✓";
            position: absolute;
            top: 12px;
            right: 14px;
            font-size: 18px;
            color: #0d6efd;
            font-weight: 700;
            }
            .patient-badge{
                    font-size: 12px;
    padding: 6px 14px;
    border-radius: 100px;
            }
            .patient-card h6{
                font-size:18px;letter-spacing:0.8px;color:#404040;
            }
            .confirmContainer .pageHead,.longProfileContainer .pageHead,.appointmentsWrapper .pageHead,.payment-wrapper .pageHead{
                margin-top:50px;margin-bottom:50px;
            }
            .note{margin-top:50px;margin-bottom:100px;text-align:right;}
            .profile-wrapper {
                position: relative;
                display: inline-block;
            }

            .profile-btn {
                background: #e74b80;
                color: #fff;
                border: none;
                padding: 8px 14px;
                cursor: pointer;
                border-radius: 8px;
                height:38px;
            }

            .profile-dropdown {
                display: none;
                position: absolute;
                right: 0;
                background: #fff;
                min-width: 180px;
                border: 1px solid #ddd;
                box-shadow: 0 4px 10px rgba(0,0,0,0.1);
                z-index: 1000;
                top:38px;
            }

            .profile-dropdown a,
            .profile-dropdown button {
                display: block;
                width: 100%;
                padding: 10px;
                text-align: left;
                border: none;
                background: none;
                text-decoration: none;
                color: #333;
                cursor: pointer;
            }

            .profile-dropdown a:hover,
            .profile-dropdown button:hover {
                background: #f2f2f2;
            }

            .logout-btn {
                font: inherit;
            }
            .profile-wrapper:hover .profile-dropdown {
                display: block;
            }
            .confirmContainer .card {
                transition: transform 0.2s ease;
            }

            .confirmContainer .btn {
                transition: all 0.3s ease;
            }

            .confirmContainer .btn:hover {
                transform: translateY(-2px);
                box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            }

            .confirmContainer .alert {
                background-color: #e7f3ff;
            }

            @media (max-width: 768px) {
                .confirmContainer .container {
                    padding-left: 15px;
                    padding-right: 15px;
                }
            }
            .btn-book{
                width:200px;
            }
            .m-50{
                margin-top:50px;
                margin-bottom:50px;
            }
            .appoitmentTable td{
                vertical-align:middle!important;
            }
            .appoitmentTable td .badge{
                font-size: 12px;
                padding: 6px 12px;
                border-radius: 100px;
            }
            .patientApptContainer .bookAppt{
                width:200px;
            }
            .hospital-modal {
                position: fixed;
                inset: 0;
                background: rgba(0,0,0,.5);
                display: flex;
                justify-content: center;
                align-items: center;
                }

                .modal-box {
                background: #fff;
                padding: 20px;
                border-radius: 8px;
                width: 350px;
            }
            .no-slots {
                padding: 20px;
                text-align: center;
                color: #777;
                font-weight: 500;
            }
            .hospital-select-box #hospitalSelect{
                height: 40px;
                font-size: 14px;
                padding: 0 12px;
            }
            form.selectForm small{
                font-weight:normal;
            }
            form.selectForm p.selectHospi{
                color:#777!important;
            }
            .longForm input,.longForm select,.shortForm input,.shortForm select{
                border-radius:12px;padding: 8px 15px;height: 47px;font-size:14px!important;
            }
            .payment-wrapper small{
                font-size:14px;
            }
            .payment-wrapper .section-title{
                font-size:14px;
            }
            .backBookAppt{
                max-width:300px;
            }
            .gotToAppt{
                width: 230px!important;
                max-width: 100%!important;
            }
            h1.pageHead{
                font-size:30px;
            }

            .lp-wrap *, .lp-wrap *::before, .lp-wrap *::after { box-sizing: border-box; }

  .lp-wrap {
    /* font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; */
    max-width: 900px;
    margin: 2rem auto 4rem;
    padding: 0 1rem;
    color: #1a1a1a;
  }

  /* Header */
  .lp-header { text-align: center; margin-bottom: 2rem; }
  .lp-header h2 { font-size: 22px; font-weight: 600; margin-bottom: 6px; }
  .lp-header p  { font-size: 14px; color: #6c757d; }
  .lp-accent-bar {
    height: 3px; border-radius: 2px;
    background: linear-gradient(90deg, #337ab7, #e74b80);
    margin-bottom: 2rem;
  }

  /* Section card */
  .lp-section {
    background: #fff;
    border: 1px solid #e2e6ea;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
  }
  .lp-section-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #f0f2f5;
  }
  .lp-icon {
    width: 36px; height: 36px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  }
  .lp-icon-blue { background: #e8f1fb; }
  .lp-icon-pink { background: #fdeef4; }
  .lp-icon-gray { background: #f0f2f5; }
  .lp-icon svg  { width: 18px; height: 18px; }
  .lp-section-head-text h3 { font-size: 15px; font-weight: 500; margin: 0 0 2px; }
  .lp-section-head-text p  { font-size: 12px; color: #6c757d; margin: 0; }

  .lp-section-body { padding: 1.5rem; }

  /* Grid */
  .lp-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
  .lp-col-3  { grid-column: span 3; }
  .lp-col-4  { grid-column: span 4; }
  .lp-col-6  { grid-column: span 6; }
  .lp-col-8  { grid-column: span 8; }
  .lp-col-12 { grid-column: span 12; }

  @media (max-width: 768px) {
    .lp-col-3, .lp-col-4, .lp-col-6, .lp-col-8, .lp-col-12 { grid-column: span 12; }
  }
  @media (min-width: 769px) and (max-width: 992px) {
    .lp-col-3 { grid-column: span 4; }
    .lp-col-4 { grid-column: span 6; }
  }

  /* Fields */
  .lp-wrap .form-label {
    display: block;
    font-size: 12px;
    color: #6c757d;
    margin-bottom: 5px;
    font-weight: 400;
  }
  .lp-wrap .form-label .req { color: #e74b80; margin-left: 1px; }

  .lp-wrap .form-control,
  .lp-wrap .form-select {
    width: 100%; height: 38px;
    padding: 0 10px;
    border: 1px solid #ced4da;
    border-radius: 7px;
    font-size: 14px;
    color: #1a1a1a;
    background: #fff;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color 0.15s, box-shadow 0.15s;
  }
  .lp-wrap .form-control:focus,
  .lp-wrap .form-select:focus {
    border-color: #337ab7;
    box-shadow: 0 0 0 3px rgba(51,122,183,0.12);
  }
  .lp-wrap .form-control[readonly],
  .lp-wrap .form-select[disabled] {
    background: #f8f9fa;
    color: #6c757d;
    cursor: not-allowed;
  }
  .lp-select-wrap { position: relative; }
  .lp-select-wrap::after {
    content: '';
    position: absolute;
    right: 10px; top: 50%;
    transform: translateY(-50%);
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #6c757d;
    pointer-events: none;
  }

  /* Submit area */
  .lp-footer { text-align: center; margin-top: 0.5rem; }
  .lp-wrap .btn-primary {
    height: 42px; padding: 0 36px;
    background: #337ab7; color: #fff;
    border: none; border-radius: 8px;
    font-size: 14px; font-weight: 500; cursor: pointer;
    transition: background 0.15s;
  }
  .lp-wrap .btn-primary:hover  { background: #2a6399; }
  .lp-wrap .btn-primary:disabled { opacity: 0.7; cursor: not-allowed; }

  /* Note */
  .lp-note {
    text-align: center;
    font-size: 13px;
    color: #6c757d;
    margin-top: 1.5rem;
  }
  .lp-note strong { color: #e74b80; }
  .mb-40{
    margin-bottom:40px!important;
  }

  /* ankita added */



@media (max-width: 992px) {
  .doctor_profile .slot {
    flex: 0 0 calc(50% - 12px);
  }
}


@media (max-width: 576px) {


    /* Right Section */
            .doctor_profile .booking-section {
                padding: 20px 30px;
            }

  .doctor_profile .slots {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 10px;
  }

  .doctor_profile .slot {
    flex: 0 0 70px;  /* fixed clean box */
    padding: 7px 4px;
    font-size: 12px;
  }

   .lp-wrap .btn-primary {
    padding: 0 16px;
  }

  .lp-wrap .form-control {
    width: 100%;
    height: 50px;             
    padding: 0px 13px;        
    font-size: 14px;
    line-height: normal;       
    box-sizing: border-box;
  }

  .lp-wrap .form-control::placeholder {
    font-size: 13px;
  }



.loginContinue {
  width: 100%;
  display: inline-block;
  height: 48px;
  font-size: 14px;
  border-radius: 8px;
  margin-top: 12px;
  text-align: center;
}
  
    .w-50 {
    width: 70% !important;
  }


.payment-section {
    display: flex;
    flex-direction: column;
  }

  .payment-section .col-md-6 {
    width: 100%;
    flex: 0 0 100%;
  }


  .payment-section form {
    justify-content: center !important;
  }

  .payment-section .loginContinue {
    width: 100%;
    height: 48px;
    font-size: 15px;
    border-radius: 10px;
  }


  .msg {
    text-align: center;
  }

  .err {
  
    text-align: center;
}
  
}
.text-white{
    color:#fff!important;
}


/* Callback Form CSS */



/* Overlay */
.callback-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.callback-modal-box {
    background: #fff;
    border-radius: 10px;
    padding: 32px 28px 24px;
    width: 100%;
    max-width: 420px;
    position: relative;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}
.callback-modal-close {
    position: absolute;
    top: 12px; right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #555;
    line-height: 1;
}
.callback-modal-box h4 {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 600;
}
.callback-subtitle {
    font-size: 13px;
    color: #666;
    margin-bottom: 18px;
}
.cb-form-group {
    display: flex;
    flex-direction: column;
}
.cb-form-group input,.cb-form-group select {
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: border .2s;
}
.cb-form-group input:focus {
    border-color: #4279cc;
}
.cb-form-group input.cb-invalid {
    border-color: #e53935;
}
.cb-error {
    font-size: 12px;
    color: #e53935;
    margin-top: 3px;
    min-height: 16px;
}
/* Captcha row */
.cb-captcha-group {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.cb-captcha-group input,.cb-captcha-group select {
    flex: 1;
    min-width: 80px;
}
.cb-captcha-group .cb-error {
    width: 100%;
}
.captcha-question {
    background: #f1f1f1;
    padding: 9px 14px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 1px;
    white-space: nowrap;
}
#refreshCaptcha {
    background: none;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 8px 10px;
    cursor: pointer;
    font-size: 16px;
    color: #555;
}
#refreshCaptcha:hover { background: #f5f5f5; }
.cb-submit-btn {
    width: 100%;
    padding: 12px;
    background: #4279cc;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 4px;
    transition: background .2s;
}
.cb-submit-btn:hover { background: #0056b3; }

/* No slots message with button */
.no-slots-callback {
    text-align: center;
    padding: 18px 10px;
    width: 100%;
}
.no-slots-callback p {
    color: #555;
    margin-bottom: 12px;
    font-weight: 500;
    font-size: 16px;
    line-height: 29px;
    top: 20px;
    position: relative;
}
.no-slots-callback .request-cb-btn {
    background: #4279cc;
    color: #fff;
    border: none;
    padding: 10px 22px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    font-weight: 600;
    position:relative;
    top:20px;
}
.no-slots-callback .request-cb-btn:hover { background: #0056b3; }
.no-slots-callback h4{
    line-height: 34px;
}
.no-slots-callback h3{
    margin-bottom:10px;
}