/* =========== Google Fonts ============ */
@import url("https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;500;700&display=swap");

/* =============== Globals ============== */
* {
    font-family: "Ubuntu", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --blue: #dce9c7;
    --white: #fff;
    --gray: #f5f5f5;
    --black1: #222;
    --black2: #999;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    position: relative;
    width: 100%;
}

/* =============== Navigation ================ */

.navigation {
    position: fixed;
    width: 250px;
    height: 100%;
    background: var(--black2);
    box-shadow: 0 7px 25px rgba(0, 0, 0, 0.08);
    border-left: 10px solid var(--black2);
    transition: 0.5s;
    overflow: hidden;
}

    .navigation.active {
        width: 80px;
    }

    .navigation ul {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
    }

.icons {
    width: 20px;
    height: 20px;
    margin-top: 35px;
    margin-left: 5px;
    margin-bottom: 30px;
}

.navigation ul li {
    position: relative;
    width: 100%;
    list-style: none;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
}

    .navigation ul li:hover,
    .navigation ul li.hovered {
        background-color: var(--white);
    }

    .navigation ul li:nth-child(1) {
        margin-bottom: 40px;
        pointer-events: none;
    }

    .navigation ul li a {
        position: relative;
        display: block;
        width: 100%;
        display: flex;
        text-decoration: none;
        color: var(--white);
    }

    .navigation ul li:hover a,
    .navigation ul li.hovered a {
        color: var(--black1);
    }

    .navigation ul li a .icon {
        position: relative;
        display: block;
        min-width: 60px;
        height: 60px;
        line-height: 75px;
        text-align: center;
    }

        .navigation ul li a .icon ion-icon {
            font-size: 1.75rem;
        }

    .navigation ul li a .title {
        position: relative;
        display: block;
        padding: 0 10px;
        height: 60px;
        line-height: 60px;
        text-align: start;
        white-space: nowrap;
    }

    /* --------- curve outside ---------- */
    .navigation ul li:hover a::before,
    .navigation ul li.hovered a::before {
        content: "";
        position: absolute;
        right: 0;
        top: -50px;
        width: 50px;
        height: 50px;
        background-color: transparent;
        border-radius: 50%;
        box-shadow: 35px 35px 0 10px var(--white);
        pointer-events: none;
    }

    .navigation ul li:hover a::after,
    .navigation ul li.hovered a::after {
        content: "";
        position: absolute;
        right: 0;
        bottom: -50px;
        width: 50px;
        height: 50px;
        background-color: transparent;
        border-radius: 50%;
        box-shadow: 35px -35px 0 10px var(--white);
        pointer-events: none;
    }


/* ===================== Main ===================== */
.main {
    position: absolute;
    width: calc(100% - 300px);
    left: 300px;
    min-height: 100vh;
    background: var(--white);
    transition: 0.5s;
}

    .main.active {
        width: calc(100% - 80px);
        left: 80px;
    }

.topbar {
    width: 96%;
    height: 60px;
    display: flex;
    margin-top: 10px;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    background-color: var(--white);
    box-shadow: 0 7px 25px rgba(0, 0, 0, 0.08);
    margin-left: -8px;
    border-radius: 7px;
}

.icon-style {
    font-size: 25px;
}

.toggle {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    cursor: pointer;
    visibility: hidden;
}

.search-item {
    position: relative;
    width: 400px;
    margin: 0 10px;
    display: flex;
    flex-direction: row;
    height: 40px;
}

    .search-item button {
        border: 1px solid var(--white);
    }

        .search-item button img {
            margin-left: -15px;
            z-index: 3;
            position: absolute;
            margin-top: -20px;
        }

    .search-item label {
        position: relative;
        width: 100%;
    }

        .search-item label input {
            width: 100%;
            height: 40px;
            border-radius: 10px;
            padding: 5px 20px;
            padding-left: 35px;
            font-size: 18px;
            outline: none;
            border: 1px solid var(--black2);
            z-index: 1;
        }

        .search-item label ion-icon {
            position: absolute;
            top: 12px;
            left: 10px;
            font-size: 1.2rem;
        }

.search {
    position: relative;
    width: 500px;
    margin: 0 2px;
    margin-left: -100px;
}

    .search label {
        position: relative;
        width: 100%;
    }

        .search label input {
            width: 100%;
            height: 40px;
            border-radius: 10px;
            padding: 5px 20px;
            padding-left: 35px;
            font-size: 15px;
            outline: none;
            border: 1px solid var(--black2);
        }

        .search label ion-icon {
            position: absolute;
            top: 12px;
            left: 10px;
            font-size: 1.2rem;
        }

.user {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
}

