﻿@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --color-primary: #002698;
    --color-danger: #ff1111;
    --color-success: #1B9C85;
    --color-warning: #F7D060;
    --color-white: #fff;
    --color-info-dark: #7d8da1;
    --color-dark: #363949;
    --color-light: rgba(132, 139, 200, 0.18);
    --color-dark-variant: #677483;
    --color-background: #f6f6f9;
    --card-border-radius: 0.5rem;
    --border-radius-1: 0.4rem;
    --border-radius-2: 1.2rem;
    --card-padding: 1.8rem 1rem;
    --padding-1: 1.2rem;
    --box-shadow: 0 0.5rem 0.5rem var(--color-light);
    --company-name: #df2525;
    --card-border: #E7E7E7;
    --color-green: #1ed837;
}

.dark-mode-variables {
    --color-background: #181a1e;
    --color-white: #202528;
    --color-dark: #edeffd;
    --color-dark-variant: #a3bdcc;
    --color-light: rgba(0, 0, 0, 0.4);
    /* --box-shadow: 0 2rem 3rem var(--color-light); */
}

* {
    margin: 0;
    padding: 0;
    outline: 0;
    appearance: 0;
    border: 0;
    text-decoration: none;
    box-sizing: border-box;
}

html {
    font-size: 14px;
}

body {
    width: 100vw;
    height: 100vh;
    font-family: 'Poppins', sans-serif;
    font-size: 0.88rem;
    user-select: text;
    cursor:default;
    overflow-x: hidden;
    color: var(--color-dark);
    background-color: var(--color-background);
}

a {
    color: var(--color-dark);
}

img {
    display: block;
    width: 100%;
    object-fit: cover;
}

.icon {
    text-align: center;
    margin-bottom: 5px;
}

    .icon img {
        width: 48px;
        height: auto;
    }

h1 {
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 30px;
}

h2 {
    font-weight: 600;
    font-size: 1.4rem;
}

h3 {
    font-weight: 500;
    font-size: 0.87rem;
    color: var(--color-dark);
}

h4 {
    font-size: 12px;
    color: var(--color-dark);
}

small {
    font-size: 0.76rem;
}

p {
    color: var(--color-dark-variant);
    margin-bottom: 0px;
}

b {
    color: var(--color-dark);
}
.form-control {
    width: 75%;
    padding: 0 10px;
    /*  border-bottom: 1px solid #a1a7ac;
    border-radius: 0;*/
    display: inline-block;
    font-size: 12px;
    color: #303132;
    margin-right: 7px;
    text-align: left;
    line-height: 1;
    height: 23px;
    -webkit-appearance: auto;
    appearance: auto;
}
tbody > tr > td{
    text-align:left;
}
.material-icons-outlined{
    cursor:pointer;
}
.lable-title {
    text-align: start;
    width: 40%;
    font-size: 12px;
    font-weight: 500;
    color: var(--color-dark)
}
.multi_step_form {
    background: white;
    display: block;
    height: 100%;
    margin: 0.5% 0;
    padding: 2%;
    border-radius: var(--card-border-radius);
}
.text-muted {
    color: var(--color-info-dark);
}

.primary {
    color: var(--color-primary);
}

.danger {
    color: var(--color-danger);
}

.success {
    color: var(--color-success);
}

.warning {
    color: var(--color-warning);
}

.comapny-name {
    color: var(--color-primary);
    font-weight:700;
    font-size:23px
}
.select2-container .select2-selection--single .select2-selection__rendered {
    max-width: 140px;
}
.containers {
    background-color: var(--color-background);
    display: grid;
    width: 100%;
    padding: 0 1% 0 1%;
}

.main-body {
    width: 100%;
}

.bodys {
    height: 90%;
    width: 100%;
}

.b-layout-sider {
    display: block;
    overflow: hidden;
}

{
    height: 100vh;
    width: 100%;
}
.bibi-x-lg {
    background-color: #e74040;
    color: white;
    height: 25px;
    width: 25px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius:4px;
    transition:all 0.3s ease-in-out;
    font-size:18px !important;
} 
    .bibi-x-lg:hover{
        background-color:red;
        transform:scale(1.03);
    }
    .toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
.material-icons-sharp, material-icons-outlined{
    cursor:pointer;
}

.right-container {
    width: 100%;
    padding: 1% 0 0 0;
}

