/* Define color variables */
:root {
    --primary-color: #038164;
    --primary-dark: #004938;
    --primary-light: #32aa8e;
    /* 0.3 opacity of primary color */
    --primary-color-3: rgba(3, 129, 100, 0.3);
    --gray-color: #6b6b6b;
    --light-gray-color: #f9f9f9;
    --black: #212529;
    --white: #ffffff;
    --text-black: #212529;
    --text-gray: #414141;
    --primary-green: ##00a86b;
    --dark-green: #025833;
    --light-green: #e8f5e9;
    --success: #4031a3;
    --warning: #ff9800;
    --danger: #f44336;

    --card-gradient-1: linear-gradient(170deg, #6001f8 0%, #068117 100%);
    --card-gradient-2: linear-gradient(170deg, #b4ec51 0%, #429321 100%);
    --card-gradient-3: linear-gradient(170deg, #c86dd7 0%, #035f1a 100%);

    --primary-green: #00a86b;
    --primary-green-dark: #066c2b;
    --primary-green-light: #86efac;
    --primary-green-ultra-light: #f0fdf4;
    --sidebar-bg: #ffffff;
    --sidebar-hover: #f8fafc;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1),
        0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1),
        0 4px 6px -4px rgb(0 0 0 / 0.1);
}

/* This file is to add custom css for FRONTEND of this website */

body {
    font-family: "Bai Jamjuree", sans-serif;
    font-size: 1rem;
}

/* Generic CSS */
h1,
h2,
h3,
h4,
h5,
h6 {
    text-transform: capitalize;
    margin-bottom: 0;
    font-weight: 600;
    margin-bottom: 1rem;
}

h1,
h2,
h3 {
    line-height: 3rem;
}

.h6,
h6 {
    font-size: 0.85rem;
}

p {
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--text-gray);
}

a {
    text-decoration: none;
    color: var(--black);
    -webkit-transition: all 350ms ease-in-out;
    -o-transition: all 350ms ease-in-out;
    transition: all 350ms ease-in-out;
    font-size: 0.8rem;
}

a:hover {
    color: var(--primary-color);
}

label {
    font-weight: 600;
    color: #444;
    margin-bottom: 15px;
}

svg {
    width: 20px;
}

img {
    border-radius: 0.3rem;
}

section {
    padding: 4rem 1rem;
}

.top-5 {
    top: 5rem;
}

.form-control {
    padding: 10px 15px;
    /* border: none; */
    font-size: 0.8rem;
}

.row {
    margin-bottom: 1rem;
}

.cursor-pointer {
    cursor: pointer;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-primary-dark {
    background-color: var(--primary-dark) !important;
}

.bg-primary-light {
    background-color: var(--primary-light) !important;
}

.bg-gray {
    background-color: var(--gray-color) !important;
}

.bg-light-gray {
    background-color: var(--light-gray-color) !important;
}

.bg-gradient {
    background-color: var(--primary-color);
    /* background-image: linear-gradient(to right, var(--primary-color) 100%, var(--primary-color) 60%); */
}

.bg-round-radient {
    background: radial-gradient(
        circle,
        var(--primary-color) 0%,
        var(--primary-color-3) 100%
    );
    border-radius: 50%;
    height: 400px;
    width: 350px;
    position: relative;
}

.bg-round-radient img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 500px;
}

.text-logo {
    color: var(--primary-color) !important;
    font-weight: 600;
    font-size: 0.8rem;
}

.text-primary {
    color: var(--primary-color) !important;
}

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

.fs-10 {
    font-size: 10px;
}

.fs-12 {
    font-size: 12px;
}

.fs-14 {
    font-size: 14px;
}

.fs-16 {
    font-size: 16px;
}

.fs-18 {
    font-size: 18px;
}

.fs-20 {
    font-size: 20px;
}

.fs-24 {
    font-size: 24px;
}

.fs-xs {
    font-size: 1rem;
}

.fs-xxs {
    font-size: 0.75rem;
}

/* Margin Right */
.mr-1 {
    margin-right: 0.25rem;
}

.mr-2 {
    margin-right: 0.5rem;
}

.mr-3 {
    margin-right: 1rem;
}

.mr-4 {
    margin-right: 1.5rem;
}

.mr-5 {
    margin-right: 3rem;
}

/* MArgin left */

.ml-1 {
    margin-left: 0.25rem;
}

.ml-2 {
    margin-left: 0.5rem;
}

.ml-3 {
    margin-left: 1rem;
}

.ml-4 {
    margin-left: 1.5rem;
}

.ml-5 {
    margin-left: 3rem;
}

.btn {
    padding: 7px 21px;
    border: none;
    font-size: 0.8rem;
}

.btn-sm {
    padding: 5px 10px;
    font-size: 10px;
}

/* ===== Scrollbar CSS ===== */
/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #c0c0c0 #ffffff;
}

/* Chrome, Edge, and Safari */
*::-webkit-scrollbar {
    width: 2px;
}

.scroll-div {
    overflow-y: auto;
}

.btn-delete {
    background-color: #024714;
    color: var(--white);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-secondary {
    background-color: var(--primary-light);
    color: var(--white);
}
.btn-paypal {
    background-color: #00457c;
    color: var(--white);
}

.btn-paypal:hover {
    background-color: #025eaa;
    color: var(--white);
}

.btn-stripe {
    background-color: #6772e5;
    color: var(--white);
}

.btn-stripe:hover {
    background-color: #4a56c6;
    color: var(--white);
}

.btn-google {
    background-color: #dd0025;
    color: var(--white);
}

.btn-google:hover {
    background-color: #dd0025;
    color: var(--white);
}

.btn-facebook {
    background-color: #0075ff;
    color: var(--white);
}

.btn-facebook:hover {
    background-color: #005ac2;
    color: var(--white);
}

.btn-white {
    background-color: var(--white);
    color: var(--black);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active .btn-primary:focus-visible {
    background-color: var(--primary-dark);
    border: none;
}

.arrow-button {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    position: relative;
    text-transform: capitalize;
    -webkit-transition: all 350ms ease-in-out;
    -o-transition: all 350ms ease-in-out;
    transition: all 350ms ease-in-out;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 40px;
    border-radius: 0.3rem;
    padding-right: 20px;
}

.arrow-button a {
    color: var(--primary-color);
    text-decoration: none;
}

.arrow-button:hover a {
    color: #ffffff !important;
}

.arrow-button i {
    font-size: 0.8rem !important;
    margin-right: 5px !important;
}

.arrow-button:hover {
    padding-left: 20px;
    background-color: var(--primary-color);
    color: #ffffff !important;
}

.arrow-button:hover i {
    color: #ffffff !important;
}

.btn-primary-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-primary-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.heading h2 {
    text-transform: capitalize;
    font-size: 1.6rem;
    line-height: 3rem;
    margin-bottom: 0;
    font-weight: 500;
    color: #1b1a1a;
    margin-bottom: 1rem;
}

.heading h6 {
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 0;
    line-height: 1.2rem;
}

.vertical-line {
    width: 2px;
    height: 100px;
    background-color: black;
}

.rounded-10 {
    border-radius: 25px;
}

.rounded-1 {
    border-radius: 0.3rem !important;
}

.border-left {
    border-left: 1px solid var(--black);
}

/* Modern Table Styling - Store Theme */
.table .thead-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0e886e 100%);
    color: var(--white);
}

.modern-table {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(3, 129, 100, 0.08);
    border: none;
}

.modern-table thead tr th {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.5px;
    padding: 16px 12px;
    border: none;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1c997e 100%);
}

.modern-table tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.modern-table tbody tr:hover {
    background-color: rgba(3, 129, 100, 0.04);
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(3, 129, 100, 0.1);
}

.modern-table tbody tr td {
    font-size: 0.875rem;
    padding: 14px 12px;
    vertical-align: middle;
    border: none;
}

.modern-table tbody tr td p {
    font-size: 0.875rem;
    margin: 0;
}

/* Store Cards Layout */
.store-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.store-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 16px rgba(3, 129, 100, 0.15);
    transform: translateY(-2px);
}

.store-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}

.store-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.store-card-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #026b55 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.store-card-body {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.store-info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.store-info-label {
    font-size: 0.75rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.store-info-value {
    font-size: 0.9375rem;
    color: #212529;
    font-weight: 500;
}

/* Status Badges - Store Themed */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

.status-badge-active {
    background-color: rgba(3, 129, 100, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(3, 129, 100, 0.3);
}

.status-badge-inactive {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.status-badge-pending {
    background-color: rgba(255, 193, 7, 0.1);
    color: #ff9800;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.status-indicator-active {
    background-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(3, 129, 100, 0.2);
}

.status-indicator-inactive {
    background-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.2);
}

/* Profile Images in Tables */
.table-profile-img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

/* Action Buttons */
.action-btn {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.action-btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #026b55 100%);
    color: white;
}

.action-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(3, 129, 100, 0.3);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.empty-state-icon {
    font-size: 48px;
    color: #dee2e6;
    margin-bottom: 16px;
}

.empty-state-text {
    font-size: 1.125rem;
    font-weight: 500;
}

/* DataTables Enhancement */
.dataTables_wrapper .dataTables_filter input {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 8px 16px;
    transition: all 0.3s ease;
}

.dataTables_wrapper .dataTables_filter input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(3, 129, 100, 0.1);
}

.dataTables_wrapper .dataTables_length select {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 6px 12px;
}

/* Table Wrapper */
.table-responsive {
    border-radius: 12px;
    overflow: hidden;
}

/* Legacy Support */
table thead tr th {
    font-size: 0.875rem;
}

table tbody tr td {
    font-size: 0.875rem;
}

table tbody tr td p {
    font-size: 0.875rem;
}

.w-30 {
    width: 30%;
}

w-70 {
    width: 70%;
}

