:root {
    --blue-color: #0075ff;
    --blue-alt-color: #0d69d5;
    --orange-color: #f59e0b;
    --green-color: #22c55e;
    --red-color: #f44336;
    --grey-color: #888;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
}

*:focus {
    outline: none;
}

a {
    text-decoration: none;
    color: #333;
}

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

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background-color: white;
}

::-webkit-scrollbar-thumb {
    background-color: var(--blue-color);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--blue-alt-color)
}

/* loading style  */
#loader {
    position: fixed;
    z-index: 999;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, .99);
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner {
    border: 8px solid #f3f3f3;
    border-radius: 50%;
    border-top: 8px solid #3498db;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* End reset page  */


/*
    * Start login page
*/

/* login page header  */
.login-head {
    padding: 0px 20px;
}
.login-head .logo img {
    max-width: 140px;
    height: auto;
}

.login-head .home-link {
    border: 2px solid #5f4b60;
    padding: 5px 10px;
    border-radius: 5px;
}

.login-head .home-link a {
    color: #5f4b60;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 5px;
}

.login-head .home-link a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}
.login-head .a-home:hover {
    color: #000;
    transition: .3s;
}
@media (max-width : 767px) {
    .login-head .logo img {
        max-width: 100px;
    }
    .login-head .home-link {
        padding: 2px;
    }
}
.login-container {
    max-width: 500px;
    margin: 50px auto;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.login-container .form-group {
    margin-bottom: 20px;
}

.login-container .form-group input[type="text"],
.login-container .form-group input[type="password"] {
    width: 100%;
    padding: 10px;
    padding-left: 40px;
    border: 1px solid #ccc;
    border-radius: 3px;
    outline: none;
    margin-top: 15px;
}

.login-container .form-group .input-icon {
    position: relative;
    margin-top: 15px;
}

.login-container .form-group .input-icon i {
    position: absolute;
    left: 10px;
    top: 60%;
    transform: translateY(-50%);
    color: #ccc;
    font-size: 16px;
}

.login-container .form-group input[type="text"]:focus,
.login-container .form-group input[type="password"]:focus {
    border-color: #007bff;
}

.login-container .form-group input[type="checkbox"] {
    margin-top: 10px;
}

.login-container .form-group button {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    width: 100%;
}

.login-container .form-group button:hover {
    background-color: #0056b3;
}

.login-container .control {
    display: flex;
    align-items: center;
}

.login-container .control input[type="checkbox"] {
    --webkit-appearance: none;
    appearance: none;
}

.login-container .control label {
    padding-left: 30px;
    cursor: pointer;
    position: relative;

}

.login-container .control label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 14px;
    height: 14px;
    border-radius: 4px;
    border: 2px solid var(--grey-color);
    margin-top: -9px;
}

.login-container .control label:hover::before {
    border-color: var(--blue-alt-color);
}

.login-container .control label::after {
    font-family: "Font Awesome 6 Free";
    content: "\f00c";
    font-weight: 900;
    position: absolute;
    border-radius: 4px;
    left: 0;
    top: 50%;
    margin-top: -9px;
    background-color: var(--blue-color);
    color: white;
    font-size: 12px;
    width: 18px;
    height: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: scale(0) rotate(360deg);
    transition: .3s;
}

.login-container .control input[type="checkbox"]:checked+label::after {
    transform: scale(1);
}

/* end login page  */


/*
  == Start SideBar
*/
.sidebar {
    width: 250px;
    box-shadow: 0 0 10px #ddd;
    position: fixed;
    z-index: 999;
    height: 100vh;
    top: 0;
    overflow-y: auto;
    left: -250px;
    transition: left 0.3s ease;
}

.sidebar.active {
    left: 0;
}

.sidebar>h3 {
    margin-bottom: 50px;
}

.sidebar>h3::before,
.sidebar>h3::after {
    content: "";
    background-color: black;
    position: absolute;
    transform: translateX(-50%);
}

.sidebar>h3::before {
    width: 80px;
    height: 2px;
    bottom: -20px;
    left: 50%;
}

.sidebar>h3::after {
    left: 50%;
    bottom: -29px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 4px solid white;
}

.sidebar ul li a {
    transition: .3s;
    margin-bottom: 5px;
}

.sidebar ul li a:hover,
.sidebar ul li a.active {
    background-color: #f6f6f6;
}