.toggle .logo {
    display: flex;
    gap: 0.5rem;
    height: 5%;
}

    .toggle .logo img {
        width: 15rem;
        height: 2rem;
    }
    .table-responsive{
        scrollbar-width:thin;
    }
.toggle .close {
    padding-right: 1rem;
    display: none;
}
/* Sidebar container */
.sidebar {
    display: flex;
    flex-direction: column;
    border-radius: 15px;
    background-color: white;
    color: black;
   /* padding: 10px 20px;*/
    position: relative;
    margin: 1.2rem 0;
    width: 13.3vw;
 /*   left: 0;*/
    height: 88vh;
    overflow-x:hidden;
    overflow-y: auto;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}

    .sidebar.show {
        left: 0; /* Show the sidebar by moving it to the left */
    }

    /* Sidebar links */
    .sides {
        display: flex;
        text-decoration: none;
        color: black;
        display: block;
        margin: 2px 0;
        align-items: center;
    }

.sides a {
    display: flex;
    text-decoration: none;
    color: black;
    display: block;
    margin: 10px 0;
    align-items: center;
}

/* Sidebar link icon */
.sidebar a .material-icons-sharp {
    font-size: 20px;
    vertical-align: middle;
    /*margin-right: 10px;*/
    color: black;
}

.sidebar a:hover {
    color: var(--color-primary);
}
/* Show child menu items when the parent is hovered */
.sides:hover .child {
    display: block;
}

.sidebar a:hover span {
    margin-left: 0.6rem;
    transition: all 0.3s ease;
    color: var(--color-primary);
}

.sides .parent .child li a:hover span {
    margin-left: 0.6rem;
    transition: all 0.3s ease;
    color: var(--color-dark);
}
.table-responsive{
    scrollbar-width:thin;
}
.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 23px;
    min-width: 100px;
    font-weight: 500;
    font-size: 12px;
    border-radius: 3px;
}
.btn .material-icons-outlined,.btn .material-icons-sharp{
    font-size:18px;
}
.logout:hover {
    margin-left: 0.6rem;
    transition: all 0.3s ease;
    color: var(--color-dark);
}
/* Parent menu item */
.sides .parent {
    cursor: pointer;
}

/* Child menu items */
.child {
    display: none;
    list-style: none;
    margin-left: 0;
    padding-left: 20px;
}

    .child li a {
        padding-left: 0;
    }

/* Show child menu items when the parent is hovered */
.sides:hover .child {
    display: block;
}

/* Logout item */
.sidebar a:last-child {
    margin-top: 0.5rem;
}


#balance-color {
    color: var(--color-green);
    font-weight: 400;
}

#sales-color {
    rows color: var(--color-green);
    font-weight: 400;
}

#clients-color {
    color: var(--color-danger);
    font-weight: 400;
}

.right-body {
    width: 100%;
    margin-top:5px;
}



