:root {
    --border-color: #999;
}

body {
    font-family: 'Calibri', 'Arial', sans-serif;
    background-color: white;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
.site-main_box{
    /*display: flex;*/
    height: auto;
    width: 100%;
}
.main-wrapper {
    display: flex;
	padding-bottom:0px;
}
header {
    background-color: #fff;
    padding: 20px;
}

footer {
    background-color: #043679; color:#fff;
	text-align:center;
    padding: 20px;
}

header {
    padding: 0px !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999; /* Ensure it stays above other elements */
}
button {
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
}
button:hover {
    background-color: #555;
}
thead, tbody {
    border: 1px solid var(--border-color) !important;
}
tr td {
    border: 1px solid var(--border-color) !important;
    /*border-right: 1px solid #ddd !important;*/
    border-bottom: none !important;
    border-top: none !important;
}
h1, h2, h3, h4, h5, h6, p, a {
    font-family: 'Calibri', 'Arial', sans-serif;
}

.table-responsive {
    overflow-x: auto;
    width: calc(100vw - 306px);
    min-width: 310px;
    -webkit-overflow-scrolling: touch;
}

/*.woocommerce button.button {
    background-color: #333;
    color: #fff;
    padding: 10px;
    border: none;
    cursor: pointer;
}
.woocommerce button.button:hover {
    background-color: #555;
}*/

/* --- Woocommver Notices --- */
.woocommerce-error::before {
    color: #333333;
}
.woocommerce-error {
    border-top-color: #333333;
}
.woocommerce-error li{
   margin: 5px 0px;
}

.greeting-sentence {
    font-size: 32px;
    margin: 10px 0px;
}

/*.customer_greeting-wrapper {
    display: flex;
    flex-direction: column;
}

.greeting-sentence, 
.customer_greeting-wrapper span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}*/

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.myaccbanner { background-image: url(https://elitecounterinsurance.com/wp-content/uploads/2024/05/Elite-Counter-Insurance-About-header.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #eaeaea;
	height:60vh; 
	margin-bottom:30px;
}

.actual-main-content {
    padding: 20px;
}

.hamburger {
    display: none;
}

@media (max-width: 990px) {
    .greeting-sentence {
        font-size: 28px !important;
    }
    .customer_greeting-wrapper span {
        font-size: 14px !important;
    }
}

@media (max-width: 654px) {
    .header-middle {
        display: none !important;
    }
    .header-right{
        justify-content: space-between;
    }
    .header-right .profile-picture img{
        border: none !important;
        border-radius: none !important;
        width: 100px !important;
        height: 100px !important;
    }
    .customer_greeting-wrapper{
        display: none !important;
    }
}

@media (max-width: 575px) {
    .customer_dashboard_menu-wrapper a span {
        font-size: 28px !important;
    }

    .customer_dashboard_menu-wrapper a img {
        height: 78px !important;
    }

    .customer_dashboard_menu-wrapper a {
        width: 90% !important;
        margin: auto !important;
        aspect-ratio: 2 / 1.25 !important;
    }
}

/* Responsive Styles */
/*@media (max-width: 768px) {*/
@media (max-width: 850px) {
    .sidebar {
        display: none !important;
        /*padding: 0 !important;
        width: 0 !important;
        overflow: hidden !important;
        transition: width 0.3s !important;*/
    }
    
    /*.sidebar.active {
        width: 200px !important;
    }*/

    .magic-sidebar {
        display: none;
    }

    .magic-sidebar.active {
        display: block;
        width: 200px;
        left: 0;
    }

    .hamburger {
        display: block;
        /*margin-right: auto;*/
        font-size: 24px;
        cursor: pointer;
    }

    .table-responsive {
        width: calc(100vw - 40px);
    }

    /*.header-middle {
        display: none;
    }*/

    .customer_greeting-wrapper {
        min-width: 350px !important;
    }
    .greeting-sentence {
        font-size: 28px !important;
    }
    .customer_greeting-wrapper span {
        font-size: 14px !important;
    }

    .header-right {
/*        justify-content: flex-end;*/
        width: 100%;
    }
}

@media (max-width: 740px) {
    .customer_greeting-wrapper {
        min-width: 0 !important;
    }
}

@media (max-width: 480px) {
    /*.sidebar {
        padding: 0 !important;
        width: 0 !important;
    }*/

    /*.header-middle {
        display: none !important;
    }*/

    .header-right {
/*        justify-content: flex-end;*/
        width: 100%;
    }

    .actual-main-content {
        padding: 10px;
    }
}

/* ============================================== */
/* =============== Header Styling =============== */
/* ============================================== */
.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /*background-color: #34495e;*/
    /*color: white;*/
    padding: 10px 20px;
}
/* First div gets the same width as the sidebar */
.header-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.header-left img {
    /*max-height: 150px;*/
    width: 100%;
    height: auto;
}
.sidebar-navigation-menus{
/*    margin: 40px 0px;*/
}
/* Second div takes 70% of the remaining space */
/*.header-middle {
    display: flex;
    align-items: center;
}*/
.header-middle {
    display: flex;
    align-items: center;
    flex-grow: 1; /* Allow the header-left to expand */
    min-width: 0; /* Prevent flexbox from expanding beyond its container */
}

.customer_greeting-wrapper {
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Allow the greeting-wrapper to expand */
    min-width: 0; /* Prevent flexbox from expanding beyond its container */
}

.greeting-sentence,
.customer_greeting-wrapper span {
    white-space: nowrap; /* Prevents text from wrapping */
    overflow: hidden; /* Hides overflowing text */
    text-overflow: ellipsis; /* Shows ellipsis (...) when the text overflows */
    width: 100%; /* Ensures that the text fills the available width */
}

/* Third div takes 30% of the remaining space */
.header-right {
    display: flex;
    align-items: center;
/*    justify-content: flex-end;*/
    gap: 15px;
    position: relative; /* Important for dropdown positioning */
}
.company-name {
    font-size: 18px;
    font-weight: bold;
    margin-left: 5px;
    cursor: pointer;
}
.profile-picture img {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    object-fit: contain;
    border: 1px solid #333;
}
.dropdown-icon,
.settings-icon,
.search-icon {
    font-size: 20px;
    cursor: pointer;
    color: #333;
}
.dropdown-menu {
    display: none; /* Hidden by default */
    position: absolute;
    top: 100%; /* Show dropdown below the icon */
    right: 0; /* Align the dropdown to the right */
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    width: 150px;
    z-index: 1000;
}
.dropdown-menu ul {
    list-style: none;
    margin: 0;
    padding: 10px 0;
}
.dropdown-menu ul li {
    padding: 10px 15px;
}
.dropdown-menu ul li a {
    text-decoration: none;
    color: #333;
    display: block;
    font-size: 16px;
    transition: background 0.3s ease;
}
.dropdown-menu ul li a:hover {
    background-color: #f1f1f1;
}
.dropdown-icon {
    margin-right: 15px;
}
/* Hidden search input by default */
.header-right .search-input {
    display: none;
    padding: 5px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 150px !important;
    margin-right: 10px; /* Space between input and search icon */
    transition: width 0.3s ease; /* Smooth expansion effect */
}

/* Show search input when active */
.header-right.search-active .search-input {
    display: inline-block;
}


/* =============================================== */
/* =============== Sidebar Styling =============== */
/* =============================================== */
#menu-acedezyn-portal-menu {
    padding-left: 0px;
}
#menu-acedezyn-portal-menu li{
    list-style: none !important;
}