.sidebar ul li a span {
    font-size: 14px;
    margin-left: 10px;
}

@media (max-width: 767px) {
    .sidebar {
        width: 58px;
        padding: 10px;
    }

    .sidebar>h3 {
        font-size: 12px;
        margin-bottom: 15px;
    }

    .sidebar>h3::before,
    .sidebar>h3::after {
        display: none;
    }

    .sidebar ul li a span {
        display: none;
    }

}

/*
  == End SideBar
*/

/* start head For Admin Pages */
.head {
    transition: top 0.3s;
    z-index: 99;
    /* width: 1200px; */
}

.head.fixed {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 99;
}

.head .search::before {
    font-family: "Font Awesome 6 Free";
    content: "\f002";
    font-weight: 900;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: var(--grey-color);
}

.head .search input {
    margin-left: 5px;
    border-radius: 10px;
    padding-left: 30px;
    width: 200px;
    transition: width .3s;

}

.head .search input:focus {
    width: 250px;
}

.head .search input:focus::placeholder {
    opacity: 0;
}

.head .icons i {
    cursor: pointer;
}

.head .icons img {
    cursor: pointer;
    width: 32px;
    height: 32px;
    margin-left: 12px;
}

.head .icons .dropdown-menu::before {
    content: "";
    position: absolute;
    top: 0%;
    left: 90%;
    transform: translateX(-50%) rotate(180deg);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #F1F5F9;
    width: 0;
    height: 0;
}

.dropdown-menu li {
    padding: 12px 8px;
    cursor: pointer;
}

.dropdown-menu li:hover {
    background-color: #f5f5f5;
}

.dropdown-menu li a {
    color: #333;
    text-decoration: none;
}

.head .dropdown-menu::before {
    content: "";
    position: absolute;
    top: -5px;
    left: 90%;
    transform: translateX(-50%) rotate(180deg);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid #fff;
    width: 0;
    height: 0;
}

.head .dropdown-menu li a {
    display: flex;
    align-items: center;
}

.head .dropdown-menu li a i {
    margin-right: 5px;
}

.head .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    width: 150px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    list-style: none;
    padding: 8px;
    margin: 0;
    z-index: 10;
    transition: opacity 0.3s, transform 0.3s;
    opacity: 0;
    transform: translateY(-10px);
}

.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}
@media (max-width: 767px) {
    .a-home {
        font-size: 16px;
    }
}

/* End head For Admin Pages */


/*
  == Start Dashboard page
*/

/*Start main classes for all pages to manage content  */
.main-p-content {
    background-color: #f1f5f9;
    min-height: 100vh;
}

.main-p-content h1 {
    margin: 20px 20px 40px;
    text-align: left;
}

.main-p-content h1::before,
.main-p-content h1::after {
    content: "";
    height: 3px;
    position: absolute;
    bottom: -10px;
    left: 0;
}

.main-p-content h1::before {
    background-color: white;
    width: 100px;
}

.main-p-content h1::after {
    background-color: black;
    width: 40px;
}

.wrapper {
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 30px;
}

/* table.dataTable.no-footer {
    margin-top: 15px;
} */
@media (max-width: 767px) {
    .wrapper {
        grid-template-columns: minmax(200px, 1fr);
        margin-left: 10px;
        margin-right: 10px;
        gap: 10px;
    }
}

/*End main classes for all pages to manage content  */

/* start tickets  */
.ticket .box {
    border: 1px solid #ccc;
    width: calc(25% - 25px);
}

@media (max-width: 767px) {
    .ticket .d-flex {
        flex-wrap: wrap;
    }

    .ticket .box {
        width: 92%;
        margin: 5px auto;
    }
}

/* end statatistics  */

/* start yearly target  */
.target .target-row .icon {
    width: 80px;
    height: 80px;
    margin-right: 15px;
}

.target .details {
    flex: 1;
}

.target .details .progress {
    height: 4px;
}

.target .details .progress>span {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;

}

.target .details .progress>span span {
    position: absolute;
    bottom: 16px;
    right: -16px;
    padding: 2px 5px;
    border-radius: 6px;
    font-size: 12px;

}