.rows {
    background-color: var(--color-white);
    padding: var(--card-padding);
    border-radius: var(--card-border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: rgba(17, 17, 26, 0.05) 0px 1px 0px, rgba(17, 17, 26, 0.1) 0px 0px 8px;
}

.right-body .dasboard-section > div:hover {
    box-shadow: none;
}

.right-body .dasboard-section > div .status-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.right-body .dasboard-section h3 {
    font-size: 25px;
    font-weight:500
}

.right-body .dasboard-section .progresss {
    position: relative;
    width: 92px;
    height: 92px;
    border-radius: 50%;
}

.right-body .dasboard-section svg {
    width: 2rem;
    height: 2rem;
}

    .right-body .dasboard-section svg circle {
        fill: none;
        stroke-width: 10;
        stroke-linecap: round;
        transform: translate(5px, 5px);
    }

.right-body .dasboard-section .balance-continer svg circle {
    stroke: var(--color-success);
    stroke-dashoffset: -30;
    stroke-dasharray: 200;
}

.right-body .dasboard-section .sales svg circle {
    stroke: var(--color-success);
    stroke-dashoffset: -30;
    stroke-dasharray: 200;
}

.right-body .dasboard-section .clients svg circle {
    stroke: var(--color-danger);
    stroke-dashoffset: -30;
    stroke-dasharray: 200;
}

.right-body .dasboard-section .searches svg circle {
    stroke: var(--color-primary);
    stroke-dashoffset: -30;
    stroke-dasharray: 200;
}

.right-body .dasboard-section .progresss .percentage {
    position: absolute;
    top: -3px;
    left: -1px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.right-body .search {
    margin-top: 1.3rem;
}

    .right-body .search .search-items {
        background-color: var(--color-white);
        border-radius: var(--card-border-radius);
        /* box-shadow: var(--box-shadow); */
        display: flex;
        justify-content: space-around;
        flex-wrap: wrap;
        gap: 1.4rem;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: rgba(17, 17, 26, 0.05) 0px 1px 0px, rgba(17, 17, 26, 0.1) 0px 0px 8px;
        margin-bottom:1rem;
    
    }
/* .right-body .search .search-items:hover {
   box-shadow: none;
} */

.right-body .customers {
    margin-top: 1.3rem;
}

    .right-body .customers h2 {
        margin-bottom: 0.8rem;
    }

    .right-body .customers table {
        background-color: var(--color-white);
        width: 100%;
        padding: var(--card-padding);
        text-align: center;
        /* box-shadow: var(--box-shadow); */
        border-radius: var(--card-border-radius);
        transition: all 0.3s ease;
        border: var(--card-border) 1px solid;
    }

        .right-body .customers table:hover {
            box-shadow: none;
        }

.right-body table tbody td {
    height: 2.8rem;
    border-bottom: 1px solid var(--color-light);
    color: var(--color-dark-variant);
}

.right-body table tbody tr:last-child td {
    border: none;
}

.right-body .customers a {
    text-align: center;
    display: block;
    margin: 1rem auto;
    color: var(--color-primary);
}


.right-section {
    display: flex;
    justify-content: end;
    align-items: center;
    text-align: center;
    width: 100%;
}

    .right-section .nav {
        display: flex;
        justify-content: end;
        flex-wrap: nowrap;
        align-items: center;
    }

        .right-section .nav button {
            display: none;
        }

    .right-section .dark-mode {
        background-color: var(--color-light);
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 1.6rem;
        width: 4.2rem;
        cursor: pointer;
        border-radius: var(--border-radius-1);
    }

        .right-section .dark-mode span {
            font-size: 1.2rem;
            width: 50%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

            .right-section .dark-mode span.active {
                background-color: var(--color-primary);
                color: white;
                border-radius: var(--border-radius-1);
            }

    .right-section .nav .profile {
        align-items: center;
        gap: 0.5rem;
    }

#datetime {
    color: var(--color-primary);
}

.right-section .nav .profile .profile-photo {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    overflow: hidden;
}

.right-section .user-profile {
    display: flex;
    justify-content: center;
    text-align: center;
    margin-top: 1rem;
    background-color: var(--color-white);
    padding: var(--card-padding);
    border-radius: var(--card-border-radius);
    box-shadow: var(--box-shadow);
    cursor: pointer;
    transition: all 0.3s ease;
}

    .right-section .user-profile:hover {
        box-shadow: none;
    }

    .right-section .user-profile img {
        width: 11rem;
        height: auto;
        margin-bottom: 0.8rem;
        border-radius: 50%;
    }

    .right-section .user-profile h2 {
        margin-bottom: 0.2rem;
    }

.right-section .reminders {
    margin-top: 0.5rem;
}

    .right-section .reminders .header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 0.8rem;
    }

        .right-section .reminders .header span {
            padding: 10px;
            box-shadow: var(--box-shadow);
            background-color: var(--color-white);
            border-radius: 50%;
        }

    .right-section .reminders .notification {
        background-color: var(--color-white);
        display: flex;
        align-items: center;
        gap: 1rem;
        margin-bottom: 0.7rem;
        padding: 1.4rem var(--card-padding);
        border-radius: 2px;
        box-shadow: var(--box-shadow);
        cursor: pointer;
        transition: all 0.3s ease;
    }

        .right-section .reminders .notification:hover {
            box-shadow: none;
        }

        .right-section .reminders .notification .content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin: 0;
            width: 100%;
        }

        .right-section .reminders .notification .icon {
            padding: 0.6rem;
            color: var(--color-white);
            background-color: var(--color-success);
            border-radius: 20%;
            display: flex;
        }

        .right-section .reminders .notification.deactive .icon {
            background-color: var(--color-danger);
        }
       /* tableS COMPONENT*/
