@import url('https://fonts.googleapis.com/css2?family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap');

body {
  font-family: "Urbanist", sans-serif;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.btn:hover, .btn:focus, input:hover, input:focus {
    box-shadow: none;
    outline: none;
}
.scrollbox{
    overflow: auto;
}
  .scrollbox::-webkit-scrollbar {
    background-color: transparent;
    width: 4px;
    height: 8px;
    border-radius: 200px;
  }


  .scrollbox:hover::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
  }

  @media (hover: none) {
    .scrollbox::-webkit-scrollbar {
      width: 5px;
      height: 8px;
      border-radius: 200px;
    }
    .table-responsive::-webkit-scrollbar-thumb {
      background-color: rgba(0, 0, 0, 0.2);
    }
  }

.login_wrapper {
  background: #DCD6FA;
  padding: 4rem 0.5rem;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.login_wrapper .white_wrapper {
  background: #fff;
  border-radius: 30px;
}

.login_wrapper .left-panel,
.login_wrapper .right-panel {
  background-color: #fff;
  width: 100%;
  padding: 22px 30px;
  min-height: 660px;
}

.login_wrapper .left-panel {
  border-top-left-radius: 25px;
  border-bottom-left-radius: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #F3F1FD;
  height: 100%;
}

.login_wrapper .illustration {
  max-width: 100%;
  height: auto;
}

.login_wrapper .right-panel {
  border-top-right-radius: 25px;
  border-bottom-right-radius: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.login_wrapper .brand {
  color: #703C7E;
  font-size: 32px;
  font-weight: 600;
}

.login_wrapper .title {
  color: #703C7E;
  font-size: 27px;
  margin-top: 50px;
  font-weight: 700;
}

.login_wrapper .subtitle {
  color: #333;
  font-size: 20px;
  margin-bottom: 32px;
  font-weight: 500;
  max-width: 370px;
}

.login_wrapper .label {
  font-size: 16px;
  margin-bottom: 0;
  display: block;
  color: #333;
  font-weight: 600;
  margin-top: 22px;
}

.login_wrapper .input {
    width: 100%;
    padding: 8px 10px 8px;
    margin-bottom: 15px;
    border: none;
    border-bottom: 1.5px solid #F1EAFF;
    outline: none;
    font-size: 16px;
    font-weight: 500;
    color: #703C7E;
}

.login_wrapper .input:focus {
  border-bottom-color: #703C7E;
}

.login_wrapper .password-wrapper {
  position: relative;
}

.login_wrapper .eye-icon {
    position: absolute;
    right: 1px;
    top: 1px;
    cursor: pointer;
    font-size: 18px;
    color: #703C7E;
    width: 40px;
    height: 39px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login_wrapper .forgot-password {
  font-size: 16px;
  color: #703C7E;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 20px;
  border-bottom: 1px solid;
}

.login_wrapper .sign-in-btn {
  padding: 16px;
  background-color: #703C7E;
  color: #fff;
  border: none;
  font-size: 18px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-weight: 600;
  display: inline-block;
  width: 280px;
  margin-top: 25px;
}

.login_wrapper .signup {
  font-size: 16px;
  margin-bottom: 26px;
  margin-top: 40px;
}

.login_wrapper .signup-link {
  color: #703C7E;
  text-decoration: none;
  font-weight: 700;
  text-decoration: underline;
}

.dashboard_page_ui aside {
    width: 240px;
    background: #fff;
    border-right: 1px solid #eee;
    position: relative;
    transition: all 0.3s ease;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 99;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-height: 100vh;
    overflow-y: auto;
}
.menu_scrollbar {
    padding-left: 15px;
    padding-right: 15px;
}
.dashboard_page_ui .logo {
    border-bottom: 1px solid #EAE2EC;
    padding-bottom: 15px;
    min-height: 63px;
    margin-bottom: 20px;
    padding: 0 15px;
    display: flex;
    align-items: center;
    position: sticky;
    z-index: 99;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    transition: all 0.3s ease;
}

.dashboard_page_ui .logo img {
    max-width: 68px;
}
.dashboard_page_ui .nav-link {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 16px;
    color: #000;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.dashboard_page_ui .nav-link.active {
  background: #eae2ec;
  padding: 10px 15px;
  font-weight: 600;
  color: #703C7E;
      transition: all 0.3s ease;
}
.dashboard_page_ui .nav-link:hover {
  background: #eae2ec;
    color: #703C7E;
    transition: all 0.3s ease;
}

.dashboard_page_ui .hamburger {
    cursor: pointer;
    padding: 0;
    background: #ffffff;
    position: relative;
    width: 25px;
    height: 25px;
}

.dashboard_page_ui header {
    padding: 14px 0px;
    background: #fff;
    border-bottom: 1px solid #EAE2EC;
    margin-left: 240px;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99;
    transition: all 0.3s ease;
}
.copyright_text {
    margin: 0;
    color: #777777;
    font-size: 12px;
    padding: 15px;
}
.dashboard_page_ui main {
    position: relative;
}

.dashboard_page_ui .dashboard-header {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 14px;
    color: #703C7E;
}

.dashboard_page_ui .cards {
    display: flex;
    margin-bottom: 0px;
    flex-wrap: wrap;
    margin-left: -8px;
    margin-right: -8px;
}
.dashboard_page_ui .cards .spacer {
    width: 25%;
    padding: 10px;
    padding-top: 0;
    padding-bottom: 20px;
}
.dashboard_page_ui .card {
    border-radius: 16px;
    padding: 15px;
    box-shadow: 0 0px 10px rgba(0, 0, 0, 0.07);
    border: 1px solid #fff;
    height: 100%;
}

.dashboard_page_ui .card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.dashboard_page_ui .section-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
    border-bottom: 1px dashed #DEE1EB;
    padding-bottom: 12px;
    align-items: center;
    flex-wrap: wrap;
    padding:10px 16px 10px 20px;
}

.dashboard_page_ui .section table {
  width: 100%;
  border-collapse: collapse;
}

.dashboard_page_ui .section th, .dashboard_page_ui .section td {
    padding: 12px 10px;
    border-bottom: 1px solid #F3EEFC;
    font-size: 15px;
    text-align: left;
    white-space: nowrap;
}

.dashboard_page_ui .badge {
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 12px;
  color: #fff;
}

.dashboard_page_ui .badge.ongoing {
  background: #f1c40f;
  color: #000;
}

.dashboard_page_ui .badge.pending {
  background: #f1c40f;
  color: #000;
}

.dashboard_page_ui .badge.completed {
  background: #2ecc71;
}

.dashboard_page_ui .badge.cancelled {
  background: #e74c3c;
}

.dashboard_page_ui .badge.active {
  background: #2ecc71;
}

.dashboard_page_ui .badge.pending {
  background: #f39c12;
  color: #000;
}

.dashboard_page_ui .badge.inactive {
  background: #bdc3c7;
}

.dashboard_page_ui footer {
  text-align: center;
  padding: 10px;
  font-size: 12px;
  color: #888;
}
.dashboard_content {
    background: #F3F4F6;
    min-height: calc(calc(100vh * .9999) - 63px);
    max-height: calc(calc(100vh * .9999) - 63px);
    overflow-y: auto;
    padding-left: 242px;
    padding-top: 14px;
    transition: all 0.3s ease;
}
.header-links {
    display: flex;
    align-items: center;
}
.header-links > li {
   margin-left: 15px;
}
.dashboard_page_ui .nav-link img {
    margin-right: 8px;
}
.portal-text {
    color: #6A5A64;
    font-size: 12px;
    text-decoration: underline;
}
.dashboard_page_ui .cards .card h3 {
    margin-bottom: 0;
    font-size: 26px;
    font-weight: 600;
}

.dashboard_page_ui .cards .card p {
    margin: 0;
    font-size: 14px;
    color: #777777;
}

.dashboard_page_ui .cards .card  .icon {
    margin-right: 13px;
}

.dashboard_page_ui .cards .card .count_text {
    font-size: 14px;
    color: #777777;
    margin-top: 10px;
}
.dashboard_page_ui .cards .card .count_text span {
    font-weight: 700;
    color: #00B8F2;
}
.dashboard_page_ui .cards .card .icon img {
    min-width: 50px;
    max-width: 50px;
    width: 50px;
}

.dashboard_page_ui .total_appointments_box {
    background: linear-gradient(90deg, #fff 8%, #F2EDFC 92%);
}
.dashboard_page_ui .background_checks_box {
    background: linear-gradient(90deg, #fff 8%, #EBF0FD 92%);
}
.dashboard_page_ui .earned_total_box {
    background: linear-gradient(90deg, #fff 8%, #E8F6ED 92%);
}

.dashboard_page_ui .cards .card.total_customer_box .count_text span {
    color: #00B8F2;
}

.dashboard_page_ui .cards .card.total_appointments_box .count_text span {
    color: #703C7E;
}
.dashboard_page_ui .cards .card.background_checks_box .count_text span {
    color: #487FFF;
}

.user-profile .username_email_text {
  display: flex;
  flex-direction: column;
}
.user-profile:hover {
  cursor: pointer;
}

.user-profile .user-name {
    font-size: 16px;
    font-weight: 600;
    color: #000000;
    padding-left: 8px;
    line-height: 18px;
}

.user-profile .email_text {
    font-size: 14px;
    font-weight: 400;
    color: #777777;
    padding-left: 8px;
    line-height: 16px;
    padding-right: 0px;
}
.user-profile .dropdown-item {
    font-size: 14px;
}
.user-profile .dropdown-item:hover {
    background:#703C7E;
    color: #fff;
    border-radius: 8px;
}
.user-profile .dropdown-menu {
    padding: 5px;
}
.custom_container {
    max-width: 1520px;
    transition: all 0.3s ease;
    padding: 0 15px;
}
.section {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    margin-bottom: 20px;
}

.section-title h2 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.section-subtitle {
    font-size: 14px;
    color: #6b7280;
    font-weight: 400;
    margin-bottom: 4px;
}

.view-all-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #EAE2EC;
    border: none;
    border-radius: 12px;
    padding: 9px 15px;
    font-size: 15px;
    font-weight: 600;
    color: #703C7E;
    cursor: pointer;
    transition: all 0.2s ease;
}

.view-all-btn:hover {
    background: #e5e7eb;
}

.eye-icon {
    width: 18px;
    height: 18px;
    color: #703C7E;
}

.table-container {

    overflow-x: auto;
}
.table_spacer {
    padding: 0 18px 24px 18px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

thead {
    background: #F3EEFC;
}

th {
    text-align: left;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 600;
    color: #703C7E;
    border-bottom: 1px solid #e5e7eb;
    white-space: nowrap;
}

td {
    padding: 16px;
    font-size: 16px;
    color: #374151;
    border-bottom: 1px solid #f3f4f6;
    vertical-align: top;
    white-space: nowrap;
}

tr:last-child td {
    border-bottom: none;
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    margin-bottom: 15px;
}

.status-badge.ongoing {
    background: #fef3c7;
    color: #92400e;
}

.status-badge.pending {
    background: #fef3c7;
    color: #92400e;
}
.status-badge .upcoming{
    background: #EDDEE9;
    color: #8A226F;
}

.status-badge.completed {
    background: #dbeafe;
    color: #1e40af;
}

.status-badge.cancelled {
    background: #fecaca;
    color: #dc2626;
}

.status-badge.active {
    background: #d1fae5;
    color: #065f46;
}

.status-badge.pending {
    background: #fef3c7;
    color: #92400e;
}

.status-badge.inactive {
    background: #f3f4f6;
    color: #6b7280;
}

.action-icons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.action-icon {
    width: 16px;
    height: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.action-icon.eye {
    color: #3b82f6;
}

.action-icon.download {
    color: #10b981;
}

.action-icon.delete {
    color: #ef4444;
}

.action-icon:hover {
    opacity: 0.7;
    transform: scale(1.1);
}



/* Table specific adjustments */
.appointments-table th:first-child,
.background-checks-table th:first-child,
.appointments-table td:first-child,.background-checks-table td:first-child {
    width: 60px;
    text-align: center;
}


.appointments-table th:nth-child(2),
.background-checks-table th:nth-child(3) {
    width: 140px;
}

.appointments-table th:nth-child(3),
.background-checks-table th:nth-child(4) {
    width: 140px;
}

.appointments-table th:nth-child(4) {
    width: 160px;
}

.appointments-table th:nth-child(5) {
    width: 140px;
}

.appointments-table th:nth-child(6) {
    width: 100px;
}

.appointments-table th:nth-child(7) {
    width: 100px;
}

.appointments-table th:nth-child(8),
.background-checks-table th:nth-child(7) {
    width: 160px;
}

.background-checks-table th:nth-child(2) {
    width: 120px;
}

.background-checks-table th:nth-child(5) {
    width: 200px;
}

.background-checks-table th:nth-child(6) {
    width: 140px;
}
.hamberger_close_btn {
   display: none;
}


.action-icons a.btn {
    padding: 0;
    width: 32px;
    height: 32px;
    box-shadow: none;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.action-icons .btn img {
    width: 18px;
}

.action-icons .view_btn {
    background: #F3EEFC;
      transition: all 0.3s ease;
}

.action-icons .qr_btn {
    background: #B1D6FF;
      transition: all 0.3s ease;
}

.action-icons .delete_btn {
    background: #FFC3C0;
      transition: all 0.3s ease;
}
.action-icons .view_btn:hover {
    background: #734181;
      transition: all 0.3s ease;
}
.action-icons .qr_btn:hover {
    background: #5E99D9;
      transition: all 0.3s ease;
}
.action-icons .delete_btn:hover {
    background: #C94B47;
      transition: all 0.3s ease;
}
.action-icons .btn:hover img {
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}
.user-profile .carret_icon {
    margin-left: 10px;
}
.searchbar_top input {
    border: 1px solid #DCD2DE;
    background: #EFECEF;
    border-radius: 10px;
    box-shadow: none;
    padding: 3px 10px 3px 32px;
    box-shadow: none;
    outline: none;
}

.searchbar_top {
    position: relative;
    margin-top: 8px;
    margin-bottom: 8px;
}

.searchbar_top a {
    position: absolute;
    top: 1px;
    left: 1px;
    bottom: 1px;
    z-index: 2;
    background: #efecef;
    border-radius: 10px;
    width: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.searchbar_top a img {
    width: 15px;
}

 .small_selectbox .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 33px;
    width: 30px;
}
.small_selectbox .select2-selection__rendered {
    font-size: 15px;
    font-weight: 500;
}

.small_selectbox .select2-selection--single {
    color: #B7B7B7;
    border-radius: 8px !important;
    padding: 2px 0;
    height: auto !important;
}
.select2-container {
    width: auto !important;
}
.small_selectbox .select2-results__option--selectable {
    cursor: pointer;
    white-space: nowrap;
}
.select2-dropdown.select2-dropdown--below, .select2-dropdown.select2-dropdown--above {
    width: auto !important;
    white-space: nowrap;
    border: 1px solid #d5d5d5!important;
}
.select2-container--open .select2-dropdown {
    left: 0;
    width: auto !important;
    white-space: nowrap;
}
.small_selectbox .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #000000 transparent transparent transparent;
    border-width: 7px 6px 0 6px;
}
.small_selectbox .select2-container .select2-selection--single .select2-selection__rendered {
    padding-right: 30px;
}
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: #703C7E!important;
}

.pagination {
  margin-left: auto;
}

.result_count_text {
    font-size: 14px;
    padding-top: 7px;
}
.result_count_text span {
    font-weight: 600;
}
.pagination .page-link {
    border: 1px solid #F3EEFC;
}

.pagination .page-item.active .page-link {
    background: #703c7e;
    border-color: #703c7e;
    color: #fff;
    font-weight: 600;
}
.pagination .page-item .page-link:hover {
    background:#8c509d;
    border-color: #8c509d;
    color: #fff;
}
.pagination .page-item .page-link:hover img {
   filter: brightness(0) invert(1);
}
.pagination .page-item .page-link {
    box-shadow: none;
    color: #000;
}
.page-item:first-child .page-link {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}
.page-item:last-child .page-link {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.profile-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 20px;
    padding-bottom: 40px;
}

.profile-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    padding: 18px 22px 0;
    margin-bottom: 18px;
}

.profile-content {
    display: grid;
    grid-template-columns: 220px 1fr 1fr;
    gap: 32px;
    padding: 0 32px 32px;
    align-items: start;
}

/* Profile Image Section */
.profile-image-section {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.profile-image {
    width: 240px;
    height: 240px;
    border-radius: 0;
    object-fit: cover;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

/* Customer Details Section */
.customer-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}

.customer-name {
    background: #F3EEFC;
    padding: 12px 25px;
    border-radius: 3px;
    margin-bottom: 8px;
    display: inline-block;
}

.name-label {
    font-size: 16px;
    font-weight: 700;
    color: #703C7E;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.info-item .icon img {
    min-width: 30px;
}
.info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact-info .icon {
    font-size: 16px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.email-icon {
    color: #6b7280;
}

.location-icon {
    color: #6b7280;
}

.gender-icon {
    color: #6b7280;
}

.info-text {
    font-size: 16px;
    color: #374151;
    line-height: 1.5;
    font-weight: 500;
}

/* Medical Information Section */
.medical-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.medical-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.medical-question {
    font-size: 17px;
    font-weight: 600;
    color: #2A2A2A;
    margin-bottom: 4px;
}

.medical-answer {
    font-size: 16px;
    color: #6D387C;
    font-weight: 500;
    margin: 0;
}


/* Hover Effects */
.profile-card {
    transition: box-shadow 0.3s ease;
}

.profile-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.profile-image {
    transition: transform 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.02);
}

.info-item {
    transition: background-color 0.2s ease;
    padding: 6px 5px;
    border-radius: 6px;
}

.medical-item {
    transition: background-color 0.2s ease;
    padding: 12px;
    border-radius: 8px;
    margin: -12px;
}
 .btn-dark.back_btn {
    border-radius: 12px;
    font-size: 15px;
    margin-bottom: 20px;
    margin-top: 1px;
}

.btn-dark.back_btn img {
    margin-right: 7px;
    position: relative;
    top: -2px;
}
.distance_modal_btn img {
    min-width: 24px;
    position: relative;
    top: -1px;
}
.status-badge.upcoming {
    background: #E6DBFF;
    color: #6141AC;
}


/* Custom CSS for Booking Modal */

.booking-modal {
    border-radius: 20px;
    overflow: hidden;
    border: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    max-width: 660px;
    position: relative;
    margin: 0 auto;
}
.btn-close-custom {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #666;
    transition: all 0.3s ease;
}

.map-section {
    height: 100%;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    background-image: linear-gradient(90deg, rgba(200, 200, 200, 0.1) 1px, transparent 1px), linear-gradient(rgba(200, 200, 200, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    position: relative;
    overflow: hidden;
}



.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.8) 100%);
}

.content-section {
    background: #ffffff;
    padding: 20px 20px 20px;
}

.provider-name {
    font-size: 20px;
    font-weight: 600;
    color: #703C7E;
    margin-bottom: 5px;
    line-height: 1.2;
}

.service-description {
    color: #000000;
    font-size: 16px;
    margin-bottom: 25px;
    font-weight: 400;
}

.provider-details {
    display: flex;
    align-items: flex-start;
    gap: 21px;
    margin-bottom: 25px;
}

.provider-avatar {
    flex-shrink: 0;
    position: relative;
}

.avatar-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e8f4fd;
}

.details-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #000000;
    font-weight: 600;
}

.detail-item i {
    color: #95a5a6;
    width: 16px;
    font-size: 14px;
}

.rating-item {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #f8f9fa;
    padding: 0px 8px;
    border-radius: 15px;
    width: fit-content;
    border: 1px solid #bdbdbd;
    position: absolute;
    bottom: -11px;
}

.rating-score {
    font-weight: 600;
    color: #000000;
    font-size: 15px;
}

.rating-item i {
    color: #f39c12;
    font-size: 12px;
}

.location-info {
    margin-bottom: 0px;
}

.location-title {
    font-size: 18px;
    font-weight: 600;
    color: #703C7E;
    margin-bottom: 5px;
}

.location-address {
    color: #2A2A2A;
    font-size: 16px;
    margin: 0;
    line-height: 1.4;
}

.price-section {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    height: 100%;
}

.price-info {
    text-align: right;
    margin-bottom: 15px;
}

.price-amount {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: #703C7E;
    line-height: 1;
    margin-bottom: 5px;
}

.price-label {
    font-size: 14px;
    color: #2A2A2A;
    font-weight: 500;
    line-height: 1.2;
}


.status-text {
    background: #C1E6CE;
    color: #6141AC;
    padding: 13px 24px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    display: inline-block;
}

.btn-cancel {
    color: #2D2D2D;
    border: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto;
    text-decoration: underline;
}
.nurse-info-card {
    width: 300px;
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    position: absolute;
    border: 1px solid #eee;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%);
    transition: 0.2s all;
    visibility: hidden;
    opacity: 0;
}
.appointment_map:hover .nurse-info-card {
    visibility: visible;
    opacity: 1;
    transition: 0.2s all;
    bottom: 65px;
}
.nurse-info-card::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 10px 10px 0;
  border-style: solid;
  border-color: #fff transparent transparent;
}

.nurse-card-header .nurse-card-name {
  font-weight: bold;
  color: #7f3f98;
  font-size: 18px;
}

.nurse-card-header .nurse-card-status {
  font-size: 14px;
  color: #2D2D2D;
  margin-top: 2px;
  font-weight: 500;
}

.nurse-card-body {
  display: flex;
  margin-top: 12px;
  align-items: center;
}

.nurse-card-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: 12px;
}