.user-icon {
    display: flex;
    flex-direction: row;
    width: 160px;
    height: 60px;
    overflow: hidden;
    cursor: pointer;
    justify-content: space-between;
    align-items: center;
    margin-left: 50px;
}

    .user-icon p {
        padding: 0;
    }

.cutomer-title {
    font-size: 11px;
    opacity: 80%;
}

.cutomer-name {
    font-size: 14px;
    margin-top: 18px;
    margin-left: 8px;
    font-weight: 700;
}

.user-icon img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.user img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Dashboard3 navbar */
.main {
    position: absolute;
    width: calc(100% - 300px);
    left: 300px;
    min-height: 100vh;
    background: var(--white);
    transition: 0.5s;
}

    .main .active {
        width: calc(100% - 80px);
        left: 80px;
    }

.topside {
    width: 25%;
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    margin-left: 20px;
}

    .topside .toggle {
        position: relative;
        width: 40px;
        height: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 2.5rem;
        cursor: pointer;
        margin-left: -10px;
        visibility: hidden;
    }





.user {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
}

    .user img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }



/* ================== Order Details List ============== */
.details {
    position: relative;
    width: 100%;
    padding: 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-gap: 30px;
    margin-top: 10px;
}

.dashboard-details {
    position: relative;
    width: 100%;
    padding: 20px;
    display: grid;
    grid-template-columns: 2fr 2fr;
    grid-gap: 30px;
    /* margin-top: 10px; */
}

.details .recentOrders {
    position: relative;
    display: grid;
    min-height: 500px;
    background: var(--white);
    padding: 10px;
    box-shadow: 0 7px 25px rgba(0, 0, 0, 0.08);
    border-radius: 20px;
}

.recentOrders2 {
    /*position: relative;
    display: grid;*/
    min-height: 500px;
    background: var(--white);
    padding: 10px;
    box-shadow: 0 7px 25px rgba(0, 0, 0, 0.08);
    border-radius: 20px;
}

.recentOrders2 p {
    margin: 22px;
    height: 50px;
}

.recentOrders2 table tr {
    color: var(--black1);
}

    .recentOrders2 table tr:last-child {
        border-bottom: none;
    }


    .recentOrders2 table tr td {
        padding: 10px;
    }

        .recentOrders2 table tr td:last-child {
            text-align: end;
        }

        .recentOrders2 table tr td:nth-child(2) {
            text-align: end;
        }

        .recentOrders2 table tr td:nth-child(3) {
            text-align: center;
        }


.details .recentOrder {
    min-height: 500px;
    background: var(--white);
    padding: 30px;
    box-shadow: 0 7px 25px rgba(0, 0, 0, 0.08);
    border-radius: 20px;
}

    .details .recentOrder p {
        margin: 22px;
        height: 50px;
    }

    .details .recentOrder .search-item {
        position: absolute;
        bottom: 30px;
    }

.serder {
    background-color: #e6e2e2;
    border-radius: 9px;
}

.recever {
    background-color: #e6e2e2;
    border-radius: 9px;
}

.chat1 {
    margin-left: 70px;
}

    .chat1 p {
        padding: 10px;
    }

.chat p {
    padding: 10px;
}

.number {
    background-color: rgb(236, 91, 91);
    width: 17px;
    height: 17px;
    border-radius: 50%;
    margin-left: 192px;
    margin-top: 40px;
    color: white;
    position: absolute;
    padding-left: 4px;
    padding-top: -3px;
    padding-bottom: 1px;
}