.quickgrid tbody tr:hover {
    background-color: cornflowerblue;
}
.quickgrid {
    border: 1px solid var(--card-border);
    border-radius: 8px;
    box-shadow: rgba(17, 17, 26, 0.05) 0px 1px 0px, rgba(17, 17, 26, 0.1) 0px 0px 8px;
    margin:1rem 0;
    padding:0 0.2rem;
    overflow:hidden;
   
}
.text-left {
    text-align: left;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-primary);
}

    .quickgrid thead {
        background-color: var(--color-primary);
        color: white;
        border-radius: 10px 10px 0 0;
        margin: 1rem;
        font-size:15px
    }
    .quickgrid[theme=default] > tbody > tr > td {
        font-size:13px;
    }
        .quickgrid thead tr th:first-child {
            border-radius: 10px 0 0 0;
        }
        .quickgrid thead tr th:last-child {
            border-radius:0 10px 0 0 ;
        }
    .quickgrid tbody tr th:first-child {
        border-radius: 0 0 0 10px;
    }

    .quickgrid tbody tr th:last-child {
        border-radius: 0 0 10px 0;
    }
.paginator[b-3qssc0bm46] {
    margin: 0.5rem;
    background: #e9ecef;
}
.quickgrid[theme=default] .col-title{
    color:var(--color-white);
}
/*//side bar*/
.sidebar-closed {
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
}
/*LOGO*/
.log{
    display:none;
}
/*button COMPONENT*/
.btns {
    background-color: #dd7973;
    color: white
}
    .btns:hover {
        background-color: lightcoral;
        color:antiquewhite;
    }
    /*breadcrumb*/