/* New admin dashboard */
.stat-card {
    border: none;
    border-radius: 16px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 168, 107, 0.1);
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.growth-badge {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 20px;
}

.user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.tab-modern {
    border: none;
    background: transparent;
    color: #666;
    padding: 12px 24px;
    border-radius: 8px;
    transition: all 0.3s;
}

.tab-modern.active {
    background: var(--primary-green);
    color: white;
}

.booking-row {
    transition: background 0.3s;
}

.booking-row:hover {
    background: var(--light-green) !important;
}

/* Navbar Section */

.modern-navbar {
    position: fixed;
    top: 0;
    left: 280px;
    right: 0;
    height: 70px;
    background: white;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    z-index: 999;
    box-shadow: var(--shadow-sm);
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-left-collapsed {
    left: 0;
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sidebar-toggle {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.25rem;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.sidebar-toggle:hover {
    background-color: var(--sidebar-hover);
    color: var(--primary-green);
}

.page-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-link {
    color: var(--black);
}

.nav-link:hover {
    color: var(--primary-color);
}

.navbar-light .navbar-nav .nav-link {
    color: #878787;
    font-size: 14px;
    padding: 10px 20px;
    font-weight: 600;
}

.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.navbar-light .navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

.dropdown-menu[data-bs-popper] {
    top: 100%;
    left: -135px;
    margin-top: 0.125rem;
    padding: 1rem;
}

.dropdown-toggle::after {
    display: none;
}

.dropdown-item {
    padding: 0.25rem 0rem;
    color: var(--gray-color);
}

.dropdown-item:focus,
.dropdown-item:hover {
    background-color: transparent;
    color: var(--primary-color);
}

/* Notification and Message Controls */
.notification-btn,
.message-btn {
    position: relative;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.25rem;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
}

.notification-btn:hover,
.message-btn:hover {
    background-color: var(--sidebar-hover);
    color: var(--primary-green);
}

.notification-badge {
    position: absolute;
    top: 0.25rem;
    right: 0.25rem;
    background: var(--primary-green);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.125rem 0.375rem;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    line-height: 1.2;
}

/* User Dropdown */
.user-dropdown {
    position: relative;
}

.user-toggle {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.user-toggle:hover {
    background-color: var(--sidebar-hover);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        var(--primary-green),
        var(--primary-green-dark)
    );
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    overflow: hidden;
}

.user-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.user-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.2;
}

.user-role {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.2;
}

.user-chevron {
    font-size: 0.75rem;
    color: var(--text-muted);
    transition: transform 0.2s ease;
}

.user-toggle[aria-expanded="true"] .user-chevron {
    transform: rotate(180deg);
}

/* Modern Dropdown Styles */
.modern-dropdown {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    min-width: 220px;
}

.dropdown-notification {
    max-height: 400px;
    overflow-y: auto;
}

.dropdown-header {
    padding: 0.75rem 1rem;
    background: transparent;
    border: none;
    font-weight: 600;
    color: var(--text-primary);
}

.dropdown-header h6 {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
}

.dropdown-divider {
    margin: 0.5rem 0;
    border-color: var(--border-color);
}

.modern-dropdown-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    border: none;
    background: none;
    width: 100%;
}

.modern-dropdown-item:hover {
    background-color: var(--sidebar-hover);
    color: var(--primary-green);
}

.modern-dropdown-item i {
    width: 16px;
    text-align: center;
}

.modern-dropdown-item.text-danger:hover {
    background-color: #fef2f2;
    color: #dd0025;
}

.user-avatar-large {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        var(--primary-green),
        var(--primary-green-dark)
    );
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    overflow: hidden;
}

.user-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.notification-list {
    max-height: 300px;
    overflow-y: auto;
}

/* Sign In Button */
.modern-signin-btn {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: var(--primary-green);
    color: white !important;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.modern-signin-btn:hover {
    background: var(--primary-green-dark);
    color: white !important;
    transform: translateY(-1px);
}

/* Content Area Adjustments */
.main-content {
    margin-left: 280px;
    margin-top: 70px;
    padding: 2rem;
    transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: calc(100vh - 70px);
}

.main-content-expanded {
    margin-left: 0;
}

.card {
    min-width: 100px;
    border: none;
    border-radius: 0.3rem;
    box-shadow: rgba(17, 17, 26, 0.05) 0px 1px 0px,
        rgba(17, 17, 26, 0.1) 0px 0px 8px;
    margin-bottom: 3rem;
}

.card .card-header {
    background-color: white;
    padding: 30px 20px 5px 25px;
    color: var(--black);
    border: none;
}

.card .card-header-primary {
    background-color: var(--primary-color);
    padding: 15px;
    color: var(--white);
}

.card .card-body {
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.card .card-body:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    background-color: var(--primary-color);
    height: 3px;
    width: calc(100% - 100px);
}

.alert-trim {
    display: inline-block;
}

/* Header Section */
#pagehero {
    color: var(--white);
    background-size: cover;
    background-position: center;
    padding: 7rem 1rem;
}

#pagehero .content {
    width: 550px;
}

#pagehero .content h3 {
    font-size: 30px;
    padding-bottom: 10px;
}

#pagehero .content p {
    font-size: 0.8rem;
    padding-bottom: 20px;
}

/* About Us Section START  */

.about .about-img {
    position: relative;
    border-radius: 0.3rem;
    height: 510px;
}

.bg-section {
    position: relative;
    overflow: hidden;
    z-index: 1;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    width: 100%;
    height: 100%;
}

.about .about-img .about-img-warp {
    position: absolute;
    right: 0;
    max-width: 400px;
    border-radius: 0.3rem;
    height: 510px;
}

.about .about-img.about-img-left .about-img-warp {
    right: auto;
    left: 0;
}

.counter {
    background-color: var(--primary-color);
    color: #ffffff;
    border-radius: 0.3rem;
    padding: 25px 40px 30px;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.about .about-img .counter {
    width: 207px;
    position: absolute;
    bottom: 80px;
    left: 0;
    z-index: 1;
}

.about .about-img.about-img-left .counter {
    right: 0;
    left: auto;
}

.counter .counter-icon {
    margin-bottom: 15px;
}

.counter .counter-icon i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.counter .counter-num {
    margin-bottom: 6px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.counter .counter-num span,
.counter .counter-num p {
    font-size: 32px;
    font-weight: 400;
    line-height: 29px;
    display: inline-block;
    color: #ffffff;
}

.counter .counter-name h6 {
    margin-bottom: 0;
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 29px;
    color: #ffffff;
    text-transform: capitalize;
}

.about .about-text {
    padding: 1rem;
}

/* About Us Section END */

/* Rating & Review Section START */

.review-form .star-rating {
    direction: rtl;
    display: inline-flex;
    justify-content: center;
    gap: 5px;
}

.review-form .star-rating input[type="radio"] {
    display: none;
}

.review-form .star-rating label {
    font-size: 1.6rem;
    color: lightgray;
    cursor: pointer;
}

.review-form .star-rating input[type="radio"]:checked ~ label {
    color: gold;
}

.review-form .star-rating label:hover,
.star-rating label:hover ~ label {
    color: gold;
}

/* Notification Section START */

#notification-list .item {
    padding: 1rem 0.5rem;
    border-bottom: 1px solid #e9ecef;
}

#notification-list .item h5 {
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
}

#notification-list .item p {
    margin-bottom: 0;
    font-size: 0.75rem;
}

.dropdown-notification[data-bs-popper] {
    width: 300px;
    left: -250px;
    max-height: 500px;
    overflow: scroll;
}

/* Notification Section END */

.unread_notification {
    position: absolute;
    margin-left: 140px;
    margin-top: -29px;
    background-color: rgb(13, 95, 54);
    height: 15px;
    width: 15px;
    color: #f1f1f1;
    border-radius: 50%;
    text-align: center;
}

/* How It Works Section */

.howitworks {
    padding: 50px 0;
    margin: 50px 0;
}

.howitworks .card .card-body {
    position: relative;
    overflow: hidden;
}

.howitworks .card .card-body:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    background-color: var(--primary-color);
    height: 3px;
    width: calc(100% - 100px);
}

.howitworks .card .card-body .icon {
    position: absolute;
    top: -50px;
    right: -100px;
}

.howitworks .card .card-body .icon i::before {
    color: var(--primary-color);
    margin-left: 0;
    font-size: 175px;
    opacity: 0;
    -webkit-transform: translateY(10px);
    -ms-transform: translateY(10px);
    transform: translateY(10px);
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    visibility: hidden;
    -webkit-transition: 0.35s ease-in-out;
    -o-transition: 0.35s ease-in-out;
    transition: 0.35s ease-in-out;
}

.howitworks .card .card-body .content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
}

.howitworks .card .card-body .content i {
    font-size: 3rem;
    color: var(--primary-color);
    margin: 2rem 0;
}

.howitworks .card .card-body .content h4 {
    font-size: 1rem;
    margin-bottom: 0;
}

/* Chatbot*/
#chatbot-toggler {
    position: fixed;
    bottom: 30px;
    right: 35px;
    border: none;
    margin-bottom: 30px;
    height: 50px;
    width: 50px;
    display: flex;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #1f7942;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}