.nurse-card-avatar {
  width: 40px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.nurse-card-rating {
  font-size: 14px;
  margin-top: 0;
  color: #333;
  border: 1px solid #a5a5a5;
  padding: 0 7px;
  border-radius: 200px;
  position: relative;
  top: -9px;
  background: #fff;
}

.nurse-card-rating i {
  color: gold;
  margin-left: 3px;
}

.nurse-card-right .nurse-card-info {
  font-size: 13px;
  color: #333;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.nurse-card-right .nurse-card-info i {
  color: #7f3f98;
  margin-right: 6px;
}

.nurse-card-footer {
  margin-top: 7px;
}

.nurse-card-client-name {
  color: #7f3f98;
  font-weight: bold;
  font-size: 16px;
}

.nurse-card-client-address {
  color: #2d2d2d;
  font-size: 14px;
  margin-top: 2px;
  line-height: 1.3;
}

.nurse-card-bottom {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nurse-card-instruction-btn {
    background: #F1EAFF;
    border: none;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    color: #2d2d2d;
    width: 100%;
    margin-right: 8px;
}

.nurse-card-call-icon {
  width: 32px;
  height: 32px;
  background: #f5f2f8;
  border-radius: 50%;
  color: #7f3f98;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.appointment_map {
    position: absolute;
    left: 20%;
    top: 60%;
}

/* Animation for modal */
.modal.fade .modal-dialog {
    transform: scale(0.8) translateY(-50px);
    transition: all 0.3s ease;
}

.modal.show .modal-dialog {
    transform: scale(1) translateY(0);
}

/* Custom scrollbar for modal content */
.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.price-section .status-badge {
    padding-right: 0;
}
.booking-info .detail-item span {
    color: #703c7e;
}

.user_rating {
    display: flex;
    gap: 1px;
}
.total_rating_text {
    font-weight: 600;
    margin-left: 5px;
    margin-top: 2px;
}

.document_list {
    display: flex;
    gap: 5px;
    align-items: center;
    flex-wrap: wrap;
}
.medical-item img {
    width: 44px;
    min-width: 44px;
}
.doc_uploded_with_text img {
    width: 30px;
    min-width: 30px;
}
.document_list li {
    margin-right: 12px;
}
.doc_uploded_with_text a {
    color: #703C7E;
    font-weight: 600;
    margin-left: 4px;
}
.doc_uploded_with_text.document_list img {
    width: 44px;
}


/* Header Section */
.service-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-radius: 0 !important;
    border: none;
    background: transparent;
    padding: 0;
}

.profile-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.profile-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}
.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-name {
    font-size: 20px;
    font-weight: 700;
    color: #703C7E;
}