.breadcrumb {
    --bs-breadcrumb-padding-x: 0;
    --bs-breadcrumb-padding-y: 0;
    --bs-breadcrumb-margin-bottom: 1rem;
    --bs-breadcrumb-bg:;
    --bs-breadcrumb-border-radius:;
    --bs-breadcrumb-divider-color: #dc3545;
    --bs-breadcrumb-item-padding-x: 0.5rem;
    --bs-breadcrumb-item-active-color: #dc3545;
    display: flex;
    flex-wrap: wrap;
    padding: var(--bs-breadcrumb-padding-y) var(--bs-breadcrumb-padding-x);
    margin-bottom: var(--bs-breadcrumb-margin-bottom);
    font-size: var(--bs-breadcrumb-font-size);
    list-style: none;
    background-color: #ff000030;
    border-radius: var(--bs-breadcrumb-border-radius);
    border-radius: 5px;
    padding: 0 10px;
    width:fit-content;
}
a:not([href]):not([class]), a:not([href]):not([class]):hover {
    color: #df2525;
}
    @media only screen and (max-width: 1200px) {
        .containers {
        width: 100%;
    }

    .logo h2 {
        display: none;
    }

    .sidebar {
        width: fit-content;
    }

        .sidebar h3 {
            display: none;
        }

        .sidebar a:last-child {
            position: relative;
            margin-top: 1.8rem;
        }

    .right-body .search .search-items .user {
        flex-basis: 40%;
    }

    .right-body .customers {
        width: 94%;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        margin: 2rem 0 0 0.8rem;
    }

        .right-body .customers table {
            width: 83vw;
        }

    .right-body table thead tr th:last-child,
    .right-body table thead tr th:first-child {
        display: none;
    }

    .right-body table tbody tr td:last-child,
    .right-body table tbody tr td:first-child {
        display: none;
    }
}
@media screen and (max-width: 1400px) {
    .right-body .dasboard-section h3 {
        font-size:15px;
    }
    .toggle .logo img {
        width: 11rem;
        height: 1.6rem;
    }


    @media screen and (max-width: 768px) {
        .containers {
            width: 100%;
            padding: 0 var(--padding-1);
        }

        .sidebar {
            margin-top: 5rem;
        }


        .branchName {
            display: none;
        }

        .logo {
            margin-left: 1rem;
        }

            .logo h2 {
                display: inline;
            }




        .toggle .close {
            display: inline-block;
            cursor: pointer;
        }

        .right-body .search .search-items .user {
            flex-basis: 35%;
        }

        .right-body .customers {
            position: relative;
            margin: 3rem 0 0 0;
            width: 100%;
        }

            .right-body .customers table {
                width: 100%;
                margin: 0;
            }

        .right-section {
            width: 94%;
            margin: 0 auto 4rem;
        }

        .right-section {
            position: fixed;
            top: 0;
            left: 0;
            align-items: center;
            background-color: var(--color-white);
            padding: 0 var(--padding-1);
            height: 4.6rem;
            width: 100%;
            z-index: 2;
            box-shadow: 0 1rem 1rem var(--color-light);
            margin: 0;
            
        }

            .right-section .nav .dark-mode {
                width: 4.4rem;
                position: absolute;
                left: 66%;
            }

            .right-section .profile .info {
                display: none;
            }

        .right-section {
            display: flex;
            justify-content: space-between;
        }

        .log {
            display: block;
        }

        .right-section .nav button {
            display: inline-block;
            background-color: transparent;
            cursor: pointer;
            color: var(--color-dark);
            position: absolute;
            left: 1rem;
        }

            .right-section .nav button span {
                font-size: 2rem;
            }
    }

    .percentage-counter {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .percentage-counter-value {
        font-size: 10px;
        font-weight: bold;
        color: #3DB39E;
        margin-top: 8px;
        animation: countUp 3s linear infinite;
    }

    @keyframes countUp {
        0% {
            transform: translateY(0);
            opacity: 1;
        }

        50% {
            transform: translateY(-20px);
            opacity: 0;
        }

        100% {
            transform: translateY(-40px);
            opacity: 0;
        }
    }

    .arrow-svg {
        width: 30px;
        height: 20px;
        fill: #3DB39E;
    }

    #datetime {
        font-size: 10px;
        text-align: center;
    }

    @media (max-width: 768px) {
        #datetime {
            display: none;
        }
    }

    .search-items {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        max-width: auto;
        /* margin: 0 auto; */
        padding: 20px;
        background-color: #f2f2f2;
        border-radius: 5px;
    }
 

        .search-items label {
            flex: 1;
            margin-right: 10px;
            font-weight: bold;
        }

        .search-items input[type="text"],
        .search-items input[type="date"],
        .search-items select {
            flex: 2;
            padding: 10px;
            border: 1px solid #ccc;
            border-radius: 5px;
            outline: none;
        }

        .search-items select {
            appearance: none;
            background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3E%3Cpath fill='%23000' d='M4 0l1.5 2H2zm0 8l-1.5-2h3z'/%3E%3C/svg%3E") no-repeat right center;
            background-size: 10px;
        }

            .search-items select:focus {
                border-color: #007bff;
            }

        .search-items input[type="text"]:focus,
        .search-items input[type="date"]:focus {
            border-color: #007bff;
        }

        .search-items .fa-search {
            flex: 1;
            font-size: 20px;
            color: var(--color-primary);
            margin-right: 10px;
        }

        .search-items .fa-calendar {
            flex: 1;
            font-size: 20px;
            color: var(--color-primary);
            margin-right: 10px;
        }

        .search-items .fa-filter {
            flex: 1;
            font-size: 20px;
            color: var(--color-primary);
            margin-right: 10px;
        }

    @media (max-width: 768px) {
        .right-body {
            margin-top: 20px;
        }

        .search-items {
            flex-direction: column;
            align-items: flex-start;
            max-width: 100%;
        }

            .search-items label,
            .search-items input[type="text"],
            .search-items input[type="date"],
            .search-items select {
                width: 100%;
                margin-right: 0;
            }

            .search-items .fa-search,
            .search-items .fa-calendar,
            .search-items .fa-filter {
                flex: 1;
                margin-right: 0;
                margin-top: 10px;
            }
    }

    .status-badge {
        padding: 5px 10px;
        border-radius: 5px;
        font-weight: bold;
    }

    .active {
        background-color: var(--color-green);
        color: white;
    }

    .inactive {
        background-color: var(--color-warning);
        color: white;
    }

    .Canceled {
        background-color: var(--color-danger);
        color: white;
    }

    button.edit {
        background-color: #4CAF50;
        color: white;
        border: none;
        padding: 5px 10px;
        margin-right: 5px;
        cursor: pointer;
        border-radius: 5px;
    }

    button.delete {
        background-color: #f44336;
        color: white;
        border: none;
        padding: 5px 10px;
        cursor: pointer;
        border-radius: 5px;
        margin-right: 5px;
    }

    button.view {
        background-color: var(--color-success);
        color: white;
        border: none;
        padding: 5px 10px;
        cursor: pointer;
        margin-right: 5px;
        border-radius: 5px;
    }

    /*.px-2 d-flex justify-content-end{
        position:fixed;
        right:0;
        background-color:white;
        width:100%;
        z-index:1000;
    }*/