/*.magic-sidebar {
    background-color: #f4f4f4;
    width: 200px;
    padding: 20px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    transition: all 0.3s ease;
    display: none;
    z-index: 1000;
    box-shadow: 2px 0 5px rgba(0,0,0,0.5);
}*/
.magic-sidebar {
    background-color: #f4f4f4;
    width: 200px;
    padding: 20px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    border-right: 1px solid;
    
    /* Set min-height to ensure it shows all menu items */
    min-height: 100vh; /* At least full viewport height */
    
    /* Set height to adapt to the longer content of the page */
    height: auto;
    
    /* Ensure the sidebar resizes when content expands */
    bottom: 0;
    overflow-y: auto; /* Allows scrolling if content overflows */
    
    display: none; /* Initially hidden */
}
.magic-sidebar a {
    display: flex; /* Set flex layout on the parent link */
    align-items: center; /* Align icon and text vertically */
    padding: 10px;
    margin: 5px 0;
    text-decoration: none;
    color: #666;
}
.magic-sidebar a span {
    flex-grow: 1; /* Allow the text to take the remaining space */
    white-space: nowrap; /* Prevent text from wrapping */
    overflow: hidden; /* Hide overflowed text */
    text-overflow: ellipsis; /* Show '...' for overflowed text */
}
.magic-sidebar a img {
    width: 24px; /* Set a fixed width for the icon */
    height: 24px; /* Set a fixed height for the icon */
    margin-right: 10px; /* Add spacing between the icon and text */
    flex-shrink: 0; /* Prevent icon from shrinking */
}