.card-header .status-badge {
    background: transparent;
    padding: 0;
    border-radius: 20px;
}

.status-text {
    color: #155724;
    font-size: 14px;
    font-weight: 600;
}

/* Service Information */
.service-info {
    margin-bottom: 25px;
    border-bottom: 1px solid #E8E8E8;
    border-top: 1px solid #E8E8E8;
    padding: 14px 10px;
}

.service-title {
    margin-bottom: 15px;
}

.service-label {
    color: #703C7E;
    font-size: 20px;
    font-weight: 600;
}

.service-dash {
    color: #8e44ad;
    font-size: 16px;
    font-weight: 600;
    margin: 0 8px;
}

.service-name {
    color: #2c3e50;
    font-size: 16px;
    font-weight: 400;
}

.service-details {
    display: flex;
    gap: 20px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #2D2D2D;
    font-size: 16px;
}

.detail-item i {
    color: #8e44ad;
    font-size: 14px;
    width: 16px;
}

/* Location Section */
.location-section {
    position: relative;
    padding-left: 41px;
}

.location-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 68px;
}

.location-item:last-child {
    margin-bottom: 0;
}

.location-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    margin-left: 2px;
}

.start-location .location-icon i {
    color: #8e44ad;
    font-size: 16px;
}

.end-location .location-icon i {
    color: #8e44ad;
    font-size: 16px;
}