body.show-chatbot #chatbot-toggler {
    transform: rotate(90deg);
}
#chatbot-toggler span {
    color: #fff;
    position: absolute;
}
#chatbot-toggler span:last-child,
body.show-chatbot #chatbot-toggler span:first-child {
    opacity: 0;
}
body.show-chatbot #chatbot-toggler span:last-child {
    opacity: 1;
}
.chatbot-popup {
    position: fixed;
    right: 35px;
    bottom: 90px;
    width: 410px;
    overflow: hidden;
    margin-bottom: 40px;
    background: #fff;
    border-radius: 15px;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.2);
    transform-origin: bottom right;
    box-shadow: 0 0 128px 0 rgba(0, 0, 0, 0.1),
        0 32px 64px -48px rgba(0, 0, 0, 0.5);
    transition: all 0.1s ease;
    z-index: 90;
}
/* Fix chatbot popup visibility */
body.show-chatbot .chatbot-popup {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

/* Fix quick replies visibility */
body.show-chatbot .quick-replies {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.chatbot-header {
    display: flex;
    align-items: center;
    padding: 10px 17px;
    background: #50c477;
    justify-content: space-between;
}
.chatbot-header .header-info {
    display: flex;
    gap: 8px;
    align-items: center;
}
.header-info .chatbot-logo {
    width: 35px;
    height: 35px;
    padding: 6px;
    fill: #50c48e;
    flex-shrink: 0;
    background: #fff;
    border-radius: 50%;
}
.header-info .logo-text {
    color: #fff;
    font-weight: 600;
    font-size: 1.31rem;
    letter-spacing: 0.02rem;
}
.chatbot-header #close-chatbot {
    border: none;
    color: #fff;
    height: 30px;
    width: 40px;
    font-size: 1.8rem;
    margin-right: -10px;
    padding-top: 2px;
    cursor: pointer;
    border-radius: 50%;
    background: none;
    transition: 0.2s ease;
}
.chatbot-header #close-chatbot:hover {
    background: #39ac69;
}
.chatbot-body {
    padding: 25px 22px;
    gap: 20px;
    display: flex;
    max-height: 350px;
    overflow-y: auto;
    margin-bottom: 82px;
    flex-direction: column;
    scrollbar-width: thin;
    scrollbar-color: #ccf5dc transparent;
}
.chatbot-body,
.chatbot-form .message-input:hover {
    scrollbar-color: #ccf5ce transparent;
}
.chatbot-body .message {
    display: flex;
    gap: 11px;
    align-items: center;
}
.chatbot-body .message .bot-avatar {
    width: 35px;
    height: 35px;
    padding: 6px;
    fill: #fff;
    flex-shrink: 0;
    margin-bottom: 2px;
    align-self: flex-end;
    border-radius: 50%;
    background: #50c484;
}
.chatbot-body .message .message-text {
    padding: 12px 16px;
    max-width: 75%;
    font-size: 0.95rem;
}
.chatbot-body .bot-message.thinking .message-text {
    padding: 2px 16px;
}
.chatbot-body .bot-message .message-text {
    background: #f2f2ff;
    border-radius: 13px 13px 13px 3px;
}
.chatbot-body .user-message {
    flex-direction: column;
    align-items: flex-end;
}
.chatbot-body .user-message .message-text {
    color: #fff;
    background: #5350c4;
    border-radius: 13px 13px 3px 13px;
}
.chatbot-body .user-message .attachment {
    width: 50%;
    margin-top: -7px;
    border-radius: 13px 3px 13px 13px;
}
.chatbot-body .bot-message .thinking-indicator {
    display: flex;
    gap: 4px;
    padding-block: 15px;
}
.chatbot-body .bot-message .thinking-indicator .dot {
    height: 7px;
    width: 7px;
    opacity: 0.7;
    border-radius: 50%;
    background: #6bc292;
    animation: dotPulse 1.8s ease-in-out infinite;
}
.chatbot-body .bot-message .thinking-indicator .dot:nth-child(1) {
    animation-delay: 0.2s;
}
.chatbot-body .bot-message .thinking-indicator .dot:nth-child(2) {
    animation-delay: 0.3s;
}
.chatbot-body .bot-message .thinking-indicator .dot:nth-child(3) {
    animation-delay: 0.4s;
}

.quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    position: fixed;
    opacity: 0;
    right: 80px;
    bottom: 12px;
    width: 350px;
    overflow: hidden;
    transform: scale(0.2);
    margin-bottom: 40px;
    z-index: 90;
}

/* Quick Reply Buttons - Modern Pill Design */
.quick-replies-container {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px 0;
    margin-top: 8px;
    max-width: 100%;
}

.quick-reply-button {
    padding: 6px 14px;
    font-size: 13px;
    border-radius: 16px; /* Pill shape */
    background: #f0f2f5;
    color: #187552;
    border: 1px solid #d0d4d8;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    font-weight: 500;
    line-height: 1.2;
    display: inline-block;
}

.quick-reply-button:hover {
    background: #187552;
    color: white;
    border-color: #187552;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.quick-reply-button:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .quick-reply-button {
        font-size: 12px;
        padding: 5px 12px;
    }

    .quick-replies-container {
        gap: 4px;
    }
}

.help-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.topic-button {
    background-color: #024b0c;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    outline: none;
}

.topic-button:hover {
    background-color: #00b327;
}

.topic-button:active {
    background-color: #00993b;
}

@keyframes dotPulse {
    0%,
    44% {
        transform: translateY(0);
    }
    28% {
        opacity: 0.4;
        transform: translateY(-4px);
    }
    44% {
        opacity: 0.2;
    }
}
.chatbot-footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: #fff;
    padding: 15px 22px 20px;
}
.chatbot-footer .chatbot-form {
    display: flex;
    align-items: center;
    position: relative;
    background: #fff;
    border-radius: 32px;
    outline: 1px solid #cccce5;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.06);
    transition: 0s ease, border-radius 0s;
}
.chatbot-form:focus-within {
    outline: 2px solid #5350c4;
}
.chatbot-form .message-input {
    width: 100%;
    height: 47px;
    outline: none;
    resize: none;
    border: none;
    max-height: 180px;
    scrollbar-width: thin;
    border-radius: inherit;
    font-size: 0.95rem;
    padding: 14px 0 12px 18px;
    scrollbar-color: transparent transparent;
}
.chatbot-form .chatbot-controls {
    gap: 3px;
    height: 47px;
    display: flex;
    padding-right: 6px;
    align-items: center;
    align-self: flex-end;
}
.chatbot-form .chatbot-controls button {
    height: 35px;
    width: 35px;
    border: none;
    cursor: pointer;
    color: #6db089;
    border-radius: 50%;
    font-size: 1.15rem;
    background: none;
    transition: 0.2s ease;
}
.chatbot-form .chatbot-controls button:hover,
body.show-emoji-picker .chatbot-controls #emoji-picker {
    color: #39ac56;
    background: #f1f1ff;
}
.chatbot-form .chatbot-controls #send-message {
    color: #fff;
    display: none;
    background: #50c450;
}
.chatbot-form .chatbot-controls #send-message:hover {
    background: #39ac4c;
}
.chatbot-form .message-input:valid ~ .chatbot-controls #send-message {
    display: block;
}
.chatbot-form .file-upload-wrapper {
    position: relative;
    height: 35px;
    width: 35px;
}
.chatbot-form .file-upload-wrapper :where(button, img) {
    position: absolute;
}
.chatbot-form .file-upload-wrapper img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.chatbot-form .file-upload-wrapper #file-cancel {
    color: #ff0000;
    background: #fff;
}
.chatbot-form .file-upload-wrapper :where(img, #file-cancel),
.chatbot-form .file-upload-wrapper.file-uploaded #file-upload {
    display: none;
}
.chatbot-form .file-upload-wrapper.file-uploaded img,
.chatbot-form .file-upload-wrapper.file-uploaded:hover #file-cancel {
    display: block;
}
em-emoji-picker {
    position: absolute;
    left: 50%;
    top: -337px;
    width: 100%;
    max-width: 350px;
    visibility: hidden;
    max-height: 330px;
    transform: translateX(-50%);
}
body.show-emoji-picker em-emoji-picker {
    visibility: visible;
}
/* Responsive media query for mobile screens */
@media (max-width: 520px) {
    #chatbot-toggler {
        right: 20px;
        bottom: 20px;
    }
    .chatbot-popup {
        right: 0;
        bottom: 0;
        height: 80%;
        border-radius: 0;
        width: 100%;
    }
    .chatbot-popup .chatbot-header {
        padding: 12px 15px;
    }
    .chatbot-body {
        height: calc(90% - 55px);
        padding: 25px 15px;
    }
    .chatbot-footer {
        padding: 10px 15px 15px;
    }
    .chatbot-form .file-upload-wrapper.file-uploaded #file-cancel {
        opacity: 0;
    }

    .quick-replies {
        visibility: hidden;
    }
}

/* Chat Button CSS */
.chat-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 9999;
}

.chat-button i {
    font-size: 18px;
}

.clickable-card {
    height: 200px;
}

/* Testimonial CSS Start */

.carousel-inner {
    margin: 1rem 3rem;
}

/* Mobile Responsive */

@media only screen and (max-width: 600px) {
    .carousel-inner {
        margin: 0;
    }
}

/* Testimonial CSS End */

/* Help Topic CSS Start */

.topic-list {
    margin: 1rem 0;
}

.topic-list .item a {
    text-decoration: none;
}

.topic-list .item a:hover {
    color: var(--primary-color);
}

.trix-content {
    min-height: 300px;
    /* Adjust the height as per your requirement */
}

figure a img {
    width: 100%;
    height: auto;
}

/* .trix-button--icon-attach {
    display: none !important;
} */

/* Help Topic CSS End */

/* Branch Map CSS Start */
#branchMap {
    width: 100%;
    height: 500px; /* Adjust as needed */
    background: #f4f4f4; /* Temporary to check visibility */
}

.branch-map-container {
    height: 500px;
    border-radius: 10px;
    border: 2px solid #e9ecef;
    margin: 20px 0;
}

.map-popup {
    font-size: 0.9rem;
    min-width: 250px;
}