.sidebar {
    background-color: #f4f4f4;
    width: 250px;
    min-width: 230px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    /*justify-content: space-between;*/
    border-right: 1px solid;
    min-height: 100vh;
    height: auto;
    bottom: 0;
}
.sidebar li, .magic-sidebar li {
    margin: 5px 0;
}
.sidebar a{
    display: block;
    padding: 10px;
    margin: 5px 0px;
    text-decoration: none;
    color: #666;
}
.additional-menu li.menu-item a.active{
    border-radius: 12px;
    background-color: #333;
    color: #ffffff;
}
.sidebar a:hover, .magic-sidebar a:hover {
    border-radius: 12px;
    background-color: #ccc;
	 color: #ffffff;
}
.sidebar-menu a.active{
    border-radius: 12px;
    background-color: #333;
    color: #ffffff;
}
/*.sidebar-menu li a .fa {
    margin-right: 10px;
}*/
/*/*.sidebar-menu li.menu-item-210 a:before {
    content: "\f3fd";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}*/
/*.sidebar-menu li.menu-item-204 a:before {
    content: "\f07a";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}
.sidebar-menu li.menu-item-201 a:before {
    content: "\f5de";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}
.sidebar-menu li.menu-item-200 a:before {
    content: "\f15c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}
.sidebar-menu li.menu-item-199 a:before {
    content: "\f590";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}
.sidebar-menu li.menu-item-206 a:before {
    content: "\f0ae";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}*/
/* Bottom Side Bar Menu Style */
.additional-menu {
    margin-top: 20%;
}
.additional-menu-items {
    list-style: none; /* Removes default list styling */
    padding: 0;      /* Removes padding */
}
.additional-menu-items li a {
    text-decoration: none; /* Removes underline from links */
    color: #666;          /* Link color */
}
.additional-menu-items li a span {
    margin-left: 10px;  /* Add left margin to the text span */
}
.additional-menu-items .menu-link.active {
    border-radius: 12px;
    background-color: #333;
    color: white;
}
.additional-menu-items .menu-link.active i {
    color: white; /* Ensure the icon also changes color */
}

.submenu-items {
    display: none; /* Initially hidden */
    padding-left: 20px;
    list-style: none;
    /*margin: 5px 0;*/
}
.submenu-items.show {
    display: block;
}
.submenu-link.active {
    background-color: #333;
    color: #fff;
    border-radius: 12px;
}
.submenu-link.active:hover {
    background-color: #333;
}
.submenu-items li {
    margin-top: 5px;    /* Space between submenu items */
}
.submenu-link {
    text-decoration: none;
    color: #333;
}

.sidebar-menu a span{
    margin-left: 10px;
}

.menu-link img {
    width: auto;
    height: 20px;
   /* vertical-align: bottom;*/
}
.menu-link.active img {
    filter: brightness(0) invert(1);
}

.menu-link.active:hover img {
    filter: brightness(1) invert(0);
}

/* ======================================================= */
/* =============== Cart & Checkout Styling =============== */
/* ======================================================= */



.cart-table, .checkout-table {
    width: 100%;
    border-collapse: collapse;
}
.cart-table th, .checkout-table th,.cart-table td, .checkout-table td {
    border: 1px solid var(--border-color);
    padding: 8px;
    text-align: left;
}
.cart-total {
    margin-top: 20px;
    text-align: right;
}

.cart-total-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Aligns both the table and the button to the right */
    margin-top: 20px;
}

.cart-total-table {
    border-collapse: collapse;
    width: auto; /* Automatically adapts to the button width */
    margin-bottom: 20px;
}

.cart-total-table th, 
.cart-total-table td {
    border: 1px solid var(--border-color);
    padding: 10px;
    text-align: left;
}

.cart-total-table th {
    background-color: #f4f4f4;
    color: #333;
    font-weight: bold;
}

.cart-total-table td:nth-child(2) {
    width: 150px; /* Adjusts the width of the second column */
}