.location-details {
    flex: 1;
    padding-bottom: 17px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.location-label {
    font-size: 14px;
    font-weight: 600;
    color: #2D2D2D;
    margin-bottom: 2px;
    margin-right: 14px;
    white-space: nowrap;
}

.location-address {
    font-size: 14px;
    color: #2D2D2D;
    line-height: 1.4;
}

/* Route Visualization */
.route-section {
    position: absolute;
    left: 48px;
    top: 25px;
    bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.route-line {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
}

.route-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #8e44ad;
    z-index: 2;
}

.start-dot {
    margin-bottom: 4px;
}

.end-dot {
    margin-top: 4px;
}

.route-path {
    flex: 1;
    width: 2px;
    background: #8e44ad;
    margin: 0;
}

.route-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    margin-left: 0;
    position: relative;
    left: -60px;
}

.route-duration {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1;
}

.route-unit {
    font-size: 12px;
    color: #5a6c7d;
    line-height: 1;
}

.route-distance {
    font-size: 14px;
    color: #5a6c7d;
    margin-top: 4px;
    line-height: 1;
    position: absolute;
    left: 68px;
    white-space: nowrap;
    font-style: italic;
}



/* Animation for route line */
@keyframes drawLine {
    from {
        height: 0;
    }
    to {
        height: 100%;
    }
}