.map-popup h6 {
    color: #2c3e50;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.map-popup .btn {
    font-size: 0.8rem;
    padding: 0.25rem 0.75rem;
}
/* Branch Map CSS End */
/* Branch List CSS Start */
.branch-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.country-section {
    margin-bottom: 20px;
    padding: 10px;
    border-bottom: 2px solid #ddd;
}

.country-heading {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.country-branches {
    margin-left: 15px;
}

.branch-item {
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    margin-bottom: 5px;
}

.branch-item:hover {
    transform: translateY(-5px);
}

.branch-item strong {
    font-size: 18px;
    color: #1d6639;
    cursor: pointer;
}

.branch-item p {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

.branch-details {
    display: none;
}
.branch-item.open .branch-details {
    display: block;
}
/* Branch List CSS End */

.fc-event {
    cursor: pointer;
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 12px;
}

.fc-event-pending {
    background-color: #ffc107;
    color: #000;
    border: none;
}

.fc-event-accepted {
    background-color: #28a745;
    color: #fff;
    border: none;
}

.fc-event-started {
    background-color: #17a2b8;
    color: #fff;
    border: none;
}

.fc-event-completed {
    background-color: #007bff;
    color: #fff;
    border: none;
}

.fc-event-cancelled {
    background-color: #343a40;
    color: #fff;
    border: none;
}

.fc-event-expired {
    background-color: #dc3545;
    color: #fff;
    border: none;
}

.fc-event-scheduled {
    background-color: #28a745;
    color: #fff;
    border: none;
}

.view-toggle {
    display: inline-flex;
    background-color: #f8f9fa;
    border-radius: 5px;
    padding: 2px;
}

.view-toggle .btn {
    border: none;
    background: transparent;
    color: #6c757d;
    padding: 5px 15px;
    font-size: 14px;
    transition: all 0.3s;
}

.view-toggle .btn.active {
    background-color: #fff;
    color: #00ff37;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#calendar {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Get Apps CTA CSS Start */

#getapps {
    margin: 5rem 0;
}

/* Get Apps CTA CSS End */

/* Accordion CSS Start */
.accordion .heading {
    margin-bottom: 23px;
}

.accordion .heading .heading-title {
    font-size: 20px;
    line-height: 29px;
    font-weight: 500;
    color: #1b1a1a;
    margin-bottom: 0;
}

.accordion .card,
.accordion .card:first-of-type,
.accordion .card:not(:first-of-type):not(:last-of-type) {
    padding: 1rem 2rem;
    -webkit-box-shadow: none;
    box-shadow: none;
    border: 2px solid #eaeaea;
    margin-bottom: 30px;
    border-radius: 0.3rem;
    -webkit-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
    min-height: 0;
    min-width: 0;
}

.accordion .card .card-heading,
.accordion .card:first-of-type .card-heading,
.accordion .card:not(:first-of-type):not(:last-of-type) .card-heading {
    padding: 0;
    margin: 0;
}

.accordion .card .card-heading a,
.accordion .card:first-of-type .card-heading a,
.accordion .card:not(:first-of-type):not(:last-of-type) .card-heading a {
    font-size: 0.8rem;
    color: #222222;
    font-weight: 500;
    text-transform: capitalize;
    position: relative;
    -webkit-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
    display: block;
    padding-left: 0;
    text-decoration: none;
}

.accordion .card .card-heading .card-link:after,
.accordion .card:first-of-type .card-heading .card-link:after,
.accordion
    .card:not(:first-of-type):not(:last-of-type)
    .card-heading
    .card-link:after {
    /* symbol for "opening" cards */
    -webkit-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
    position: absolute;
    right: 0;
    top: 0;
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
    content: "\f068";
    font-size: 0.7rem;
    color: var(--primary-color);
}

.accordion .card .card-heading .card-link.collapsed:after,
.accordion .card:first-of-type .card-heading .card-link.collapsed:after,
.accordion
    .card:not(:first-of-type):not(:last-of-type)
    .card-heading
    .card-link.collapsed:after {
    /* symbol for "collapsed" cards */
    content: "\f067";
}

.accordion .card .card-body,
.accordion .card:first-of-type .card-body,
.accordion .card:not(:first-of-type):not(:last-of-type) .card-body {
    color: #9b9b9b;
    padding: 5px 0 0 0;
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 24px;
}

.accordion .card .card-body::before {
    background-color: white;
}

.accordion .card.active-acc,
.accordion .card:first-of-type.active-acc,
.accordion .card:not(:first-of-type):not(:last-of-type).active-acc {
    border-color: var(--primary-color);
}

.accordion .card.active-acc .card-heading .card-link,
.accordion .card:first-of-type.active-acc .card-heading .card-link,
.accordion
    .card:not(:first-of-type):not(:last-of-type).active-acc
    .card-heading
    .card-link {
    color: var(--primary-color);
}

.accordion .card.active-acc .card-heading .card-link::after,
.accordion .card:first-of-type.active-acc .card-heading .card-link::after,
.accordion
    .card:not(:first-of-type):not(:last-of-type).active-acc
    .card-heading
    .card-link::after {
    color: var(--primary-color);
    content: "\f068";
}

.accordion .card:hover,
.accordion .card:first-of-type:hover,
.accordion .card:not(:first-of-type):not(:last-of-type):hover {
    border-color: var(--primary-color);
}

.accordion .card:hover .card-heading a,
.accordion .card:first-of-type:hover .card-heading a,
.accordion .card:not(:first-of-type):not(:last-of-type):hover .card-heading a {
    color: var(--primary-color);
}

.accordion .card:hover .card-heading a::after,
.accordion .card:first-of-type:hover .card-heading a::after,
.accordion
    .card:not(:first-of-type):not(:last-of-type):hover
    .card-heading
    a::after {
    color: var(--primary-color);
}

.accordion .card:last-of-type {
    margin-bottom: 15px;
}

/* Accordion  CSS End */

/* Contact Us Page CSS Start */

.map {
    position: relative;
    height: 720px;
}

.map iframe {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
}

.map iframe.map-gray {
    -webkit-filter: brightness(104%) contrast(99%) saturate(0%) blur(0px)
        hue-rotate(0deg);
    filter: brightness(104%) contrast(99%) saturate(0%) blur(0px)
        hue-rotate(0deg);
}

.map.map-2 {
    padding: 0;
    height: 520px;
}

.map.map-3 {
    height: auto;
    padding: 90px 0;
}

/* Contact Us Page CSS End */

/* Chat Page CSS Start */

.people-list {
    background: var(--white);
    border-right: 1px solid var(--light-gray);
    height: 100vh;
    overflow-y: auto;
    padding: 20px;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.people-list .search {
    display: flex;
    align-items: center;
    background: var(--light-gray);
    padding: 12px;
    border-radius: 8px;
}

.people-list input {
    border: none;
    padding: 10px;
    width: 100%;
    color: var(--dark-gray);
    background: transparent;
    outline: none;
}

.people-list .fa-search {
    color: var(--gray-color);
}

.people-list .list .item {
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 12px;
    margin-bottom: 8px;
    border-radius: 10px;
    transition: background 0.3s ease;
}

.people-list .list .item p {
    color: #808080;
}

.people-list .list .item:hover {
    background: var(--light-gray);
}

.people-list .list .active {
    background-color: var(--primary-color);
    color: var(--white);
}

.people-list .list .active {
    background: var(--primary-color);
    color: var(--white);
}

.people-list ul {
    padding: 20px;
    height: 550px;
}

.people-list ul li {
    padding-bottom: 20px;
    list-style: none;
}

.people-list img {
    border-radius: 50%;
    height: 45px;
    width: 45px;
    object-fit: cover;
    margin-right: 10px;
}

.people-list .about {
    padding-left: 8px;
}

.people-list .status {
    color: #92959e;
}

.chat {
    background: #f2f5f8;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    color: #434651;
    height: 100vh; /* Make chat container take full screen height */
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.chat .chat-header {
    background: var(--white);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 2px solid var(--light-gray);
    position: relative; /* Allows centering with absolute positioning */
}

.chat .chat-header img {
    float: left;
}

.chat .chat-header .chat-about {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}
.chat .chat-header .chat-about img {
    border-radius: 50%;
    width: 45px;
    height: 45px;
    margin-right: 12px;
}

.chat .chat-header .chat-with {
    font-weight: bold;
    font-size: 0.9rem;
}

/* 🔹 Center status text inside container */
.chat .chat-header .chat-num-messages {
    color: #92959e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.chat .chat-header .fa-star {
    float: right;
    color: #d8dadf;
    font-size: 1.2rem;
    margin-top: 12px;
}

.chat .chat-history {
    flex: 1; /* Allow it to take available space */
    padding: 30px 30px 20px;
    border-bottom: 2px solid white;
    overflow-y: auto; /* Enable scrolling */
    max-height: calc(100vh - 180px); /* Adjust based on header & input area */
}

.chat .chat-history .message-data {
    margin-bottom: 15px;
}

.chat .chat-history .message-text {
    margin-bottom: 0;
}

.chat .chat-history .message-data-time {
    color: var(--gray-color);
    padding-left: 6px;
    margin-bottom: 0;
    font-size: 0.7rem;
}

.chat .chat-history .message {
    max-width: 75%;
    padding: 12px 16px;
    border-radius: 15px;
    font-size: 0.9rem;
    margin-bottom: 12px;
    /*position: relative;*/
    display: inline-block;
}

.chat .chat-history .message:after {
    bottom: 100%;
    left: 7%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-bottom-color: var(--primary-light);
    border-width: 10px;
    margin-left: -10px;
}

.chat .chat-history .my-message {
    background: var(--primary-light);
    color: var(--white);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chat .chat-history .other-message {
    background: var(--white);
    color: var(--dark-gray);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.chat .chat-history .message:after {
    content: "";
    position: absolute;
    bottom: 100%;
    border: 8px solid transparent;
}

.chat .chat-message {
    display: flex;
    align-items: center;
    padding: 20px;
    background: white;
    border-top: 1px solid #ddd;
    position: sticky;
    bottom: 0;
    width: 100%;
    gap: 10px; /* Adds spacing between input and buttons */
}

/* 🌙 Dark Mode */
.dark-mode {
    background: var(--light-gray);
    border: none;
    color: var(--dark-gray);
    font-size: 1rem;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background 0.3s ease, color 0.3s ease;
}

/* 🔹 Dark Mode Active */

.dark-theme {
    --white: #222;
    --light-gray: #333;
    --dark-gray: #ddd;
    color: var(--dark-gray);
    background: var(--white);
}
.dark-mode.active {
    background: var(--dark-gray);
    color: var(--white);
}

.dark-theme .chat-header {
    background: var(--light-gray);
    border-bottom: 2px solid var(--dark-gray);
}

.dark-theme .dark-mode {
    background: var(--dark-gray);
    color: var(--white);
}

.dark-mode .chat {
    background-color: #2c2c2c;
    border-color: #444;
}

.dark-mode .chat-message textarea {
    background: #444;
    color: white;
}

/* 💬 Typing Indicator */
#typing-indicator {
    display: none;
    font-size: 14px;
    color: gray;
    padding: 5px;
}

/* Typing animation (three bouncing dots) */
#typing-indicator::after {
    content: " ⠇";
    animation: typingAnimation 1s infinite;
}

.timestamp {
    font-size: 0.8em;
    color: #666;
    display: block;
    margin-top: 2px;
}

.new-message {
    background-color: #e3f2fd !important;
    transition: background-color 0.3s ease;
}

.item.active {
    background-color: #2196f3;
    color: white;
}

@keyframes typingAnimation {
    0% {
        content: " ⠁";
    }
    33% {
        content: " ⠃";
    }
    66% {
        content: " ⠇";
    }
    100% {
        content: " ⠁";
    }
}

/* 😊 Emoji Picker Button */
.emoji-btn {
    background-color: var(--primary-color);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: none;
    font-size: 1.2rem;
    transition: all 0.2s ease-in-out;
}

.emoji-btn:hover {
    background-color: var(--primary-dark);
}
/* 📎 Attachment Preview */
/* 📎 Attachment Button */
.attach-btn {
    background-color: var(--primary-color);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: none;
    font-size: 1.2rem;
    transition: all 0.2s ease-in-out;
}

.attach-btn:hover {
    background-color: var(--primary-dark);
}

/* 📂 Attachment Preview */
#attachment-preview {
    display: none;
    position: relative;
    padding: 10px;
    background: var(--light-gray);
    border-radius: 8px;
    max-width: 200px;
    margin-top: 10px;
}

#attachment-preview img,
#attachment-preview video {
    width: 100%;
    border-radius: 5px;
}

#attachment-preview .remove-attachment {
    position: absolute;
    top: 5px;
    right: 5px;
    background: red;
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge {
    display: inline-block;
    padding: 0.35em 0.65em;
    font-size: 0.75em;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
}

.badge-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease-in-out;
}

.badge-modern:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.badge-modern i {
    margin-right: 0.25rem;
    font-size: 0.7rem;
}

.badge-modern.bg-success {
    background: linear-gradient(135deg, #4aded2, #0f853a);
    border: 1px solid #16a34a;
}

.badge-modern.bg-danger {
    background: linear-gradient(135deg, #f87171, #dc2626);
    border: 1px solid #dc2626;
}

.badge-modern.bg-primary {
    background: linear-gradient(135deg, #60a5fa, #2563eb);
    border: 1px solid #2563eb;
}

.badge-secondary {
    background: linear-gradient(135deg, #d1d5db, #706f6f);
    color: #ccc;

    border: 1px solid #706f6f;
}

/* Helper Tracking CSS Start */

.helper-popup {
    font-size: 14px;
}

.helper-popup .name {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 5px;
}

.helper-popup .status {
    margin-top: 3px;
}

.helper-popup .location {
    margin-top: 3px;
    font-style: italic;
}

.helper-popup .updated {
    margin-top: 5px;
    font-size: 12px;
    color: #777;
}

.helper-list-item {
    cursor: pointer;
    transition: background-color 0.2s;
}

.helper-list-item:hover {
    background-color: #f8f9fa;
}

.helper-list-item.active {
    background-color: #e9ecef;
}

.helper-marker-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    border: 2px solid white;
}

.helper-status {
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 12px;
    background-color: #e6f4ea;
    color: #137333;
    justify-content: end;
    align-items: end;
}

.helpers-list-wrapper {
    height: 600px;
    overflow-y: auto;
}

/* Helper info text styling */
.helper-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 2px;
    color: #06661b;
}

.helper-location,
.helper-branch {
    font-size: 12px;
    line-height: 1.3;
}

/* Fix for Leaflet markers */
.leaflet-div-icon {
    background: transparent;
    border: none;
}
/* Helper Tracking CSS End */

.map-dashboard {
    display: flex;
    height: calc(100vh - 80px);
    background-color: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin: 15px;
}

.modern-sidebar {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: var(--sidebar-bg);
    border-right: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
}

.modern-sidebar::-webkit-scrollbar {
    width: 4px;
}

.modern-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.modern-sidebar::-webkit-scrollbar-thumb {
    background: var(--primary-green-light);
    border-radius: 2px;
}

.sidebar1 {
    width: 25%;
    background-color: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #efefef;
}

.sidebar1-header {
    padding: 20px;
    background-color: #fff;
    border-bottom: 1px solid #efefef;
}

.sidebar1-header h4 {
    margin: 0;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
}

.sidebar1-header h4 i {
    margin-right: 10px;
    color: #038b2c;
}

.sidebar1-content {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
}

.booking-list-container {
    padding: 0 10px;
}

.booking-item {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #efefef;
    position: relative;
}

.booking-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
    border-color: #d1d1d1;
}

.booking-item.active {
    border-left: 4px solid #4af775;
    background-color: #f0f4ff;
}

.booking-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
}

.booking-status {
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 12px;
    background-color: #e6f4ea;
    color: #137333;
}

.booking-details {
    font-size: 0.85rem;
    color: #666;
}

.location {
    display: flex;
    align-items: flex-start;
    margin-bottom: 5px;
}

.location i {
    margin-right: 8px;
    margin-top: 3px;
    font-size: 14px;
}

.location.pickup i {
    color: #42f460;
}

.location.dropoff i {
    color: #ea4335;
}

.map-container {
    flex: 1;
    position: relative;
}

#map {
    height: 100%;
    width: 100%;
    z-index: 1;
}