.proceed-checkout-button {
    display: inline-block; /* Ensures button width control */
    width: 310px; /* Set button width (same as total table width) */
    background-color: #333;
    color: white;
    padding: 10px 20px;
    text-align: center; /* Ensures the button text is centered */
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.proceed-checkout-button:hover {
    background-color: #555;
}


.woocommerce table.shop_table {
    border-collapse: collapse;
}


.cart-total-table {
    width: 350px; /* Set table width equal to the button width */
}

.cart-total-heading {
    text-align: center !important;
}

.cart-table, .checkout-table, .woocommerce-cart .shop_table {
    color: #666;
    width: 100%;
    border-collapse: collapse;
    border-radius: 0px;
}

table.shop_table.shop_table_responsive, table.shop_table.shop_table_responsive td {
    border: 1px solid var(--border-color) !important;
    border-collapse: collapse !important;
} 

/* Table Header and Cell Styles */
.cart-table th, .checkout-table th, .cart-table td, .checkout-table td, .woocommerce-cart .shop_table td {
    border: 1px solid var(--border-color);
    padding: 8px;
    text-align: left;
}

.shop_table thead {
    background-color: #f4f4f4;
}

.cart_totals .shop_table thead tr th {
    text-align: center !important;
}

.shop_table tbody tr th {
    color: #000 !important;
}

/* Cart Total Styles */
.cart-total, .woocommerce-cart .cart_totals {
    margin-top: 20px;
    /*text-align: right;*/
}

/* Header Styles for Cart Totals */
.woocommerce-cart .cart_totals h2 {
    margin-bottom: 10px;
}

a.checkout-button.button.alt.wc-forward {
    background-color: #333;
    font-weight: 300;
}

a.checkout-button.button.alt.wc-forward:hover {
    background-color: #555;
}

.woocommerce-cart table th.product-remove,
.woocommerce-cart table td.product-remove {
/*    display: none;*/
}

.cart_totals table {
    width: 100%;
    border-collapse: collapse; /* Make rows collapse */
}

.cart_totals th {
    background-color: #f4f4f4; /* Optional: change background color */
    padding: 10px; /* Adjust padding */
    text-align: left; /* Align text */
}

.cart_totals td, .cart_totals th {
    border: 1px solid var(--border-color);
}
.custom_empty-cart-inner-description {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* ======== Checkout Page ========== */
.woocommerce a.remove{
    color: #000000 !important;
}
.woocommerce a.remove:hover {
    background: #333333;
}

.custom-checkout-form{
    display: flex;
    background-color: #f4f4f4;
    border: 1px solid black;
    border-radius: 10px;
}
.custom-checkout-form .customer_details{
    width: 65%;
    padding: 30px !important;
}
.custom-checkout-form .woocommerce-checkout-review-order{
    width: 40%;
    padding: 20px;
}
.custom-checkout-form .billing-fields-main, .woocommerce-additional-fields {
    padding: 20px;
}
.checkout_place-order-btn-wrapper button{
    width: 100%;
    background-color: #333 !important;
}
.checkout_place-order-btn-wrapper button:hover{
    background-color: #555 !important;
}

.custom-checkout-form .product-name p{
    margin: 2px 0px !important; 
}

.custom-checkout-form input.input-text {
    height: 35px;
    padding: 10px;
    border: 1px solid #dedede;    
    background-color: #dedede;
    color: black; /* Adjust text color for better readability */
}

.custom-checkout-form select.country_select {
    border: 1px solid #dedede;
    background-color: #dedede;
    color: black; /* Adjust text color for better readability */
}
.pagination{
    margin: 1rem;
}

/* ======================================================= */
/* ======= Order Page ========= */
.order-pagination {
    display: flex;
    justify-content: space-between; /* Aligns the buttons on left and right */
    margin: 20px 0;
}

.order-pagination a {
    padding: 10px 20px;
    background-color: #333;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.order-pagination a:hover {
    background-color: #555;
}

.order-pagination .prev-page {
    margin-right: auto; /* Aligns Previous button to the left */
}

.order-pagination .next-page {
    margin-left: auto; /* Aligns Next button to the right */
}
/* Cart Notice */
.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-message {
    border-top-color: #000000 !important;
}
.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-message::before {
    content: "\e015";
    color: #000000;
}
.woocommerce-info {
    border-top-color: #333333 !important;
}
.woocommerce-info::before {
    color: #333333;
}


/* Styling for Orders Table */
.vendor-products-table {
    color: #666;
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}
.vendor-products-table thead tr {
    border: 1px solid var(--border-color);
}



.user-orders-table {
    color: #666;
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.vendor-products-table th, .vendor-products-table td {
    padding: 12px;
    text-align: left;
    /*border-bottom: 1px solid #e0e0e0;*/
}

.vendor-products-table th {
    background-color: #f2f2f2;
    font-weight: bold;
}

.vendor-products-table td {
    background-color: white;
}

.user-orders-table tr:hover, .vendor-products-table tr:hover {
    background-color: #f5f5f5;
}

/*.user-orders-table thead tr*/
.user-orders-table th, .user-orders-table td {
    padding: 12px 15px;
    text-align: center;
    background-color: white;
    border: 1px solid var(--border-color);
}
.user-orders-table td {
    border-color: var(--border-color) !important;
}

.user-orders-table .days_count{
    font-size: large;
    padding: 15px;
    border-radius: 4px;
    max-width: 80px;
    /*border-width: thin;*/
}

.user-orders-table th {
    /*background-color: #f4f4f4;*/
    font-weight: bold;
}

.user-orders-table tbody {
    border-color: var(--border-color) !important;
}

.user-orders-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.user-orders-table tbody tr:hover {
    background-color: #f1f1f1;
}

/* Styling for View Order Button */
.view-order-button {
    background-color: #0071a1;
    color: #fff;
    padding: 10px 15px;
    text-decoration: none;
    display: inline-block;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.user-orders-table .order-view-btn{
    text-align: center;
}
.user-orders-table .button{
    border: 2px solid #333;
    padding: 6px 20%;
    background-color: transparent;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s ease;
}
.user-orders-table .button:hover {
    background-color: #333;
    color: white;
}

.see-all-btn-wrapper{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin: 10px 0px ;
}
.see-all-btn-wrapper button{
    background: #e4e4e4;
    color: #333;
    border-radius: 8px;
}
.see-all-btn-wrapper button a{
    text-decoration: none;
    color: #333;
    font-weight: 600;
}

/* Responsive Styles */
@media only screen and (max-width: 768px) {
    .user-orders-table th, .user-orders-table td {
        padding: 10px;
        font-size: 14px;
    }

    .view-order-button {
        padding: 8px 12px;
        font-size: 14px;
    }
}


/* -------------------- Purchase Coverage --------------------- */
.select2-container--default .select2-selection--multiple, .booked-days-select {
    border: 2px solid #333 !important;
    border-radius: 0px !important;
}



/* -------------------- customer sport --------------------- */
.customer-service {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f4f4f4;
    border: 1px solid black;
    border-radius: 10px;
    width: 100%; /* Relative width based on the parent container */
    height: auto; /* 60% of the viewport height */
    margin: 0 auto; /* Center the entire form horizontally */
    /*max-width: 640px;*/ /* Optional: maximum width to prevent it from getting too large */
    /*max-height: 540px;*/ /* Optional: maximum height */
    position: relative;
}

.inner-box {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    /*background-color: white;
    border: 1px solid black;
    border-radius: 10px;*/
    width: 90%; /* Relative width based on the custom-checkout-form */
    height: 90%; /* Relative height based on the custom-checkout-form */
    text-align: center;
   /* max-width: 420px;  Optional: maximum width for inner box */
   /* max-height: 420px;  Optional: maximum height for inner box */
    color: #666;
	padding:20px;
}

.inner-box i {
    font-size: 12vw; /* Responsive icon size based on viewport width */
    margin-bottom: 12px;
}

.inner-box p {
    /*font-size: 2vw;*/ /* Responsive font size based on viewport width */
    margin: 0px;
}

.inner-box p.add-bottom-space {
    /*font-size: 2vw;*/ /* Responsive font size based on viewport width */
    margin-bottom: 1em;
}
.inner-box a{
    text-decoration: none;
    color: #043679;
}
.inner-box img{
    width: auto;
    height: auto;
    margin-bottom: 12px;
}


/* ---------------- Brochure Page ------------------ */
.brochure-page {
    color: white;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Allows up to 3 items per row based on available space */
    gap: 20px; /* Space between each div */
    background-color: #043679;
    border: 1px solid #043679;
    border-radius: 10px;
    padding: 20px; /* Adds padding inside the form */
}

.item-box {
    display: flex;
    flex-direction: column;
    /*align-items: center;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 15px;
    text-align: center;*/
    transition: box-shadow 0.3s ease;
}

.item-box:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add shadow on hover */
}

.item-box img {
    width: 100%;
    max-width: 350px; /* Adjust size of the image */
    height: auto;
    /*border-radius: 5px;*/
    /*margin-bottom: 10px;*/
    margin-top: auto;
    margin-bottom: auto;
}

.item-box h3 {
    font-size: 1.2rem;
    margin: 10px 0;
}

.item-box button {
    background-color: #f4f4f4;
    color: #111;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    width: 50%;
    font-weight: bold;
    margin-top: 10px;
    max-width: 200px;
}

.item-box button:hover {
    background-color: #ccc;
}



/* -------------------------- Edit Account / Edit Address---------------------------- */
.woocommerce-EditAccountForm.edit-account input,
.woocommerce-address-fields input,
.woocommerce-form.woocommerce-form-login.login input {
    height: 35px;
    padding: 10px;
    border: 1px solid #dedede;
    background-color: #dedede;
    color: black;
}
.woocommerce-EditAccountForm.edit-account, .woocommerce-address-fields, .woocommerce-form.woocommerce-form-login.login {
    background-color: #f4f4f4;
    border: 1px solid black;
    border-radius: 10px;
    padding: 20px;
}
button.woocommerce-Button{
    background-color: #333 !important;
    color: white !important;
}
button.woocommerce-Button:hover{
    background-color: #555 !important;
}


/* ============================ Login Page ============================= */
.center-content {
    width: fit-content;
    margin: 0 auto;
}

/*body.woocommerce-account .main-content {
    width: 100%;
}*/

.woocommerce-form__label-for-checkbox {
    display: inline-block;
}
.woocommerce-form__input-checkbox {
    vertical-align: middle; /* Aligns the checkbox and text vertically */
}
.woocommerce-form__label-for-checkbox span {
    vertical-align: middle; /* Ensures the label text aligns with the checkbox */
}


/* Target the select2 container in multiple select mode */
.select2-container--default .select2-selection--multiple {
    position: relative;
    padding-right: 30px; /* Add space for the dropdown icon */
}
/* Add a custom dropdown arrow icon */
.select2-container--default .select2-selection--multiple:after {
    content: "\f078"; /* Font Awesome's 'fa-chevron-down' */
    font-family: FontAwesome;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #333;
    cursor: pointer;
}




/* ============================ Dashboard Page Table Style =============================*/
.recent_orders-list{
    color: #666;
    /*border: 1px solid #333;*/
    border-radius: 10px;
    padding: 20px;
    background-color: #f4f4f4;
}
.recent_orders-list table {
    width: 100%;
    border: 1px solid #333;
    border-collapse: collapse;
}

.recent_orders-list table thead th {
    padding: 12px;
    color: #666;
    text-align: center;
    font-size: 16px;
}

.recent_orders-list table tbody td {
    padding: 12px;
    text-align: center;
}

.recent_orders-list th, .recent_orders-list td {
    border-left: 1px solid #555 !important;
    border-right: 1px solid #555 !important;
    padding: 8px;
    text-align: left;
}
.recent_orders-list thead, .recent_orders-list tbody {
    border: 1px solid #555 !important;
}


.woocommerce-Price-amount {
    color: black;
    font-weight: bold;
}

.woocommerce-orders-table__cell a.button.view {
    border: 2px solid #043679;
    padding: 6px 20%;
    background-color: transparent;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.woocommerce-orders-table__cell a.button.view:hover {
    background-color: #043679;
    color: white;
}

/* ========================= My Account Related CSS ========================== */
.woocommerce-Address-title.title {
    position: relative;
}

.woocommerce-MyAccount-content {
    width: 100% !important;
}

/* ==================== Need to ararnge ================== */

.thankyou-page-billing-address address{
     background-color: #f4f4f4 !important;
}
.thankyou-page-items p{
    margin: unset;
}
.woocommerce-order ul{
    list-style: none !important;
    padding: unset !important;
    background-color: #f4f4f4 !important;
    padding: 10px !important;
    border: 1px solid rgba(0,0,0,.1) !important;
    border-radius: 5px !important;
}

table.shop_table.woocommerce-checkout-review-order-table tr.cart_item, 
table.shop_table.woocommerce-checkout-review-order-table td.product-name {
    border: 1px solid var(--border-color) !important;
}
table.shop_table.woocommerce-checkout-review-order-table tfoot tr.order-total {
    border: 1px solid var(--border-color) !important;
}

button.add_to_cart_button.disabled-button {
    opacity: 1;
}


/* 8=8=8=8=8=8=8=8=8=8=8=8= Responsive Table Custome CSS =8=8=8=8=8=8=8=8=8=8=8=8=8 */

.rwd-table {
  margin: auto;
  min-width: 300px;
  max-width: 100%;
  border-collapse: collapse;
}

.rwd-table tr:first-child {
  /*border-top: none;
  background: #428bca;
  color: #fff;*/
}

.rwd-table tr {
  /*border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  background-color: #f5f9fc;*/
}

.rwd-table tr:nth-child(odd):not(:first-child) {
  /*background-color: #ebf3f9;*/
}

.rwd-table th {
  display: none;
}

.rwd-table td {
  display: block;
}

.rwd-table td:first-child {
  margin-top: .5em;
}

.rwd-table td:last-child {
  margin-bottom: .5em;
}

.rwd-table td:before {
  content: attr(data-th) ": ";
  font-weight: bold;
  width: 35%;
  display: inline-block;
  /*color: #000;*/
}

.rwd-table th,
.rwd-table td {
  text-align: left !important;
  border: none !important; 
}

.rwd-table {
  /*color: #333;*/
  /*border-radius: .4em;*/
  overflow: hidden;
}

.rwd-table tr {
  /*border-color: #bfbfbf;*/
}

.rwd-table th,
.rwd-table td {
  padding: .5em 1em;
}
@media screen and (max-width: 601px) {
  .rwd-table tr:nth-child(2) {
    /*border-top: none;*/
  }
}
@media screen and (min-width: 600px) {
  .rwd-table tr:hover:not(:first-child) {
    /*background-color: #d8e7f3;*/
  }
  .rwd-table td:before {
    display: none;
  }
  .rwd-table th,
  .rwd-table td {
    display: table-cell;
    padding: .25em .5em;
  }
  .rwd-table th:first-child,
  .rwd-table td:first-child {
    padding-left: 0;
  }
  .rwd-table th:last-child,
  .rwd-table td:last-child {
    padding-right: 0;
  }
  .rwd-table th,
  .rwd-table td {
    padding: 1em !important;
  }
}



/**********************************************************/

.order-details-wrapper, .product-details-wrapper, 
.billing-details-wrapper, .first-driver-details-wrapper, 
.billing-details-wrapper h3, .first-driver-details-wrapper h3, 
.woocommerce-order {
    color: #666;
}

.product-details-wrapper h3 {
    color: #666 !important;
}

.billing-details-wrapper, .billing-details-wrapper address {
    font-style: normal !important;
}

.woocommerce .woocommerce-customer-details .woocommerce-customer-details--email::before {
    line-height: 1;
}


/* ===== Checkout Page Media Query  ====== */
@media (max-width: 1024px) {
    .checkout.woocommerce-checkout.custom-checkout-form{
        flex-direction: column;
    }.custom-checkout-form .woocommerce-checkout-review-order{
        width: 100%;
    }
    .woocommerce form .form-row-first, .woocommerce form .form-row-last, .woocommerce-page form .form-row-first, .woocommerce-page form .form-row-last{
        width: 100% !important;
    }
}
/* ==== END Checkout Page Media Query ==== */

/* ==== My Account Order Table ===== */
.woocommerce-orders-table.woocommerce-MyAccount-orders.shop_table tbody th,
.woocommerce-orders-table.woocommerce-MyAccount-orders.shop_table tfoot td, .woocommerce table.shop_table tfoot th{
    border-top: unset !important;
}
.woocommerce-orders-table.woocommerce-MyAccount-orders.my_account_orders th,
.woocommerce-orders-table.woocommerce-MyAccount-orders.shop_table.shop_table_responsive,
.woocommerce-orders-table.woocommerce-MyAccount-orders.shop_table.shop_table_responsive td{
    border: unset !important;
    border-right: 1px solid var(--border-color) !important;
    border-left: 1px solid var(--border-color) !important;
    padding: 12px 15px !important;
    text-align: center !important;
}

.woocommerce-orders-table.woocommerce-MyAccount-orders.shop_table th[data-title="Order"]{
    font-weight: unset !important;
}
.woocommerce-orders-table.woocommerce-MyAccount-orders.shop_table thead{
    background-color: unset !important;
    color: #666 !important;
}

.woocommerce-orders-table.woocommerce-MyAccount-orders .woocommerce-orders-table__cell a.button.view{
    border-radius: 0px;
}

.woocommerce-MyAccount-content .woocommerce-pagination .woocommerce-button{
    background-color: #e4e4e4;
    padding: 10px 20px !important;
    color: #333;
    padding: 10px 20px !important;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    font-weight: 500;
}
/*.woocommerce-MyAccount-content .woocommerce-pagination .woocommerce-button:hover{
    background-color: #555;
    color:  white;
}*/
a.woocommerce-button.woocommerce-button--next.woocommerce-Button.woocommerce-Button--next.button{
    float: right;
}
/* ==== END My Account Order Table ===== */

/* ==== Order Single Page ==== */
.order-details-wrapper{
    margin: 20px 0px;
}
.order-details-wrapper .order-details-table{
    width: 100%;
    text-align: center !important;
}
.order-details-wrapper .order-details-table th{
    background-color: #f9f9f9;
}
.order-details-wrapper .order-details-table tr td,
.order-details-wrapper .order-details-table tr th{
/*    word-wrap: break-word;*/
    padding: 10px 10px;
}
.order-details-wrapper .order-details-table tbody tr th{
    border-bottom: 1px solid var(--border-color) !important;
}

.woocommerce-order-details .woocommerce-table.woocommerce-table--order-details.shop_table.order_details tfoot{
    background-color: #f9f9f9;
    border: 1px solid var(--border-color) !important;
}

/* ==== User Registration Section ==== */
.woocommerce-form.woocommerce-form-register.register{
    background-color: #f4f4f4;
    border: 1px solid black;
    border-radius: 10px;
    padding: 20px;
}
.woocommerce-form.woocommerce-form-register.register input.input-text{
    height: 35px;
    padding: 10px;
    border: 1px solid #dedede;
    background-color: #dedede;
    color: black;
}

.woocommerce-account .u-column1.col-1 h2,
.woocommerce-account .u-column2.col-2 h2{
    text-align: center;
}
/* Progress bar csv import */
#progress-bar {
    width: 100%;
    height: 20px; /* Adjust height for larger appearance */
}

#progress-percent {
    font-size: 16px;
    margin-top: 5px;
    display: inline-block;
    text-align: center;
}
/* Upload logo button styling */
.upload_log_wrapper{
    /*display: flex;
    
    gap: 10px;*/
    margin-bottom: 20px;
}
.upload_log_wrapper input{
    height: auto !important;
}
/* Booked Button Style */
.booked-days-select {
    width: 100%;
    height: 38px;
}

select:focus-visible {
    outline-offset: -321px;
}

input.select2-search__field--multiple {
    border: none;
    outline-offset: -321px;
}

button.woocommerce-button.button.woocommerce-form-login__submit {
    color: white;
    background-color: #333;
}

/* Clear Cart Button on cart page */
.woocommerce-cart-form .clear-cart{
    float: right;
}
table .even-row {
    background-color: rgba(0,0,0,.025) !important;
}
.rwd-table td:last-child:before{
    visibility: hidden;
}





/* ============== */
/* Login Page CSS */
/* ============== */
/*.main-tabs {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.main-tab-link {
    margin: 0 10px;
    padding: 10px 20px;
    cursor: pointer;
    background: #f7f7f7;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.main-tab-link.active {
    background: #0071a1;
    color: #fff;
    border-color: #0071a1;
}

.main-tab {
    display: none;
}

.main-tab.active {
    display: block;
}*/

.h2-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal columns */
    gap: 20px; /* Add spacing between the headers */
    justify-items: center; /* Center each header horizontally */
}

.main-tab-login:hover, .main-tab-register:hover {
    cursor: pointer;
}

.main-tab-login-container.active,
.main-tab-register-container.active {
    display: block;
}

.main-tab-login-container,
.main-tab-register-container {
    display: none; /* Hide by default */
}

.main-tab-login.active,
.main-tab-register.active {
    text-decoration: underline;
}


#customer_login {
    width: 50vw;
    margin: 0px auto;
}