.route-path {
    animation: drawLine 1s ease-in-out;
}




    .card-box {
      width: 100%;
      border: 1px solid #ddd;
      border-radius: 10px;
      padding:0px;
      font-family: 'Arial', sans-serif;
      background: #fff;
      box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
    }

 .card-box .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    border-bottom: 1px solid #CECECE;
    margin: 0;
    padding: 12px 0;
}
.calendor_filled_icon {
    margin-right: 10px;
}
   .card-box .icon-text {
      display: flex;
      align-items: center;
      flex: 1;
      color: #333;
    }

   .card-box .icon-text i {
      font-size: 20px;
      color: #7f3f98;
      margin-right: 10px;
    }

    .card-box .text small {
      display: block;
      font-size: 12px;
      color: #999;
      margin-bottom: 2px;
    }

  .card-box .date-input {
    font-size: 17px;
    font-weight: 500;
    border: none;
    outline: none;
    background: transparent;
    width: 100%;
    color: #333;
}

    .card-box .swap-icon {
      width: 32px;
      height: 32px;
      background: #7f3f98;
      color: #fff;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 14px;
      margin-left: 10px;
      cursor: pointer;
    }

.card-box .address-input {
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
    color: #2A2A2A;
    width: 100%;
    line-height: 1.4;
    font-weight: 500;
}