.map-tools {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 999;
    background: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.map-tool-btn {
    background: #fff;
    border: none;
    border-radius: 4px;
    padding: 8px;
    margin: 0 2px;
    cursor: pointer;
    color: #555;
    transition: all 0.2s;
}

.map-tool-btn:hover {
    background: #f1f1f1;
    color: #4af74a;
}

.search-container {
    position: relative;
    margin-bottom: 15px;
}

.search-container input {
    width: 100%;
    padding: 10px 15px 10px 40px;
    border: 1px solid #efefef;
    border-radius: 8px;
    font-size: 14px;
}

.search-container i {
    position: absolute;
    left: 15px;
    top: 12px;
    color: #999;
}

.booking-count {
    font-size: 13px;
    color: #666;
    margin-left: 5px;
}

.route-line {
    stroke: #3416f7;
    stroke-width: 4;
    stroke-opacity: 0.9;
    stroke-dasharray: 8, 8;
    animation: dash 30s linear infinite;
    z-index: 1000;
}

/* Custom divIcon marker styles */
.custom-div-icon {
    background: none;
    border: none;
}

@keyframes dash {
    to {
        stroke-dashoffset: -1000;
    }
}

/* Custom Marker Popup Styles */
.leaflet-popup-content-wrapper {
    border-radius: 8px;
    padding: 5px;
}

.custom-popup {
    text-align: center;
}

.custom-popup h5 {
    margin: 5px 0;
    color: #333;
    font-weight: 600;
}

.custom-popup p {
    margin: 5px 0;
    color: #666;
    font-size: 13px;
}

.custom-popup .badge1 {
    font-size: 11px;
    padding: 3px 6px;
    margin-top: 5px;
    display: inline-block;
}

/* Empty state */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 20px;
    text-align: center;
    color: #999;
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 15px;
    color: #ccc;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .map-dashboard {
        flex-direction: column;
        height: auto;
    }

    .sidebar1 {
        width: 90%;
        height: 300px;
        border-right: none;
        border-bottom: 1px solid #efefef;
    }

    .map-container {
        height: 500px;
    }
}

/* 🔔 Notification Badge */
.badge1 {
    background-color: red;
    color: white;
    font-size: 12px;
    font-weight: bold;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 5px;
    right: 10px;
    display: none;
}

/* 📝 Extend Chat Input */
.chat-message textarea {
    flex-grow: 1;
    border: none;
    padding: 10px;
    font-size: 0.9rem;
    border-radius: 8px;
    resize: none;
    background: var(--light-gray);
    width: 100%;
}