/* 
    ========================
     Import Vehicle Styling
    ========================
*/

/* Hiding The Old Import Functionlity   */
.import-vehicels-section{
    display: none;
}

/* Styling to keep the buttons inline */
#vehicle-import-form, #process-data {
    display: inline-block;
    vertical-align: middle;
    margin: 5px;
}
table#skipped-rows-table, #skipped-rows-table tbody {
    border: 1px solid;
    border-collapse: collapse;
}


/* --- Import Vehicles Form Header --- */
.import-vehicle-form-header {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
    border-radius: 6px;
}

.import-vehicle-form-header .form-group {
    flex: 1 1 48%;
    display: flex;
    flex-direction: column;
}

.import-vehicle-form-header input[type="text"] {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    color: #333;
    width: 100%;
}

.import-vehicle-form-header label {
    margin-bottom: 4px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

/* ✅ Responsive: Stack fields on small screens */
@media (max-width: 768px) {
    .import-vehicle-form-header .form-group {
        flex: 1 1 100%;
    }
}


.product-field-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 15px;
    align-items: flex-start;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

/* Grouping fields with labels */
.product-field-row .form-group {
    flex: 1 1 19%; /* 4 items in a row on desktop */
    min-width: 120px;
    display: flex;
    flex-direction: column;
}

/* Adjust for smaller screens */
@media (max-width: 768px) {
    .product-field-row .form-group {
        flex: 1 1 45%; /* 2 items per row on tablets */
    }
}

@media (max-width: 480px) {
    .product-field-row .form-group {
        flex: 1 1 100%; /* 1 per row on mobile */
    }
}

.product-field-row input,
.product-field-row select {
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.product-field-row label {
    margin-bottom: 4px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.product-field-row .row-controls {
    display: flex;
    gap: 6px;
    align-items: flex-start;
    margin-top: auto;
    flex-direction: row;
}

/* Control buttons */
.row-controls {
    display: flex;
    gap: 5px;
    align-items: center;
}

.row-controls .add-row,
.row-controls .remove-row {
    cursor: pointer;
    font-weight: bold;
    font-size: 18px;
    padding: 6px 12px;
    background: #f1f1f1;
    border-radius: 4px;
    border: 1px solid #ccc;
    transition: all 0.2s;
}

.row-controls .add-row:hover,
.row-controls .remove-row:hover {
    background: #0073aa;
    color: #fff;
}

.error-message {
    flex: 1 1 100%;
    color: red;
    font-size: 13px;
}

/* Form container */
.product-create-form {
    max-width: 100%;
    padding: 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow-x: auto;
}

/* Submit button */
#submit-product {
    background-color: #043679;
    color: white;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    margin-top: 10px;
    transition: background 0.3s;
}

#submit-product:hover {
    background-color: #043679;
}

.gd_opacity {
    opacity: 0.5;
/*        pointer-events: none;*/
}

.add-product-loader{
    position: absolute;
    top: 50%;
    left: 50%;
    display: none;
}

.product_add_loader {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  border: 10px solid;
  border-color: rgba(4, 54, 121, 0.15) rgba(4, 54, 121, 0.25) rgba(4, 54, 121, 0.35) rgba(4, 54, 121, 0.5);
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

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

/* ========== END Import Styling ========= */