.settings-container {
      max-width: 400px;
      padding-left: 40px;
      padding-top: 30px;
    }

    .settings-container h2 {
      font-size: 18px;
      margin-bottom: 20px;
    }

    .profile-img-wrapper {
      position: relative;
      width: 100px;
      height: 100px;
      margin-bottom: 30px;
    }

    .profile-img-wrapper img {
      width: 100px;
      height: 100px;
      border-radius: 50%;
      object-fit: cover;
    }

    .edit-icon {
      position: absolute;
      bottom: 0;
      right: 0;
      background-color: #6b3074;
      color: white;
      width: 28px;
      height: 28px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 14px;
      cursor: pointer;
    }

    .form-group {
      margin-bottom: 25px;
    }

    .form-group label {
      display: block;
      font-size: 14px;
      margin-bottom: 5px;
    }

    .form-group input {
      width: 100%;
      border: none;
      border-bottom: 2px solid #6b3074;
      padding: 8px 4px;
      font-size: 14px;
      outline: none;
      color: #6b3074;
    }

    .save-btn {
      background-color: #6b3074;
      color: white;
      border: none;
      padding: 10px 20px;
      font-size: 14px;
      border-radius: 4px;
      cursor: pointer;
    }

    #profileInput {
      display: none;
    }
    .map_box {
    width: 100%;
    height: auto;
    }
    .map_box img {
    width: 50px;
}