.chat .chat-message .fa-paper-plane {
    font-size: 1.5rem;
    color: var(--primary-light);
    margin-left: 12px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.chat .chat-message .fa-paper-plane:hover {
    color: var(--primary-color);
}

.chat .chat-message .fa-file-o,
.chat .chat-message .fa-file-image-o {
    font-size: 0.8rem;
    color: gray;
    cursor: pointer;
}

.chat .chat-history li {
    list-style: none;
}

.online,
.offline,
.me {
    margin-right: 3px;
    font-size: 0.7rem;
}

.online {
    color: var(--primary-light);
}

.offline {
    color: #e38968;
}

.me {
    color: var(--gray-color);
}

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

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

.float-right {
    float: right;
}

.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

body {
    background: var(--background-light);
    color: var(--text-light);
    transition: background 0.3s ease, color 0.3s ease;
}

body.dark-mode {
    background: var(--background-dark);
    color: var(--text-dark);
}

.typing-indicator {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    color: var(--gray-color);
    margin-top: 5px;
}

.typing-indicator span {
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    display: inline-block;
    animation: typingBlink 1.5s infinite ease-in-out;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}
.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingBlink {
    0%,
    100% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .people-list {
        height: auto;
        display: none;
    }

    .chat {
        height: 100vh;
    }
}

/* Services CSS Start */

.service-slider .carousel-inner {
    margin: 0;
}

.service-slider .carousel-control-next,
.service-slider .carousel-control-prev {
    width: 2%;
    background: rgba(0, 0, 0, 0.2);
}

@media (max-width: 767px) {
    .service-slider .carousel-inner .carousel-item > div {
        display: none;
    }

    .service-slider .carousel-inner .carousel-item > div:first-child {
        display: block;
    }
}

.service-slider .carousel-inner .carousel-item.active,
.service-slider .carousel-inner .carousel-item-next,
.service-slider .carousel-inner .carousel-item-prev {
    display: flex;
}

/* medium and up screens */
@media (min-width: 768px) {
    .service-slider .carousel-inner .carousel-item-end.active,
    .service-slider .carousel-inner .carousel-item-next {
        transform: translateX(25%);
    }

    .service-slider .carousel-inner .carousel-item-start.active,
    .service-slider .carousel-inner .carousel-item-prev {
        transform: translateX(-25%);
    }
}

.service-slider .carousel-inner .carousel-item-end,
.service-slider .carousel-inner .carousel-item-start {
    transform: translateX(0);
}

/* Services CSS End */

/* Auth Pages CSS  */

.authpage .wrapper {
    min-height: 100vh;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.authpage .inner {
    padding: 20px;
    background: #fff;
    max-width: 850px;
    margin: auto;
    display: flex;
}

.authpage .inner .image-holder {
    width: 50%;
}

.authpage .inner form {
    width: 50%;
    padding-top: 36px;
    padding-left: 45px;
    padding-right: 45px;
}

.authpage .inner h3 {
    text-transform: uppercase;
    font-size: 20px;
    font-family: "Poppins-SemiBold";
    text-align: center;
    margin-bottom: 28px;
}

.authpage {
    overflow-x: hidden;
}

.authpage .card {
    min-width: 300px;
}

.authpage .switch-user a {
    float: right;
    color: var(--primary-color);
    margin: 10px 15px;
}

.authpage .switch-user a:hover {
    color: var(--primary-dark);
}

.toggle-password {
    position: absolute;
    right: 30px;
    top: 13px;
}

.toggle-confirm-password {
    position: absolute;
    right: 30px;
    top: 13px;
}

.forgot-password a {
    float: right;
    font-size: 0.8rem;
}

.authpage .card {
    margin: auto 50px;
    border: none;
}

.authpage .card .card-body img {
    height: 50px;
    margin-bottom: 10px;
}

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

.authpage .card .card-body p {
    font-size: 0.8rem;
    margin-bottom: 20px;
}

.authpage .card .card-body .forgot-password a {
    float: right;
    font-size: 0.8rem;
}

.authpage .card .card-body .toggle-password {
    position: absolute;
    right: 30px;
    top: 13px;
}

.authpage .card .card-body .toggle-confirm-password {
    position: absolute;
    right: 30px;
    top: 13px;
}

.authpage .card .card-body .image-selection img {
    height: 100px;
    width: 100px;
    object-fit: cover;
}

.authpage .card .card-body .image-selection a {
    position: absolute;
    right: 5px;
    bottom: 10px;
    padding: 5px;
    height: 35px;
    width: 35px;
    color: var(--primary-color);
}

.authpage .card .card-body .image-selection a:hover {
    color: white;
    background-color: var(--primary-color);
}

/* Footer CSS  */

footer p {
    color: var(--white);
}

footer p a {
    text-decoration: none;
    color: var(--white);
}

footer p a:hover {
    color: var(--primary-color);
}

footer hr {
    width: 60px;
    height: 2px;
}

/* User Side Bar  */

.footer-left,
.main-left {
    margin-left: 280px;
}

.sidebar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    height: 100%;
    background-color: #f8f9fa;
    /* color: #fff; */
    padding: 20px;
    transition: transform 0.3s ease;
    z-index: 9999;
    overflow-y: scroll;
}

.sidebar .navbar-brand {
    color: var(--primary-color);
    font-weight: 600;
}

.sidebar-hidden {
    transform: translateX(-280px);
}

/* Sidebar Header */
.sidebar-header {
    padding: 1.5rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(
        135deg,
        var(--primary-green),
        var(--primary-green-dark)
    );
    color: white;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    transition: all 0.2s ease;
}

.sidebar-logo:hover {
    color: white;
    transform: scale(1.02);
}

.sidebar-logo-img {
    width: 40px !important;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
}

.sidebar-brand-text {
    font-weight: 700;
    font-size: 1.1rem;
}

.sidebar .nav-item {
    list-style: none;
}

.sidebar .nav-item .nav-link {
    display: inline-table;
    color: var(--gray-color);
    font-size: 0.8rem;
    padding: 10px;
    font-weight: 500;
}

.sidebar .nav-item .nav-link:hover {
    color: var(--primary-color);
}

.sidebar .nav-item .nav-link:active {
    color: var(--primary-color);
}

.sidebar .nav-item .nav-link a {
    padding-left: 5px;
    color: var(--gray-color);
    text-decoration: none;
}

.sidebar .nav-item .nav-link a:hover {
    color: var(--primary-color);
}

.sidebar .nav-item .nav-link a:active {
    color: var(--primary-color);
}

.sidebar .nav-item .nav-link i {
    padding-right: 0.5rem;
}

.sidebar-nav {
    padding: 1rem 0;
}

.nav-section-title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    padding: 0.5rem 1.25rem;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
}

.nav-section-title:first-child {
    margin-top: 0;
}

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

.nav-item {
    margin-bottom: 0.25rem;
}

.nav-link {
    display: flex !important;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem !important;
    color: var(--text-secondary) !important;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem !important;
    transition: all 0.2s ease;
    border-radius: 0;
    position: relative;
    border: none;
}

.nav-link:hover {
    background-color: var(--sidebar-hover) !important;
    color: var(--primary-green) !important;
    transform: translateX(4px);
}

.nav-link.active {
    background-color: var(--primary-green-ultra-light) !important;
    color: var(--primary-green-dark) !important;
    font-weight: 600;
}

.nav-link.active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary-green);
    border-radius: 0 4px 4px 0;
}

.nav-link i {
    width: 20px;
    text-align: center;
    font-size: 1.125rem;
    color: inherit;
}

.nav-link span {
    color: inherit;
}

/* Submenu Styles */
.has-submenu > .nav-link::after {
    content: "\f107";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-left: auto;
    transition: transform 0.2s ease;
    font-size: 0.875rem;
}

.has-submenu.open > .nav-link::after {
    transform: rotate(180deg);
}

.submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #f8fafc;
    margin: 0;
    padding: 0;
    list-style: none;
}

.submenu.show {
    max-height: 400px;
}

.submenu .nav-link {
    padding-left: 3.5rem !important;
    font-size: 0.8rem !important;
    color: var(--text-muted) !important;
    font-weight: 400;
}

.submenu .nav-link:hover {
    color: var(--primary-green) !important;
    background-color: var(--primary-green-ultra-light) !important;
}

.submenu .nav-link.active {
    color: var(--primary-green-dark) !important;
    background-color: var(--primary-green-ultra-light) !important;
    font-weight: 600 !important;
}

/* Accordin CSS  */

.accordion-button:not(.collapsed) {
    color: var(--primary-color);
}

/* CUSTOM STATISTICS CARDS CSS */

.statistics {
    padding: 10px 0;
    /* margin: 50px 0; */
}

/* Edit Profile Tabs CSS  */

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.nav-pills .nav-link {
    border: 1px solid var(--primary-light);
    color: var(--primary-light);
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
}

/* Measurement Guidelines Tab Styling */
#measurementGuidelines .nav-tabs {
    border-bottom: 2px solid #dee2e6;
}

#measurementGuidelines .nav-tabs .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    color: #6b7280;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.75rem 1.25rem;
    transition: all 0.3s ease;
}

#measurementGuidelines .nav-tabs .nav-link:hover {
    border-bottom-color: rgba(3, 129, 100, 0.3);
    color: #038164;
}

#measurementGuidelines .nav-tabs .nav-link.active {
    color: #038164;
    border-bottom-color: #038164;
    background-color: transparent;
    font-weight: 600;
}

#measurementGuidelines .nav-tabs .nav-link i {
    margin-right: 0.5rem;
}

.measurement-diagram {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

#shape-nav-tabContent .tab-pane {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    #measurementGuidelines .nav-tabs .nav-link {
        font-size: 0.8rem;
        padding: 0.5rem 0.75rem;
    }

    #measurementGuidelines .nav-tabs .nav-link i {
        display: block;
        margin: 0 0 0.25rem 0;
    }
}

/* Conversational Form Container */
#conversationalForm {
    max-width: 600px;
    margin: 50px auto;
    font-family: "Bai Jamjuree", sans-serif;
}