.details .cardHeader {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.cardHeader h2 {
    font-weight: 600;
    color: var(--blue);
}

.cardHeader .btn {
    position: relative;
    padding: 5px 10px;
    background: var(--blue);
    text-decoration: none;
    color: var(--white);
    border-radius: 6px;
}

.details table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

    .details table thead td {
        font-weight: 600;
    }

.details .recentOrders table tr {
    color: var(--black1);
}

    .details .recentOrders table tr:last-child {
        border-bottom: none;
    }


    .details .recentOrders table tr td {
        padding: 10px;
    }

        .details .recentOrders table tr td:last-child {
            text-align: end;
        }

        .details .recentOrders table tr td:nth-child(2) {
            text-align: end;
        }

        .details .recentOrders table tr td:nth-child(3) {
            text-align: center;
        }

.bolpoint {
    width: 10px;
    height: 10px;
    background-color: #f00;
    border-radius: 50%;
    position: absolute;
    margin-left: 200px;
    margin-top: 45px;
}

.status.delivered {
    padding: 2px 4px;
    background: #8de02c;
    color: var(--white);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
}

.status.pending {
    padding: 2px 4px;
    background: #e9b10a;
    color: var(--white);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
}

.status.return {
    padding: 2px 4px;
    background: #f00;
    color: var(--white);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
}

.status.inProgress {
    padding: 2px 4px;
    background: #1795ce;
    color: var(--white);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
}

.recentCustomers {
    position: relative;
    display: grid;
    min-height: 500px;
    padding: 20px;
    background: var(--white);
    box-shadow: 0 7px 25px rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    padding-top: -120px;
}

.recentCustomers2 {
    /*position: relative;
    display: grid;*/
    padding: 0 !important;
    min-height: 500px;
    padding: 20px;
    background: var(--white);
    box-shadow: 0 7px 25px rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    padding-top: -120px;
}

.recentCustomers2 .imgBx {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50px;
    overflow: hidden;
    margin-top: -15px;
}

.recentCustomers2 .imgBx img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recentCustomers2 table tr td {
    padding: 12px 10px;
}

.recentCustomers2 table {
    margin-top: -54px;
}

    .recentCustomers2 table tr td h4 {
        font-size: 16px;
        font-weight: 500;
        line-height: 1.2rem;
    }

        .recentCustomers2 table tr td h4 span {
            font-size: 14px;
            color: var(--black2);
        }

    .recentCustomers2 table tr:hover td h4 span {
        color: var(--black1);
    }




    .recentCustomers .imgBx {
        position: relative;
        width: 40px;
        height: 40px;
        border-radius: 50px;
        overflow: hidden;
        margin-top: -15px;
    }

        .recentCustomers .imgBx img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

    .recentCustomers table tr td {
        padding: 12px 10px;
    }

    .recentCustomers table {
        margin-top: -54px;
    }

        .recentCustomers table tr td h4 {
            font-size: 16px;
            font-weight: 500;
            line-height: 1.2rem;
        }

            .recentCustomers table tr td h4 span {
                font-size: 14px;
                color: var(--black2);
            }

        .recentCustomers table tr:hover td h4 span {
            color: var(--black1);
        }

.table-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 300px;
}

    .table-items h4 {
        margin-top: 8px;
    }

.tabel-para {
    margin-left: 25px;
    margin-top: 8px;
}

.recent {
    position: relative;
    display: grid;
    min-height: 500px;
    padding: 20px;
    background: var(--white);
    box-shadow: 0 7px 25px rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    padding-top: -120px;
    margin-top: -85px;
}

    .recent .Bx {
        position: relative;
        width: 40px;
        height: 40px;
        border-radius: 50px;
        overflow: hidden;
        margin-top: -230px;
    }

        .recent .Bx img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

    .recent table tr td {
        padding: 12px 10px;
    }

    .recent table {
        margin-top: -54px;
    }

        .recent table tr td h4 {
            font-size: 16px;
            font-weight: 500;
            line-height: 1.2rem;
        }

            .recent table tr td h4 span {
                font-size: 14px;
                color: var(--black2);
            }

        .recent table tr:hover td h4 span {
            color: var(--black1);
        }

.table-item {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 300px;
    margin-top: -205px;
}

    .table-item h4 {
        margin-top: 8px;
    }

.tabel-par {
    margin-left: 25px;
    margin-top: 8px;
}


/* dashboard2 css */

.dashboard-details {
    position: relative;
    width: 100%;
    padding: 20px;
    display: grid;
    grid-template-columns: 4fr;
    grid-gap: 30px;
    /* margin-top: 10px; */
}

    .dashboard-details .recentOrders {
        position: relative;
        display: grid;
        background: var(--white);
        padding: 20px;
        box-shadow: 0 7px 25px rgba(0, 0, 0, 0.08);
        border-radius: 20px;
    }

    .dashboard-details .cardHeader {
        display: flex;
    }

.cardHeader h2 {
    font-weight: 600;
    color: var(--blue);
}

.cardHeader .btn {
    position: relative;
    padding: 5px 10px;
    background: var(--blue);
    text-decoration: none;
    color: var(--white);
    border-radius: 6px;
}

.dashboard-details table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

    .dashboard-details table thead td {
        font-weight: 600;
    }

.dashboard-details .recentOrders table tr {
    color: var(--black1);
}

.dashboard-details .recentOrders .search {
    margin-bottom: 30px;
    margin-left: -6px;
}

.dashboard-details .recentOrders table tr:last-child {
    border-bottom: none;
}

.dashboard-details .recentOrders table tr td {
    padding: 10px;
}

    .dashboard-details .recentOrders table tr td:last-child {
        text-align: end;
    }

    .dashboard-details .recentOrders table tr td:nth-child(3) {
        text-align: center;
    }

.status.delivered {
    padding: 2px 4px;
    background: #8de02c;
    color: var(--white);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
}

.status.pending {
    padding: 2px 4px;
    background: #e9b10a;
    color: var(--white);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
}