.filter-sidebar {
  position: absolute;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100%;
  background-color: #fff;
  box-shadow: -2px 0 8px rgba(0,0,0,0.1);
  transition: right 0.3s ease;
  z-index: 1000;
}

.filter-sidebar.active {
  right: 0;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #EAE2EC;
    padding: 20px;
}
#closeFilterBtn {
  font-size: 24px;
  border: none;
  background: none;
  cursor: pointer;
}
.filter-header h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}
.filter-body{
    padding: 20px;
}

.apply_btn {
    width: 100%;
    background: #703C7E;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 12px;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    min-width: 100px;
    width: 100%;
    margin-top: 20px;
}

.pin_profile_icon {
    max-width: 48px;
}
.pin_maker {
    width: 60px;
    position: relative;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nurse-card-rating img {
    max-width: 13px;
    position: relative;
    top: -2px;
}

.nurse-card-right .nurse-card-info img {
    max-width: 19px;
    margin-right:8px
}
.nurse-card-right .nurse-card-info span {
    font-weight: 600;
}
.order-card {
    max-width: 100%;
    padding: 20px 24px;
    color: #333;
    border-bottom: 1px solid #F1EAFF;
}
.order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.order-id span {
    font-size: 16px;
    color: #703C7E;
    display: block;
    font-weight: 600;
}

.order-id strong {
  font-size: 16px;
  color: #333;
  font-weight: 600;
}

.order-status {
  background-color: #e5ddfb;
  color: #5c3ebd;
  font-size: 13px;
  padding: 5px 12px;
  border-radius: 12px;
  font-weight: 500;
}

.order-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.order-user {
    margin-bottom: 16px;
    flex-wrap: wrap;
    display: flex;
    gap: 15px;
}

.user-phone .icon img {
    width: 16px;
    position: relative;
    top: -1px;
}
.user-block {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-grow: 1;
}
.user-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #ddd;
}

.user-label {
    font-size: 16px;
    color: #703C7E;
    display: block;
    font-weight: 600;
}
.user-name {
    font-size: 16px;
    font-weight: 400;
    color: #2D2D2D;
}

.user-phone {
    font-size: 14px;
    color: #2d2d2d;
    font-weight: 500;
}

.order-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  row-gap: 26px;
  column-gap: 24px;
}

.info-block .info-label {
    font-size: 16px;
    color: #703C7E;
    display: block;
    padding-bottom: 6px;
    font-weight: 600;
}

.info-block .info-value {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}
.time {
    color: #703c7e;
    font-weight: 400;
    margin-left: 4px;
}

.appointment_detail_box {
    background: #FCFBFD;
    border: 1px solid #703C7E;
    border-radius: 12px;
    overflow: hidden;
}
.info-value .bold {
    font-weight: 600;
}
.info-value .icon img {
    margin-right: 2px;
}

.order-card .location-item:last-child {
    position: relative;
    top: 25px;
}






































































@media only screen and (min-width:992px) {
.collapse_sidebar .dashboard_page_ui aside {
    width: 80px;
    transition: all 0.3s ease;
}

.collapse_sidebar .dashboard_page_ui .nav-link {
    font-size: 10px;
    flex-flow: column;
    text-align: center;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    padding: 10px 2px;
}
.collapse_sidebar .menu_scrollbar {
    padding-left: 5px;
    padding-right: 5px;
        transition: all 0.3s ease;
}
.collapse_sidebar .dashboard_page_ui .nav-link img {
    margin-right: 0px;
    margin-bottom: 4px;
        transition: all 0.3s ease;
}
.collapse_sidebar .copyright_text {
    font-size: 6px;
    padding: 5px 5px;
    transition: all 0.3s ease;
}
.collapse_sidebar .dashboard_page_ui .logo {
    padding: 0 5px;
     transition: all 0.3s ease;
}
.collapse_sidebar .dashboard_page_ui header {
    margin-left: 80px;
         transition: all 0.3s ease;
}

.collapse_sidebar .dashboard_content {
    padding-left: 82px;
    transition: all 0.3s ease;
}
.collapse_sidebar .custom_container {
    max-width: 1680px;
    transition: all 0.3s ease;
}
.collapse_sidebar .dashboard_page_ui .hamburger:before {
    position: absolute;
    content: "";
    left: 10px;
    height: 22px;
    top:2px;
    width: 2px;
    background: black;
    transform: rotate(45deg);
    transition:0.3s all;
}
.collapse_sidebar .dashboard_page_ui .hamburger:after {
    position: absolute;
    content: "";
    left: 10px;
    height: 22px;
    width: 2px;
        top:2px;
    background: black;
    transform: rotate(-45deg);
    transition:0.3s all;
}

.collapse_sidebar .dashboard_page_ui .hamburger img {
    opacity: 0;
      transition:0.3s all;
}
.collapse_sidebar .dashboard_page_ui .nav-link span {
   font-size: 0px;
   transition: 0.2s all;
}
}