.target .details .progress>span span::after {
    content: "";
    border-color: transparent;
    border-width: 5px;
    border-style: solid;
    bottom: -10px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.target .details .progress>.blue span::after {
    border-top-color: var(--blue-color);
}

.target .details .progress>.orange span::after {
    border-top-color: var(--orange-color);
}

.target .details .progress>.green span::after {
    border-top-color: var(--green-color);
}

.blue .icon,
.blue .progress {
    background-color: rgb(0 117 255 / 20%);
}

.orange .icon,
.orange .progress {
    background-color: rgb(245 158 11 / 20%);
}

.green .icon,
.green .progress {
    background-color: rgb(34 197 94 / 20%);
}

/* End yearly target  */

/*======
    = Agent Side
    = start Policies details Table
*/
.Policies {
    padding-bottom: 50px;
}

.Policies .responsive-table {
    /* overflow-x: auto; */
}

.Policies table {
    min-width: 1000px;
    border-spacing: 0;
    padding-top: 15px 0px;
}

.Policies thead td {
    background-color: #eee;
    font-weight: bold;
}

.Policies table td {
    padding: 15px;
    border-left: 1px solid #fff;
}

.Policies tbody td {
    border-bottom: 1px solid #eee;
    border-left: 1px solid #eee;
    transition: .3s;
}

.Policies tbody tr:hover td {
    background-color: #faf7f7;
}

.Policies tbody tr td a {
    padding-right: 8px;
    color: var(--grey-color);
    font-size: 15px;
}

.Policies tbody tr td a:hover {
    color: #333;
}

.Policies table img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    padding: 2px;
    background-color: white;
}

.Policies table img:not(:first-child) {
    margin-left: -20px;
}

.Policies table img .label {
    font-size: 13px;
}

.Policies table tbody tr td:last-child {
    border-right: 1px solid #eee;
}

/*Add DataTables style */
table.dataTable tbody th,
table.dataTable tbody td {
    padding: 15px 0;
}
.responsive-table .bottom {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
}
.responsive-table .bottom .dataTables_length {
    order: 1;
    padding-top: .25rem;
}
.responsive-table .bottom .dataTables_info {
    order: 2;
    padding-top: .25rem;
}
.responsive-table .bottom .dataTables_paginate {
    order: 3;
    padding-top: .25rem;
}
/* Add styles for filters, "Download All" button, and pagination */
.Policies .filters label {
    margin-right: 10px;
    margin: auto 0px auto 0px;
}
.Policies #search-car-num {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 15px;
    padding-left: 12px;
}
.Policies .filters select {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.Policies .filters .p-add-btn {
    margin: auto;
}
.Policies .filters .p-add-btn a {
    display: block;
    text-align: center;
    color: #fff;
    background-color: #4caf50;
    border-radius: 5px;
    padding: 8px 16px;
    font-weight: bold;
    transition: all .3s ease-in-out;

}
.Policies .filters .p-add-btn a:hover {
    box-shadow: 0 1px 8px 0 rgba(0,0,0,.2), 0  6px 20px 0 rgba(0,0,0,.19);
}
@media (max-width: 768px) {
    .Policies .filters .p-add-btn a {
        padding: 10px 8px;
        font-size: 14px;
    }
}
.Policies .download-all {
    margin-top: 20px;
}

.Policies #download-all-btn ,
.Policies #delete-all-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    color: #fff;
    font-size: 16px;
    float: right;
    margin-right: 10px;
    cursor: pointer;
}

.Policies #download-all-btn:hover {
    background-color: var(--blue-alt-color);
}
.Policies #delete-all-btn:hover {
    background-color: var(--red-color);
}

.Policies .pagination {
    margin-top: 20px;
}

/* Add responsive styles for filters, "Download All" button, and pagination */
/* CSS for large screens */
@media (min-width: 768px) {
    .Policies .filter-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
    }

    .Policies .filter-row > div {
        /* flex: 1; */
        margin-right: 10px;
    }
}

/* CSS for small screens */
@media (max-width: 767px) {
    .Policies .filter-row {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: stretch;
        gap: 20px;
    }

    .Policies .filter-row > div {
        margin-bottom: 10px;
        /* flex: none; */
    }

    .Policies .filters label {
        display: none;
    }

    .Policies #search-car-num {
        font-size: 14px;
        padding: 8px;
    }

    .Policies .filters select, .Policies .filters input[type="date"] {
        font-size: 14px;
        padding: 8px;
    }
}


/* end Policies Table  */

/*
    == Start Policy Actions Pages
*/
/* start show policy  */