.status.return {
    padding: 2px 4px;
    background: #f00;
    color: var(--white);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
}

.status.inProgress {
    padding: 2px 4px;
    background: #1795ce;
    color: var(--white);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
}

.calender-icon {
    margin-left: -10px;
    margin-top: 3px;
    margin-right: 3px;
}

.date {
    width: 90px;
    height: 20px;
    font-size: 12px;
    box-shadow: rgba(6, 24, 44, 0.4) 0px 0px 0px 2px, rgba(6, 24, 44, 0.65) 0px 4px 6px -1px, rgba(255, 255, 255, 0.08) 0px 1px 0px inset;
    margin: 15px;
    border-radius: 40px;
    margin-left: 20px;
}

.recentCustomers {
    position: relative;
    display: grid;
    min-height: 500px;
    padding: 20px;
    background: var(--white);
    box-shadow: 0 7px 25px rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    padding-top: -120px;
}

    .recentCustomers .imgBx {
        position: relative;
        width: 40px;
        height: 40px;
        border-radius: 50px;
        overflow: hidden;
    }

        .recentCustomers .imgBx img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

    .recentCustomers table tr td {
        padding: 12px 10px;
    }

        .recentCustomers table tr td h4 {
            font-size: 16px;
            font-weight: 500;
            line-height: 1.2rem;
        }

            .recentCustomers table tr td h4 span {
                font-size: 14px;
                color: var(--black2);
            }

    .recentCustomers table tr:hover {
        background: var(--blue);
        color: var(--black1);
    }

        .recentCustomers table tr:hover td h4 span {
            color: var(--white);
        }

.table-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 300px;
}

.tabel-para {
    margin-left: 25px;
}

.option {
    margin-top: 55px;
}
/* ====================== Responsive Design ========================== */
@media (max-width: 991px) {
    .navigation {
        left: -300px;
    }

        .navigation.active {
            width: 300px;
            left: 0;
        }

    .main {
        width: 100%;
        left: 0;
    }

        .main.active {
            left: 300px;
        }

    .cardBox {
        grid-template-columns: repeat(2, 1fr);
    }

    .topside .toggle {
        position: relative;
        width: 40px;
        height: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 2.5rem;
        cursor: pointer;
        margin-left: -10px;
        visibility: hidden;
    }

    .search-item label input {
        width: 70%;
        height: 40px;
        border-radius: 10px;
        padding: 5px 5pxpx;
        font-size: 15px;
        outline: none;
        border: 1px solid var(--black2);
        z-index: 1;
    }

    .search-item button img {
        margin-left: -135px;
        z-index: 3;
        position: absolute;
        margin-top: -20px;
    }
}

@media (max-width: 768px) {
    .details {
        grid-template-columns: 1fr;
    }

    .recentOrders {
        overflow-x: auto;
    }

    .status.inProgress {
        white-space: nowrap;
    }

    .topside .toggle {
        position: relative;
        width: 40px;
        height: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 2.5rem;
        cursor: pointer;
        margin-left: -10px;
        visibility: hidden;
    }

    .search-item label input {
        width: 70%;
        height: 40px;
        border-radius: 10px;
        padding: 5px 5pxpx;
        font-size: 15px;
        outline: none;
        border: 1px solid var(--black2);
        z-index: 1;
    }

    .search-item button img {
        margin-left: -135px;
        z-index: 3;
        position: absolute;
        margin-top: -20px;
    }
}

@media (max-width: 480px) {
    .details {
        grid-template-columns: 1fr;
    }

    .cardBox {
        grid-template-columns: repeat(1, 1fr);
    }

    .cardHeader h2 {
        font-size: 20px;
    }

    .user {
        min-width: 40px;
    }

    .navigation {
        width: 100%;
        left: -100%;
        z-index: 1000;
    }

        .navigation.active {
            width: 100%;
            left: 0;
        }

    .toggle {
        z-index: 10001;
        visibility: visible;
    }

    .main.active .toggle {
        color: #fff;
        position: fixed;
        right: 0;
        left: initial;
    }

    .topside .toggle {
        position: relative;
        width: 40px;
        height: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 2.5rem;
        cursor: pointer;
        margin-left: -10px;
        visibility: visible;
    }

    .search-item label input {
        width: 70%;
        height: 40px;
        border-radius: 10px;
        padding: 5px 5pxpx;
        font-size: 15px;
        outline: none;
        border: 1px solid var(--black2);
        z-index: 1;
    }

    .search-item button img {
        margin-left: -135px;
        z-index: 3;
        position: absolute;
        margin-top: -20px;
    }

    .search {
        position: relative;
        width: 270px;
        margin: 0 2px;
        margin-left: -5px;
    }
}