@media only screen and (max-width:1120px) {
  .dashboard_page_ui .cards .spacer {
    width: 50%;
}

}



@media (max-width: 1024px) {
    .profile-content {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .profile-image-section {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    .profile-image {
        width: 200px;
        height: 200px;
    }
}


@media only screen and (max-width:991px) {
.dashboard_page_ui aside {
    transition: all 0.3s ease;
    transform: translate(-100%, 0px);
}
.dashboard_page_ui header {
    margin-left: 0;
    transition: all 0.3s ease;
}
.dashboard_content {
    padding-left: 0;
    transition: all 0.3s ease;
}
.collapse_sidebar .dashboard_page_ui aside {
  transition: all 0.3s ease;
  transform: translate(0%, 0px);
  z-index: 999;
}
body.collapse_sidebar {
    overflow: hidden;
    position: relative;
}

body.collapse_sidebar .menu_overlay_div {
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 110;
    transition: 0.2s all;
}

  .menu_overlay_div:before {
        position: absolute;
        content: "";
        left: -100px;
        height: 22px;
        top: 18px;
        width: 2px;
        background: #ffffff;
        transform: rotate(45deg);
        transition: 0.3s all;
    }
.menu_overlay_div:after {
  position: absolute;
        content: "";
        left: -100px;
        height: 22px;
        top: 18px;
        width: 2px;
        background: #ffffff;
        transform: rotate(-45deg);
        transition: 0.3s all;
}

 .collapse_sidebar .menu_overlay_div:before {
        left: 264px;
        transition: 0.3s all;
    }
.collapse_sidebar .menu_overlay_div:after {
        left: 264px;
        transition: 0.3s all;
}
 #bookingModal .modal-dialog {
    max-width: 95%;
}

.map-section iframe {
    min-height: 600px;
    height: 600px;
}


}


@media only screen and (max-width:767px) {
  .login_wrapper {
    padding: 3rem 0.5rem;
  }

  .login_wrapper .sign-in-btn {
    width: 100%;
  }

  .login_wrapper .left-panel, .login_wrapper .right-panel {
    min-height: 600px;
    border-radius: 30px;
  }
  .price-section .status-badge {
    padding-left: 0;
}


    .dashboard_page_ui .section-header {
        flex-direction: column;
        align-items: stretch;
    }

    .view-all-btn {
        align-self: flex-end;
    }


    th, td {
        padding: 8px 12px;
        font-size: 16px;
    }

    .section-title h2 {
        font-size: 20px;
    }

      .profile-title {
        padding: 20px 24px 0;
        font-size: 22px;
    }

    .profile-content {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 24px 24px;
    }

    .profile-image {
        width: 180px;
        height: 180px;
    }

    .customer-details,
    .medical-info {
        gap: 20px;
    }

    .medical-item {
        gap: 6px;
    }

        .booking-modal {
        margin: 10px;
        max-width: calc(100vw - 20px);
    }

    .content-section {
        padding: 20px;
    }

    .provider-details {
        flex-direction: column;
        gap: 15px;
    }

    .details-grid {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 15px;
    }

.price-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    height: 100%;
}

    .price-info {
        text-align: left;
        width: 100%;
    }

    .status-badge {
        margin-bottom: 15px;
    }

    .btn-cancel {
        width: 100%;
    }
}


@media only screen and (max-width:650px) {
.nurse-info-card {
    width: 230px;
}
}

@media only screen and (max-width:575px) {
    .dashboard_page_ui .cards .spacer {
        width: 100%;
    }
    .user-profile .user-name {
    font-size: 14px;
}
.user-profile .email_text {
    font-size: 12px;
}


    .provider-name {
        font-size: 20px;
    }

    .price-amount {
        font-size: 28px;
    }

    .content-section {
        padding: 15px;
    }

    .details-grid {
        flex-direction: column;
        gap: 8px;
    }

  }


  @media (max-width: 480px) {
    .container {
        padding: 12px;
    }

    .profile-title {
        padding: 16px 20px 0;
        font-size: 20px;
    }

    .profile-content {
        padding: 0 20px 20px;
        gap: 20px;
    }

.profile-image {
        width: 100%;
        height: 100%;
    }
    .customer-name {
        padding: 10px 14px;
    }


    .card-header {
        margin-bottom: 16px;
        padding-bottom: 12px;
    }

    .profile-name {
        font-size: 16px;
    }

    .service-details {
        flex-direction: column;
        gap: 8px;
    }

    .route-info {
        margin-left: 8px;
    }
    .order-info {
    display: flex;
    flex-direction: column;
}
.order-card .location-section {
    padding-left: 24px;
}
.order-card .route-info {
    left: -69px;
}
.order-card .route-section {
    left: 31px;
}
}