.show-policy {
    padding-top: 30px;
}
.show-policy .policy-details {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 50px 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.show-policy .details-column {
    flex: 1;
}
.show-policy .details-column:last-of-type {
    border-left: 1px solid #eee;
    padding-left: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center; 
}

.show-policy .detail-item {
    margin-bottom: 10px;
    margin-right: 20px;
    padding: 15px 10px;
    border: 1px solid #eee;
    border-radius: 8px;
    cursor: pointer;
}
.show-policy .detail-item:hover {
    background-color: #e9e9e9;
}

.show-policy .label {
    font-weight: bold;
}
.show-policy .detail-item .services-list {
    /* display: block; */
    list-style :inside;
    padding-left: 10px;
    padding-top: 0px;
}
.show-policy .detail-item .services-list li {
    padding: 0px 5px 5px 0px;
}
.show-policy .btn {
    padding: 12px 16px;
    border: none;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.show-policy .btn-primary:hover {
    background-color: var(--blue-alt-color);
}
/* end show details page  */

/* start Services Hisotry section  */
.services-history {
    /* grid-template-columns: repeat(auto-fill, minmax(500px, 1fr)); */
    margin-top: 0px;
}
@media ( max-width: 767px) {
    .services-history {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        margin-left: 10px;
        margin-right: 10px;
        gap: 10px;
    }
}

.services-history .service-h-box .service-item {
    padding: 10px 0 50px 0;
}
.services-history .service-h-box .service-item:not(:last-child) {
    border-bottom: 2px solid #eee;
}
.services-history .service-h-box h4 {
    font-weight: bold;
    font-size: 1.3rem;
    padding: 10px 0;
}
.services-history .service-h-box .requests {
    flex-direction: column;
}
.services-history .service-h-box .requests li  {
    width: 100%;
    padding: 5px 0;
}
.services-history .service-h-box .requests li p {
    border: 1px solid #eee;
    padding: 15px 30px;
    display: inline-block;
    margin-bottom: 8px;
    font-size: 15px;
}
.services-history .service-h-box .info {
    /* border-top: 1px solid #eee; */
    margin-top: 15px;
    padding-top: 15px;
}
@media (max-width:767px) {
    .services-history .service-h-box .info {
        flex-direction: column;
    }
}
.services-history .service-h-box .prog {
    height: 8px;
    width: 90%;
    position: relative;
    border-radius: 6px;
}
.services-history .service-h-box .prog span {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    border-radius: 6px;
}
@media (max-width:767px) {
    .services-history .service-h-box .prog span {
        margin-bottom: 15px;
    }
}
/* End services history page  */


/* start Payments Hisotry section  */
.payment-h {
    grid-template-columns: 1fr;
    width: 100%;
    margin-top: 0px;
    max-height: 400px; /* Set the maximum height */
    overflow-y: auto;  /* Enable vertical scrolling */
}
@media ( max-width: 767px) {
    .payment-h {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        margin-left: 10px;
        margin-right: 10px;
        gap: 10px;
        max-height: 500px;
        overflow-y: auto;
    }
}

.payment-h .payment-box .service-item {
    padding: 10px 0 10px 0px;
}
.payment-h .payment-box h4 {
    font-weight: normal;
    font-size: 1.4rem;
    padding: 10px 0;
}
.payment-h .payment-box .requests {
    flex-direction: column;
}
.payment-h .payment-box .requests li  {
    width: 96%;
    padding: 10px 0;
    margin-bottom: 20px;
    margin-right: 20px;
}
.payment-h .payment-box .requests li:not(:last-of-type) {
    border-bottom: 1px solid #eee;
}
.payment-h .payment-box .requests li p {
    border: 1px solid #eee;
    padding: 15px 25px;
    display: inline-block;
    margin-bottom: 12px;
    font-size: 16px;
}
.payment-h .payment-box .info {
    /* border-top: 1px solid #eee; */
    margin-top: 15px;
    padding-top: 15px;
}
@media (max-width:767px) {
    .payment-h .payment-box .info {
        flex-direction: column;
    }
}
.payment-h .payment-box .prog {
    height: 8px;
    width: 260px;
    position: relative;
    border-radius: 6px;
}
.payment-h .payment-box .prog span {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    border-radius: 6px;
}
@media (max-width:767px) {
    .payment-h .payment-box .prog span {
        margin-bottom: 15px;
    }
}
/* end Payments Hisotry section  */


/* start edit policy page  */
.edit-policy {
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
}

.edit-policy .policy-details {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow: auto;
}

.edit-policy .policy-details h2 {
    color: #333;
    margin-bottom: 20px;
}

.edit-policy .policy-content {
    margin-bottom: 20px;
}

.edit-policy .form-group {
    position: relative;
    margin-bottom: 15px;
}

.edit-policy .icon {
    position: absolute;
    top: 40%;
    left: 10px;
    transform: translateY(-50%);
    color: #555;
}

.edit-policy input[type="text"],
.edit-policy input[type="number"],
.edit-policy select,
.edit-policy button {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    padding-left: 35px;
    margin-bottom: 10px;
}

.edit-policy #services {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="#000" d="M6.5 8.793L10 12.293l3.5-3.5 1.414 1.414L10 14.121 5.086 9.207l1.414-1.414z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.edit-policy button {
    width: auto;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    float: right;
    margin-left: 10px;
}

.edit-policy button.cancel {
    background-color: var(--red-color);
}
  
.select-box-multi  .selected-values {
    /* display: flex; */
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
  }
  
.select-box-multi  .selected-values .placeholder {
    color: #999;
  }
  
  .select-box-multi .options {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    border: 1px solid #ccc;
    border-top: none;
    z-index: 1;
  }
  
  .select-box-multi .options input[type="checkbox"] {
    display: none;
  }
  
  .select-box-multi .options label {
    display: block;
    padding: 8px 10px;
    cursor: pointer;
  }
  
  .select-box-multi   .options label:hover {
    background-color: #f0f0f0;
  }
  
  .select-box-multi   .options label.selected {
    background-color: #007bff;
    color: #fff;
  }
  
  .select-box-multi   .options label.selected:hover {
    background-color: #0056b3;
  }
  
  
/*Create (add)  New Policy */
.creat-policy {
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
}

.creat-policy h1 {
    text-align: center;
}

.creat-policy .form-group {
    margin-bottom: 20px;
}

.creat-policy label {
    display: block;
    font-weight: bold;
}

.creat-policy input[type="text"],
.creat-policy select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.creat-policy select[multiple] {
    height: auto;
}


.select-wrapper .select-arrow {
    position: absolute;
    top: 50%;
    right: 10px !important;
    transform: translateY(-50%);
    pointer-events: none;
    left: 95%;
}

.creat-policy button[type="submit"] {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.creat-policy button[type="submit"]:hover {
    background-color: #0056b3;
}

/*Edit Policy Page*/

/* start profile-page  */
@media (max-width: 767px) {
    .profile-page .overview {
        flex-direction: column;
    }
}

.profile-page .avatar-box {
    width: 300px;
}

@media (min-width: 768px) {
    .profile-page .avatar-box {
        border-right: 1px solid #eee;
    }
}

.profile-page .avatar-box>img {
    width: 120px;
    height: 120px;
}

/* start info box  */
.profile-page .info-box .box {
    flex-wrap: wrap;
    border-bottom: 1px solid #eee;
    transition: .3s;
}

.profile-page .info-box .box:hover {
    background-color: #f5f5f5;
}

.profile-page .info-box .box>div {
    padding: 10px 0 0;
}

@media (max-width: 768px) {
    .profile-page .info-box .box>div {
        min-width: 200px;
    }
}

.profile-page .info-box .toggel-btn {
    --webkit-appearance: none;
    appearance: none;
    display: none;
}

.profile-page .info-box .toggle-switch {
    background-color: #ccc;
    width: 70px;
    height: 28px;
    border-radius: 16px;
    position: relative;
    transition: .3s;
    cursor: pointer;
}

.profile-page .info-box .toggle-switch::before {
    font-family: "Font Awesome 6 Free";
    content: "\f00d";
    font-weight: 900;
    background-color: white;
    width: 18px;
    height: 18px;
    position: absolute;
    border-radius: 50%;
    top: 5px;
    left: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #aaa;
    transition: .3s;
}

.profile-page .info-box .toggel-btn:checked+.toggle-switch {
    background-color: var(--blue-color);
}

.profile-page .info-box .toggel-btn:checked+.toggle-switch::before {
    content: "\f00c";
    left: 45px;
    color: var(--blue-color);

}

.profile-page .info-box h4 {
    font-weight: normal;
}

@media (max-width: 768px) {
    .profile-page .info-box .toggle-switch {
        margin: auto;
    }
}

.profile-page .toggle-switch::before {
    top: 4px;
    width: 16px;
    height: 16px;
    font-size: 10px;
}

.profile-page .toggel-btn:checked+.toggle-switch::before {
    left: 38px;
}
.profile-page .ticket:first-of-type {
    border-bottom: 1px solid #eee;
}
/* End info box  */
/* End profile-page  */

/* start agent profile page  */




/* 
    = start Users Page
    = For agents & Drivers pages
 */
.users-container {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

@media (max-width: 767px) {
    .users-container {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        margin-left: 10px;
        margin-right: 10px;
        gap: 10px;
    }
}

.users-container .contact i,
.box .contact i {
    background-color: #eee;
    padding: 10px;
    border-radius: 50%;
    color: #666;
    font-size: 10px;
    cursor: pointer;
    transition: .3s;
}

.users-container .contact i:hover,
.box .contact i:hover {
    background-color: var(--blue-color);
    color: #fff;
}

.users-container .friend .icons {
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-top: 10px;
    margin-bottom: 15px;
    padding-top: 15px;
    padding-bottom: 15px;
}

.users-container .friend .icons i {
    margin-right: 5px;
}

.users-container .friend .icons .vip {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    font-size: 35px;
    opacity: 0.2;
}
.box .vip {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    font-size: 35px;
    opacity: 0.2;
}

/* End Users page  */




/* start footer  */
.footer {
    position: relative;
    bottom: 0;
    width: 100%;
    height: 50px;
    padding: 20px 0;
}

.fixed {}

@media (max-width: 767px) {
    .footer {
        position: relative;
    }
}

/* start animation  */
@keyframes change-color {
    from {
        background-color: var(--blue-color);
    }

    to {
        background-color: white;
    }
}

@keyframes go-up {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* End animation  */


/* 
   = mostly used  elements style
    == edit and update form
*/

.p-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
}

.p-popup .popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    max-width: 80%;
    max-height: 80vh;
    overflow: auto;
    width: 25%;

}

.p-popup .popup .close-btn {
    cursor: pointer;
    font-size: 25px;
}

.p-popup .popup .form-group {
    margin-bottom: 20px;
    position: relative;
}

.p-popup .popup .form-group input,
.p-popup .popup .form-group select,
.p-popup .popup .form-group textarea {
    width: 100%;
    padding: 8px;
    padding-left: 35px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.p-popup .popup .form-group select {
    padding-left: 8px;
    width: 99%;
}

.form-group i {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #ccc;
    font-size: 16px;
}

.p-popup .popup .btn-group {
    text-align: right;
}

.p-popup .popup .save-btn,
.p-popup .popup .cancel-btn {
    padding: 10px 20px;
    margin-left: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.add-user-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    background-color: #007bff;
    color: #fff;
    cursor: pointer;
}

/*Start Add Service Request popup*/
.p-popup .popup .form-group .d-label {
    display: block;
    margin: 10px 0;
}
.p-popup .popup .form-group .d-i {
    top: 75% !important;
}
/*End Add Service Request popup*/


@media (max-width: 767px) {
    .p-popup .popup {
        width: 80%;
    }
}

/* end for popup */


/* start delte popup  */
.popup-delete {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    border-radius: 5px;
    z-index: 1000;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.popup-delete .popup-content {
    background-color: #fff;
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    max-width: 300px;
    text-align: center;
    margin: 10px auto;
}

.popup-delete .popup-header {
    margin-bottom: 15px;
}

.popup-delete .popup-header i {
    color: #f00;
    font-size: 36px;
}

.popup-delete .popup-header h2 {
    font-size: 20px;
    margin-left: 10px;
    display: inline-block;
    vertical-align: middle;
}

.popup-delete .popup-body p {
    margin-bottom: 15px;
}

.popup-delete .popup-footer {
    margin-top: 15px;
}

.popup-delete .popup-footer button {
    padding: 10px 20px;
    margin: 0 5px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#confirm-delete-btn {
    background-color: #f00;
    color: #fff;
}

#cancel-delete-btn {
    background-color: #ddd;
}


/* reset popups style  */
#delete-p-pop {
    display: none;  /* Hide the popup initially */
    opacity: 0;
    transition: opacity 0.3s ease;  /* Optional: Smooth transition effect */
}