/* Chat Box Styling */
.chat-box {
    background: #f9f9fb;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Chat Messages */
.chat-message {
    max-width: 85%;
    border-radius: 25px;
    padding: 15px 20px;
    font-size: 16px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

/* Bot Message */
.chat-bot {
    background: linear-gradient(135deg, #e0e5ec, #ffffff);
    color: #333;
    text-align: left;
    align-self: flex-start;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

/* User Message */
.chat-user {
    background: #4a90e2;
    color: #fff;
    text-align: right;
    align-self: flex-end;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    margin-left: auto;
}

/* Input Field */
.chat-input {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 30px;
    outline: none;
    font-size: 16px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Message time*/
.message-time {
    font-size: 0.7rem;
    opacity: 0.7;
    margin-top: 5px;
    margin-bottom: 0;
}

.message.sent {
    justify-content: flex-end;
}

.message .avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    margin: 0 10px;
}

.message-content {
    max-width: 70%;
    padding: 12px 18px;
    border-radius: 20px;
    position: relative;
}

.message.received .message-content {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.message.sent .message-content {
    background: linear-gradient(135deg, #4ffebb 0%, #00fe61 100%);
    color: white;
}

.message-text {
    margin: 0;
    line-height: 1.4;
    word-wrap: break-word;
}

.chat-container {
    height: calc(100vh - 120px);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.chat-sidebar {
    background: linear-gradient(70deg, #aea1f9 0%, #005e17 100%);
    color: white;
    height: 100%;
    overflow-y: auto;
}

.chat-search {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-search input {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    border-radius: 25px;
    padding: 12px 20px;
}

.chat-search input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.chat-search input:focus {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: none;
    border: none;
    outline: none;
}

.new-chat-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    border-radius: 25px;
    padding: 8px 20px;
    margin-top: 10px;
    width: 100%;
    transition: all 0.3s ease;
}

.new-chat-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
}

.chat-list {
    padding: 0;
}

.chat-item {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.chat-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.chat-item.active {
    background: rgba(255, 255, 255, 0.15);
    border-left: 4px solid #fff;
}

.chat-item .avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.chat-item .name {
    font-weight: 600;
    margin-bottom: 5px;
}

.chat-item .last-message {
    font-size: 0.85rem;
    opacity: 0.8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}

.chat-item .time {
    font-size: 0.75rem;
    opacity: 0.7;
}

.online-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background: #022e52;
    border: 2px solid white;
    border-radius: 50%;
}

.offline-indicator {
    background: #6c757d;
}

.unread-badge {
    position: absolute;
    top: 10px;
    right: 15px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-main {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #a1f9d0;
}

.chat-header {
    background: #c1ffe2;
    padding: 1.5rem;
    border-bottom: 1px solid #b3ffdc;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-header .user-info {
    display: flex;
    align-items: center;
}

.chat-header .avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    margin-right: 15px;
}

.chat-header .name {
    font-weight: 600;
    margin-bottom: 0;
    color: #2c3e50;
}

.chat-header .status {
    font-size: 0.85rem;
    color: #6c757d;
}

.status.online {
    color: #3b28a7;
}

.typing-indicator {
    color: #17cf26;
    font-style: italic;
    font-size: 0.85rem;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    background: linear-gradient(135deg, #c3f8df 0%, #d4d4f5 100%);
    height: 0; /* This forces flex to calculate proper height */
    min-height: 300px; /* Minimum height for smaller screens */
    max-height: calc(100vh - 300px); /* Maximum height to prevent overflow */
}

.message {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-end;
}

.chat-input {
    background: white;
    padding: 1.5rem;
    border-top: 1px solid #e9ecef;
}

.input-group {
    background: #f8f9fa;
    border-radius: 25px;
    padding: 5px;
}

.input-group input {
    border: none;
    background: transparent;
    padding: 12px 15px;
}

.input-group input:focus {
    box-shadow: none;
    outline: none;
}

.btn-send {
    border-radius: 50%;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #7159fc 0%, #025c06 100%);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-send:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, #00fe0d 0%, #834ffe 100%);
}

.empty-chat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #6c757d;
}

.empty-chat i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
    color: #4ffe58;
}

.admin-chat-btn {
    background: linear-gradient(135deg, #6bc9ff 0%, #52ee8e 100%);
    border: none;
    color: white;
    border-radius: 25px;
    padding: 10px 20px;
    margin: 15px;
    transition: all 0.3s ease;
}

.admin-chat-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
    color: white;
}

.search-results {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-top: 10px;
    max-height: 200px;
    overflow-y: auto;
}

.search-result-item {
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.search-result-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.message-status {
    font-size: 0.6rem;
    opacity: 0.6;
    margin-top: 2px;
}

.message.sent .message-status {
    text-align: right;
}

@media (max-width: 768px) {
    .chat-sidebar {
        position: absolute;
        z-index: 1050;
        width: 100%;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .chat-sidebar.show {
        transform: translateX(0);
    }

    .chat-main {
        width: 100%;
    }

    .mobile-chat-toggle {
        position: fixed;
        top: 20px;
        left: 20px;
        z-index: 1060;
        background: #3cf555;
        border: none;
        color: white;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Button Styling */
.chat-button {
    background: #4a90e2;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease;
}

.chat-button:hover {
    background: #357abd;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-message {
    animation: fadeIn 0.4s ease-in-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    #conversationalForm {
        max-width: 95%;
    }
}

/* Booking Form Stepper Page CSS  */

.booking-form .card .card-body .calculated-amount .item {
    display: flex;
    justify-content: space-between;
}

.booking-form .location-div {
    position: absolute;
    bottom: 0;
    left: 35px;
    width: 100%;
}

.booking-form .parcels .parcel-type {
    padding: 15px;
    background-color: var(--light-gray-color);
    color: var(--black);
    cursor: pointer;
    border-radius: 0.3rem;
    margin-bottom: 0.75rem;
}

.booking-form .parcels .active-parcel {
    padding: 15px;
    background-color: var(--primary-color);
    color: var(--white);
}

.booking-form .parcels .active-parcel p {
    color: var(--white);
}

.booking-form #regForm {
    background-color: #ffffff;
    margin: 0px auto;
    padding: 40px;
    border-radius: 10px;
}

.booking-form input.invalid {
    background-color: #ffdddd;
}

.booking-form .tab {
    display: none;
}

.booking-form button:hover {
    opacity: 0.8;
}

.booking-form #prevBtn {
    background-color: var(--primary-light);
}

.booking-form .step {
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: var(--primary-color);
    border: none;
    border-radius: 50%;
    display: inline-block;
    opacity: 0.25;
}

.booking-form .step.active {
    opacity: 1;
}

.booking-form .step.finish {
    background-color: var(--primary-dark);
}

.booking-form .all-steps {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 30px;
}

.booking-form .thanks-message {
    display: none;
}

.booking-form .container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 18px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default radio button */

.booking-form .container input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/* Create a custom radio button */

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
    border-radius: 50%;
}

/* On mouse-over, add a grey background color */

.container:hover input ~ .checkmark {
    background-color: #ccc;
}

/* When the radio button is checked, add a blue background */

.container input:checked ~ .checkmark {
    background-color: #2196f3;
}

/* Create the indicator (the dot/circle - hidden when not checked) */

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the indicator (dot/circle) when checked */

.container input:checked ~ .checkmark:after {
    display: block;
}

/* Style the indicator (dot/circle) */

.container .checkmark:after {
    top: 9px;
    left: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

/* Booking Detail page */

.progressdiv {
    width: 100%;
    color: white;
    background: transparent;
}

.progressdiv .progressbar {
    counter-reset: step;
    display: grid;
}

.progressdiv .progressbar li {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem;
}

.progressdiv .progressbar li:last-child {
    margin-bottom: 0;
}

.progressdiv .progressbar li p {
    color: var(--gray-color);
}

.progressdiv .progressbar li.active p {
    color: var(--primary-dark);
}

.progressdiv .progressbar li h6 {
    color: var(--gray-color);
    margin-bottom: 5px;
    font-size: 0.8rem;
    width: 120px;
}

.progressdiv .progressbar li.active h6 {
    color: var(--primary-dark);
}

.progressdiv .progressbar li h5 {
    color: var(--gray-color);
    margin-bottom: 5px;
    font-size: 0.8rem;
    width: 100px;
}

.progressdiv .progressbar li.active h5 {
    color: var(--primary-dark);
}

/* Circles */
.progressdiv .progressbar li .circle {
    position: relative;
}

.progressdiv .progressbar li .circle:before {
    content: counter(step);
    counter-increment: step;
    width: 40px;
    height: 40px;
    display: block;
    text-align: center;
    margin: 0 auto 10px auto;
    border-radius: 50%;
    background-color: var(--gray-color);
    /* Center # in circle */
    line-height: 39px;
}

.progressdiv .progressbar li:not(:last-child) .circle:after {
    content: "";
    position: absolute;
    width: 1px;
    height: 50px;
    background: var(--gray-color);
    top: 40px;
    /* half of height Parent (li) */
    left: 50%;
    z-index: 9999;
}

.progressdiv .progressbar li:first-child:after {
    content: none;
}

.progressdiv .progressbar li.active .circle:before {
    background: var(--primary-color);
    content: "✔";
}

.progressdiv .progressbar li.active .circle:after {
    background: var(--primary-color);
}

/* Responsive CSS */
/* For mobile phones: */
@media only screen and (max-width: 768px) {
    #pagehero .content h3 {
        font-size: 20px;
        padding-bottom: 10px;
    }

    .footer-left,
    .main-left {
        margin-left: 10px;
    }
}

/* Chat Page CSS */

.searchResults .result-item {
    cursor: pointer;
    padding: 5px 10px;
}

.searchResults .result-item:hover {
    background-color: var(--primary-light);
    color: var(--white);
}

/* For tablets and small desktops: */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
    h5 {
        font-size: 0.8rem;
    }
}

/* For Mobile Devices */
@media only screen and (max-width: 767px) {
    h5 {
        font-size: 0.8rem;
    }

    .authpage .card {
        margin: 5px;
    }
}

/* Error Page CSS */

* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    padding: 0;
    margin: 0;
}

#notfound {
    position: relative;
    height: 100vh;
}

#notfound .notfound {
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.notfound {
    max-width: 520px;
    width: 100%;
    line-height: 1.4;
    text-align: center;
}

.notfound .notfound-404 {
    position: relative;
    height: 200px;
    margin: 0 auto 20px;
    z-index: -1;
}

.notfound .notfound-404 h1 {
    font-size: 210px;
    font-weight: 200;
    margin: 0;
    color: var(--black);
    text-transform: uppercase;
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.notfound .notfound-404 h2 {
    font-size: 22px;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--black);
    background: var(--white);
    padding: 10px 5px;
    margin: auto;
    display: inline-block;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.notfound a {
    display: inline-block;
    font-weight: 700;
    text-decoration: none;
    color: var(--white);
    text-transform: uppercase;
    padding: 13px 23px;
    background: var(--primary-color);
    font-size: 14px;
    -webkit-transition: 0.2s all;
    transition: 0.2s all;
}

.notfound a:hover {
    background: var(--primary-dark);
    /* background: var(--white) */
}

@media only screen and (max-width: 767px) {
    .notfound .notfound-404 h1 {
        font-size: 132px;
    }
}

@media only screen and (max-width: 480px) {
    .notfound .notfound-404 {
        height: 148px;
        margin: 0 auto 10px;
    }

    .notfound .notfound-404 h1 {
        font-size: 75px;
    }

    .notfound .notfound-404 h2 {
        font-size: 0.8rem;
    }

    .notfound a {
        padding: 7px 15px;
        font-size: 0.8rem;
    }
}

/* tracking Page CSS */
.tracking .tracking-list {
    border: 1px solid var(--light-gray-color);
}

.tracking .tracking-item {
    border-left: 4px solid var(--primary-color);
    position: relative;
    padding: 2rem 0.5rem 0.5rem 1.5rem;
    font-size: 0.75rem;
    margin-left: 3rem;
    min-height: 5rem;
}

.tracking .tracking-item:last-child {
    padding-bottom: 4rem;
}

.tracking .tracking-item .tracking-date {
    margin-bottom: 0.5rem;
}

.tracking .tracking-item .tracking-date span {
    color: var(--gray-color);
    font-size: 75%;
    padding-left: 0.4rem;
}

.tracking .tracking-item .tracking-content {
    padding: 0.5rem 0.8rem;
    background-color: #f4f4f4;
    border-radius: 0.5rem;
}

.tracking .tracking-item .tracking-content span {
    display: block;
    color: #767676;
    font-size: 0.8rem;
}

.tracking .tracking-item .tracking-icon {
    position: absolute;
    left: -0.7rem;
    width: 1.1rem;
    height: 1.1rem;
    text-align: center;
    border-radius: 50%;
    font-size: 0.8rem;
    background-color: #fff;
    color: #fff;
}

.tracking .tracking-item-pending {
    border-left: 4px solid #d6d6d6;
    position: relative;
    padding: 2rem 1.5rem 0.5rem 1.5rem;
    font-size: 0.8rem;
    margin-left: 3rem;
    min-height: 5rem;
}

.tracking .tracking-item-cancelled {
    border-left: 4px solid red;
    position: relative;
    padding: 2rem 1.5rem 0.5rem 1.5rem;
    font-size: 0.8rem;
    margin-left: 3rem;
    min-height: 5rem;
}

.tracking .tracking-item-pending:last-child {
    padding-bottom: 4rem;
}

.tracking .tracking-item-pending .tracking-date {
    margin-bottom: 0.5rem;
}

.tracking .tracking-item-pending .tracking-date span {
    color: #888;
    font-size: 75%;
    padding-left: 0.4rem;
}

.tracking .tracking-item-pending .tracking-content {
    padding: 0.5rem 0.8rem;
    background-color: #f4f4f4;
    border-radius: 0.5rem;
}

.tracking .tracking-item-pending .tracking-content span {
    display: block;
    color: #767676;
    font-size: 0.8rem;
}

.tracking .tracking-item-pending .tracking-icon {
    line-height: 2.6rem;
    position: absolute;
    left: -0.7rem;
    width: 1.1rem;
    height: 1.1rem;
    text-align: center;
    border-radius: 50%;
    font-size: 0.8rem;
    color: #d6d6d6;
}

.tracking .tracking-item-pending .tracking-content {
    font-weight: 600;
    font-size: 0.8rem;
}

.tracking .tracking-item .tracking-icon.status-current {
    width: 1.9rem;
    /* height: 1.9rem; */
    left: -1.1rem;
}

.tracking .tracking-item .tracking-icon.status-cancelled {
    color: red !important;
    font-size: 0.5rem;
}

.tracking .tracking-item .tracking-icon.status-intransit {
    color: var(--primary-color);
    font-size: 0.5rem;
}

.tracking .tracking-item .tracking-icon.status-current {
    color: var(--primary-color);
    font-size: 0.5rem;
}

@media (min-width: 992px) {
    .tracking .tracking-item {
        margin-left: 8rem;
    }

    .tracking .tracking-item .tracking-date {
        position: absolute;
        left: -11rem;
        width: 7.5rem;
        text-align: right;
    }

    .tracking .tracking-item .tracking-date span {
        display: block;
    }

    .tracking .tracking-item .tracking-content {
        padding: 0;
        background-color: transparent;
    }

    .tracking .tracking-item-pending {
        margin-left: 8rem;
    }

    .tracking .tracking-item-pending .tracking-date {
        position: absolute;
        left: -11rem;
        width: 7.5rem;
        text-align: right;
    }

    .tracking .tracking-item-pending .tracking-date span {
        display: block;
    }

    .tracking .tracking-item-pending .tracking-content {
        padding: 0;
        background-color: transparent;
    }
}

.tracking .tracking-item .tracking-content {
    font-weight: 600;
    font-size: 0.8rem;
}

/* Pop up image css */

.image-popup {
    cursor: pointer;
}

.imageModal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 9999;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.9);
    /* Black w/ opacity */
}

.imageModal .modal-content {
    margin: auto;
    display: block;
    width: auto;
    max-width: 80%;
    max-height: 80%;
}

/* The Close Button */
.imageModal .close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 32px;
    font-weight: bold;
}

.imageModal .close:hover,
.imageModal .close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Modal Content (image) */
.imageModal .modal-content {
    animation-name: zoom;
    animation-duration: 0.6s;
}

/* Responsive Design */
@media (max-width: 768px) {
    .modern-sidebar {
        transform: translateX(-280px);
    }

    .modern-sidebar.mobile-show {
        transform: translateX(0);
    }

    .modern-navbar {
        left: 0;
    }

    .main-content {
        margin-left: 0;
    }

    .sidebar-toggle {
        display: block;
    }

    .page-title {
        font-size: 1rem;
    }

    .user-info {
        display: none;
    }

    .navbar-right {
        gap: 0.5rem;
    }
}

@media (max-width: 576px) {
    .modern-navbar {
        padding: 0 1rem;
    }

    .page-title {
        display: none;
    }

    .main-content {
        padding: 1rem;
    }
}

/* Animation Enhancements */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.nav-link {
    animation: slideIn 0.3s ease-out;
}

.modern-dropdown {
    animation: slideIn 0.2s ease-out;
}

/* Enhanced Focus States for Accessibility */
.sidebar-toggle:focus,
.notification-btn:focus,
.message-btn:focus,
.user-toggle:focus {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
}

.nav-link:focus {
    outline: 2px solid var(--primary-green);
    outline-offset: -2px;
}

/* Custom Scrollbar for Dropdown */
.dropdown-notification::-webkit-scrollbar {
    width: 4px;
}

.dropdown-notification::-webkit-scrollbar-track {
    background: transparent;
}

.dropdown-notification::-webkit-scrollbar-thumb {
    background: var(--primary-green-light);
    border-radius: 2px;
}

/* Loading States */
.nav-link.loading {
    opacity: 0.6;
    pointer-events: none;
}

.nav-link.loading::after {
    content: "";
    width: 12px;
    height: 12px;
    border: 2px solid var(--primary-green-light);
    border-top: 2px solid var(--primary-green);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Hover Effects for Better UX */
.modern-sidebar .nav-item:hover .nav-link:not(.active) {
    background-color: var(--sidebar-hover);
}

.has-submenu:hover > .nav-link::after {
    color: var(--primary-green);
}

/* Badge Styles */
.nav-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: var(--primary-green);
    color: white;
    font-size: 0.7rem;
    padding: 0.125rem 0.25rem;
    border-radius: 6px;
    font-weight: 600;
}

/* Modern Card Overrides */
.card {
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.card-header {
    background: white;
    border-bottom: 1px solid var(--border-color);
    border-radius: 12px 12px 0 0 !important;
}

/* Button Enhancements */
.btn-primary {
    background: var(--primary-green);
    border-color: var(--primary-green);
}

.btn-primary:hover {
    background: var(--primary-green-dark);
    border-color: var(--primary-green-dark);
}

.btn-outline-primary {
    color: var(--primary-green);
    border-color: var(--primary-green);
}

.btn-outline-primary:hover {
    background: var(--primary-green);
    border-color: var(--primary-green);
}

/* Table Enhancements */
.table thead th {
    background: var(--primary-green-ultra-light);
    color: var(--primary-green-dark);
    border-bottom: 2px solid var(--primary-green-light);
    font-weight: 600;
}

/* Form Enhancements */
.form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(34, 197, 94, 0.25);
}

/* Alert Enhancements */
.alert-success {
    background-color: var(--primary-green-ultra-light);
    border-color: var(--primary-green-light);
    color: var(--primary-green-dark);
}

@keyframes zoom {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

/* Pagination CSS Start  */

.page-link {
    color: var(--primary-color);
}

.page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Pagination CSS End */
