:root {
    --primary-color: #7380ec;
    --danger-color: #ff7782;
    --success-color: #41f1b6;
    --warning-color: #ffbb55;
    --white-color: #202528;
    --infodark-color: #7d8da1;
    --infolight-color: #dce1eb;
    --dark-color: #edeffd;
    --light-color: rgba( 0, 0, 0, 0.4);
    --primaryvarient-color: #111e88;
    --dark-varient-color: #a3bdcc;
    --background-color: #181a1e;
    --card-border-radius: 2rem;
    --border-radius-1: 0.4rem;
    --border-radius-2: 0.8rem;
    --border-radius-3: 0.4rem;
    --card-padding: 1.8rem;
    --padding-1: 1.2rem;
    --box-shadow: 0 2rem 3rem var(--light-color);
}


/* --primary-color: #7380ec;
--danger-color: #ff7782;
--success-color: #41f1b6;
--warning-color: #ffbb55;
--white-color: #fff;
--infodark-color: #7d8da1;
--infolight-color: #dce1eb;
--dark-color: #363949;
--light-color: rgba(132, 139, 200, 0.18);
--primaryvarient-color: #111e88;
--dark-varient-color: #677483;
--background-color: #f6f6f9;
--card-border-radius: 2rem;
--border-radius-1: 0.4rem;
--border-radius-2: 0.8rem;
--border-radius-3: 0.4rem;
--card-padding: 1.8rem;
--padding-1: 1.2rem;
--box-shadow: 0 2rem 3rem var(--light-color); */


/* =============================== DARK THEME ==================================== */

.darktheme {
    --background-color: #181a1e;
    --white-color: #202528;
    --dark-color: #edeffd;
    --darkvarient-color: #a3bdcc;
    --light-color: rgba( 0, 0, 0, 0.4);
    --box-shadow: 0 2rem 3rem var(--light-color);
}

* {
    margin: 0;
    padding: 0;
    outline: 0;
    appearance: none;
    border: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}

html {
    font-size: 14px;
}

body {
    width: 100vw;
    height: 100vh;
    font-family: "Poppins", sans-serif;
    font-size: 0.88rem;
    background: var(--background-color);
    user-select: none;
    overflow-x: hidden;
    color: var(--dark-color);
}

.container {
    display: grid;
    width: 96%;
    margin: 0 auto;
    gap: 1.8rem;
    grid-template-columns: 14rem auto 23rem;
}

a {
    color: var(--dark-color);
}

img {
    display: block;
    width: 100%;
}

h1 {
    font-weight: 800;
    font-size: 1.8rem;
}

h2 {
    font-size: 1.4rem;
}

h3 {
    font-size: 0.87rem;
}

h4 {
    font-size: 0.8rem;
}

h5 {
    font-size: 0.77rem;
}

small {
    font-size: 0.75rem;
}

.profile-photo {
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 50%;
    overflow: hidden;
}

.text-muted {
    color: var(--infodark-color);
}

p {
    color: var(--white-color);
}

b {
    color: var(--dark-color);
}

.primary {
    color: var(--primary-color);
}

.danger {
    color: var(--danger-color);
}

.success {
    color: var(--success-color);
}

.warning {
    color: var(--warning-color);
}

aside {
    height: 100vh;
}

aside .top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.4rem;
}

aside .logo {
    display: flex;
    gap: 0.8rem;
}

aside .logo img {
    width: 2rem;
    height: 2rem;
}

aside .close {
    display: none;
}

aside .sidebar {
    background: var(--background-color);
    display: flex;
    flex-direction: column;
    height: 86vh;
    position: relative;
    top: 3rem;
}

aside h3 {
    font-weight: 500;
}

aside .sidebar a {
    display: flex;
    color: var(--infodark-color);
    margin-left: 2rem;
    gap: 1rem;
    align-items: center;
    position: relative;
    height: 3.5rem;
    transition: all 300ms ease;
}

aside .sidebar a span {
    font-size: 1.6rem;
    transition: all 300ms ease;
}


/* aside .sidebar a:last-child {
position: absolute;
bottom: 4rem;
} */

aside .sidebar a.active {
    background: var(--light-color);
    color: var(--primary-color);
    margin-left: 0;
}

aside .sidebar a.active:before {
    content: "";
    width: 6px;
    height: 100%;
    background: var(--primary-color);
}

aside .sidebar a.active span {
    color: var(--primary-color);
    margin-left: calc(1rem - 3px);
}

aside .sidebar a:hover {
    color: var(--primary-color);
}

aside .sidebar a:hover span {
    margin-left: 1rem;
}

aside .sidebar .message-count {
    background: var(--danger-color);
    color: var(--white-color);
    padding: 2px 10px;
    font-size: 11px;
    border-radius: var(--border-radius-1);
}


/* /*===============================MAIN====================================* / */

main {
    margin-top: 1.4rem;
}

main .date {
    display: inline-block;
    background: var(--light-color);
    border-radius: var(--border-radius-1);
    margin-top: 1rem;
    padding: 0.5rem 1.6rem;
}

main .date input[type="date"] {
    background: transparent;
    color: var(--dark-color);
}

main .insights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
}

main .insights[id="report"] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

main .insights>div {
    background: var(--white-color);
    padding: var(--card-padding);
    border-radius: var(--card-border-radius);
    margin-top: 1rem;
    transition: all 300ms ease;
}

main .insights .profit {
    box-shadow: .0 .0 .5rem orange;
}

main .insights .profit:hover {
    box-shadow: .5rem .5rem .5rem orange;
    transform: scale(1.3);
}

main .insights .tilesSold {
    box-shadow: .0 .0 .5rem rgb(248, 49, 92);
}

main .insights .tilesSold:hover {
    box-shadow: .5rem .5rem .5rem rgb(248, 49, 92);
    transform: scale(1.3);
}

main .insights .amount {
    box-shadow: .0 .0 .5rem rgb(0, 255, 34);
}

main .insights .amount:hover {
    box-shadow: .5rem .5rem .5rem rgb(0, 255, 34);
    transform: scale(1.3);
}

main .insights .totalExpense {
    box-shadow: .0 .0 .5rem rgb(0, 195, 255);
}

main .insights .totalExpense:hover {
    box-shadow: .5rem .5rem .5rem rgb(0, 195, 255);
    transform: scale(1.3);
}

main .insights .tilesRate {
    box-shadow: .0 .0 .5rem orange;
}

main .insights .tilesRate:hover {
    box-shadow: .5rem .5rem .5rem orange;
    transform: scale(1.3);
}

main .insights .tilesExpense {
    box-shadow: .0 .0 .5rem rgb(248, 49, 92);
}

main .insights .tilesExpense:hover {
    box-shadow: .5rem .5rem .5rem rgb(248, 49, 92);
    transform: scale(1.3);
}

main .insights .box {
    box-shadow: .0 .0 .5rem rgb(0, 255, 34);
}

main .insights .box:hover {
    box-shadow: .5rem .5rem .5rem rgb(0, 255, 34);
    transform: scale(1.3);
}

main .insights .deAiring {
    box-shadow: .0 .0 .5rem rgb(0, 195, 255);
}

main .insights .deAiring:hover {
    box-shadow: .5rem .5rem .5rem rgb(0, 195, 255);
    transform: scale(1.3);
}

main .insights>div span {
    background: var(--primary-color);
    padding: 0.5rem;
    border-radius: 50%;
    color: var(--white-color);
    font-size: 1.5rem;
}

main .insights>div.expense span {
    background: var(--danger-color);
}

main .insights>div.income span {
    background: var(--success-color);
}

main .insights>div .middle {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

main .insights h3 {
    margin: 1rem 0 0.6rem;
    font-size: 1rem;
}

main .insights .progress {
    position: relative;
    width: 92px;
    height: 92px;
    border-radius: 50%;
}

main .insights svg {
    width: 7rem;
    height: 7rem;
}

main .insights svg circle {
    fill: none;
    stroke: var(--primary-color);
    stroke-width: 14;
    stroke-linecap: round;
    transform: translate(5px, 5px);
    stroke-dasharray: 110;
    stroke-dashoffset: 92;
}

main .insights .sales svg circle {
    stroke-dasharray: 200;
    stroke-dashoffset: -30;
}

main .insights .expense svg circle {
    stroke-dasharray: 80;
    stroke-dashoffset: 10;
}

main .insights .income svg circle {
    stroke-dasharray: 110;
    stroke-dashoffset: 35;
}

main .insights .progress .number {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

main .insights small {
    margin-top: 1.3rem;
    display: block;
}


/* /*===============================RECENT ORDERS====================================* / */

.table-fixed tbody thead {
    position: static;
}

::-webkit-scrollbar {
    background-color: var(--infolight-color);
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--white-color);
    cursor: pointer;
    color: transparent;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(transparent, #7380ec);
    height: 150px;
    cursor: pointer;
    transition: all 300ms ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(transparent, #111e88);
}

.table-header {
    display: flex;
    justify-content: end;
    padding: 20px;
    background-color: var(--white-color);
    border-radius: var(--card-border-radius);
    margin-bottom: 10px;
}

.table-header a {
    text-decoration: none;
    display: inline-block;
    padding: 8px 16px;
    transition: all 300ms ease;
}

.table-header a:hover {
    background-color: var(--primary-color);
    color: var(--dark-color);
}

.table-header .previous {
    background-color: var(--dark-color);
    color: var(--primary-color);
    border-radius: var(--border-radius-1);
}

.table-header .next {
    background-color: var(--dark-color);
    color: var(--primary-color);
    border-radius: var(--border-radius-1);
}

.table-header input {
    padding: 10px 20px;
    margin: 0 10px;
    outline: none;
    border: 1px solid #7380ec;
    border-radius: 6px;
    color: var(--primary-color);
}

::placeholder {
    color: var(--primary-color);
}

.table-header button {
    outline: none;
    border: none;
    border-radius: 6px;
    background: var(--primary-color);
    cursor: pointer;
}

.table-header .add-new {
    padding: 10px 20px;
    color: var(--dark-color);
    background-color: var(--primary-color);
    border-radius: var(--border-radius-1);
    transition: .4s;
}

.table-header .add-new:hover {
    transform: scale(1.5);
}

main .recent-orders table[class="type"] {
    display: block;
    width: 100%;
    border-bottom: 1px solid #dddddd;
    padding: 12px 15px;
}

.table-fixed tbody th tr {
    display: block;
    width: 100%;
    border-bottom: 1px solid #dddddd;
    padding: 12px 15px;
}

.table-fixed tbody tr:nth-of-type(odd) {
    background-color: var(--white-color);
}

.table-fixed tbody tr:nth-of-type(odd):hover {
    background-color: var(--primary-color);
    font-weight: bold;
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius-1);
}

.table-fixed tbody tr:nth-of-type(even) {
    background-color: var(--white-color);
}

.table-fixed tbody tr:nth-of-type(even):hover {
    background-color: #d7dbff;
    color: var(--white-color);
    font-weight: bold;
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius-1);
}

.table-fixed tbody tr.active-row {
    font-weight: bold;
    color: var(--primary-color);
}

.table-fixed td {
    padding: 12px 15px;
    width: 5%;
    transition: all 300ms ease;
}

.table-fixed input {
    background: transparent;
    color: rgb(238, 89, 171);
    cursor: pointer;
    transition: .3s;
}

.table-fixed input:hover {
    transform: scale(1.5);
    color: rgb(91, 167, 91);
}

.table-fixed {
    display: block;
    height: 420px;
    overflow: auto;
    width: 100%;
}

main .recent-orders {
    margin-top: 2rem;
}

main .recent-orders h2 {
    margin-bottom: 0.8rem;
}

main .recent-orders table {
    border-collapse: collapse;
    background: var(--white-color);
    border-radius: var(--card-border-radius);
    padding: var(--card-padding);
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: all 300ms ease;
    font-size: 0.9rem;
}

main .recent-orders #btn {
    color: var(--primary-color);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 12px;
    /* transform: translate(-50%, -50%); */
    background-color: rgb(241, 236, 253);
    padding: 5px 30px;
    transition: .3s;
}

main .recent-orders #btn:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: scale(1.3);
}

main .recent-orders #modal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    /* background-color: #888;
background: rgba(189, 189, 189, 0.411); */
    z-index: 1;
    display: block;
    overflow: scroll;
}

main .recent-orders #modal .grid-container>div {
    color: var(--dark-color);
    background-color: var(--white-color);
    transition: all 300ms ease;
}

main .recent-orders #modal .grid-container .item4 {
    box-shadow: 0 0 0.5rem orange;
}

main .recent-orders #modal .grid-container .item4:hover {
    box-shadow: 0.5rem 0.5rem 0.5rem orange;
    transform: scale(1.5);
}

main .recent-orders #modal .grid-container .item5 {
    box-shadow: 0 0 0.5rem rgb(0, 195, 255);
}

main .recent-orders #modal .grid-container .item5:hover {
    box-shadow: 0.5rem 0.5rem 0.5rem rgb(0, 195, 255);
    transform: scale(1.5);
}

main .recent-orders #modal .grid-container .item6 {
    box-shadow: 0 0 0.5rem rgb(0, 255, 34);
}

main .recent-orders #modal .grid-container .item6:hover {
    box-shadow: 0.5rem 0.5rem 0.5rem rgb(0, 255, 34);
    transform: scale(1.5);
}

main .recent-orders #modal .grid-container .item7 {
    box-shadow: 0 0 0.5rem rgb(248, 49, 92);
}

main .recent-orders #modal .grid-container .item7:hover {
    box-shadow: 0.5rem 0.5rem 0.5rem rgb(248, 49, 92);
    transform: scale(1.5);
}

main .recent-orders #modal .grid-container .item8 {
    box-shadow: 0 0 0.5rem rgb(0, 255, 34);
}

main .recent-orders #modal .grid-container .item8:hover {
    box-shadow: 0.5rem 0.5rem 0.5rem rgb(0, 255, 34);
    transform: scale(1.5);
}

main .recent-orders #modal .grid-container .item9 {
    box-shadow: 0 0 0.5rem rgb(248, 49, 92);
}

main .recent-orders #modal .grid-container .item9:hover {
    box-shadow: 0.5rem 0.5rem 0.5rem rgb(248, 49, 92);
    transform: scale(1.5);
}

main .recent-orders #modal .grid-container .item10 {
    box-shadow: 0 0 0.5rem #7380ec;
    padding: 35px;
}

main .recent-orders #modal .grid-container .item10:hover {
    box-shadow: 0.5rem 0.5rem 0.5rem #7380ec;
    transform: scale(1.5);
}

main .recent-orders #modal .grid-container .item11 {
    box-shadow: 0 0 0.5rem orange;
    padding: 35px;
}

main .recent-orders #modal .grid-container .item11:hover {
    box-shadow: 0.5rem 0.5rem 0.5rem orange;
    transform: scale(1.5);
}

main .recent-orders #modal .grid-container .item12 {
    box-shadow: 0 0 0.5rem #7380ec;
    padding: 35px;
}

main .recent-orders #modal .grid-container .item12:hover {
    box-shadow: 0.5rem 0.5rem 0.5rem #7380ec;
    transform: scale(1.5);
}

main .recent-orders #modal .grid-container .item13 {
    box-shadow: 0 0 0.5rem rgb(248, 49, 92);
}

main .recent-orders #modal .grid-container .item13:hover {
    box-shadow: 0.5rem 0.5rem 0.5rem rgb(248, 49, 92);
    transform: scale(1.5);
}

main .recent-orders #modal .grid-container .item14 {
    box-shadow: 0 0 0.5rem rgb(0, 255, 34);
}

main .recent-orders #modal .grid-container .item14:hover {
    box-shadow: 0.5rem 0.5rem 0.5rem rgb(0, 255, 34);
    transform: scale(1.5);
}

main .recent-orders #modal .grid-container .item15 {
    box-shadow: 0 0 0.5rem orange;
    padding: 35px;
}

main .recent-orders #modal .grid-container .item15:hover {
    box-shadow: 0.5rem 0.5rem 0.5rem orange;
    transform: scale(1.5);
}

main .recent-orders #modal .grid-container .item16 {
    box-shadow: 0 0 0.5rem rgb(0, 195, 255);
}

main .recent-orders #modal .grid-container .item16:hover {
    box-shadow: 0.5rem 0.5rem 0.5rem rgb(0, 195, 255);
    transform: scale(1.5);
}

main .recent-orders #modal .grid-container .item17 {
    box-shadow: 0 0 0.5rem #7380ec;
}

main .recent-orders #modal .grid-container .item17:hover {
    box-shadow: 0.5rem 0.5rem 0.5rem #7380ec;
    transform: scale(1.5);
}

main .recent-orders #modal .grid-container p {
    color: var(--dark-color);
    background-color: transparent;
}

main .recent-orders #modal table {
    color: var(--dark-color);
    background-color: transparent;
    width: 310%;
    height: 100%;
    box-shadow: 0 0 0.5rem rgb(0, 255, 34);
    height: 100%;
    transition: all 300ms ease;
    padding: 20px;
}

main .recent-orders #modal table:hover {
    box-shadow: 0.5rem 0.5rem 0.5rem rgb(0, 255, 34);
    background-color: transparent;
}

main .recent-orders main #modal.show {
    opacity: 1;
    display: block;
}

.recent-orders .modal-content {
    position: relative;
    background-color: var(--white-color);
    margin: 100px auto;
    padding: 0;
    background-origin: 1px solid #888;
    width: 700px;
    max-width: 85%;
    animation: open 0.5s ease;
}

@keyframes open {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

main .recent-orders .modal-header {
    padding: 2px 16px;
    background-color: var(--primary-color);
    color: #fff;
    display: flex;
}

main .recent-orders .modal-header h2 {
    font-size: 25px;
    margin: 20px 0;
}

main .recent-orders .close-btn {
    position: absolute;
    color: #fff;
    right: 15px;
    font-size: 30px;
    font-weight: bold;
    margin-top: 12px;
    padding: 1px 5px;
    border: 1px solid #fff;
    cursor: pointer;
}

main .recent-orders #modal-body {
    padding: 5px 16px;
}

main .recent-orders .container {
    height: 100%;
    width: 100%;
    margin-top: 12px;
    margin-bottom: 12px;
}

main .recent-orders .box {
    text-align: center;
    height: 120%;
    width: 100%;
    background: var(--dark-color);
    color: var(--primary-color);
    border-radius: var(--border-radius-1);
    box-shadow: 0 2rem 3rem var(--white-color);
    padding: 10px 0;
    justify-content: space-between;
}

main .recent-orders #type {
    color: var(--white-color);
    margin: 1.5rem;
    width: 93.5%;
    height: 100%;
    justify-content: space-between;
}

main .recent-orders .container input {
    color: var(--white-color);
    display: block;
    text-align: center;
    height: 100%;
    width: 340%;
    background-color: var(--dark-color);
    transition: none;
}

main .recent-orders .container input:hover {
    transform: none;
}

.item1 {
    grid-area: 1 / 1 / 2 / 2;
}

.item2 {
    grid-area: 1 / 2 / 2 / 3;
}

.item3 {
    grid-area: 1 / 3 / 2 / 4;
}

.item4 {
    grid-area: 2 / 1 / 3 / 2;
}

.item5 {
    grid-area: 2 / 2 / 3 / 3;
}

.item6 {
    grid-area: 2 / 3 / 3 / 4;
}

.item7 {
    grid-area: 3 / 1 / 4 / 2;
}

.item8 {
    grid-area: 3 / 2 / 4 / 3;
}

.item9 {
    grid-area: 3/ 3 / 4 / 4;
}

.item10 {
    grid-column-end: span 3;
}

.item11 {
    grid-column-end: span 3;
}

.item12 {
    grid-area: 6/ 1 / 7 / 2;
}

.item13 {
    grid-area: 6/ 2 / 7 / 3;
}

.item14 {
    grid-area: 6/ 3 / 7 / 4;
}

.item15 {
    grid-area: 7/ 1 / 8 / 2;
}

.item16 {
    grid-area: 7/ 2 / 8 / 3;
}

.item17 {
    grid-area: 7/ 3 / 8 / 4;
}

main .recent-orders .grid-container .item10 input {
    width: 90%;
    color: var(--white-color);
    background: var(--dark-color);
    font-size: 18px;
}

.grid-container {
    display: grid;
    grid-auto-columns: 210px;
    grid-auto-rows: 100px;
    grid-gap: 10px;
    padding: 10px;
}

.grid-container>div {
    background-color: var(--dark-color);
    text-align: center;
    padding: 20px 0;
    font-size: 17px;
    color: var(--white-color);
    border-radius: var(--card-border-radius);
}

main .recent-orders .modal-footer {
    padding: 2px 16px;
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
}

main .recent-orders .modal-footer h3 {
    margin: 2% 0;
}


/* /*===============================  RIGHT  ====================================* / */

.right {
    margin-top: 1.4rem;
}

.right .top {
    display: flex;
    justify-content: end;
    gap: 2rem;
}

.right .top button {
    display: none;
}

.right .theme-toggler {
    background: var(--light-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 1.6rem;
    width: 4.2rem;
    cursor: pointer;
    border-radius: var(--border-radius-1);
}

.right .theme-toggler span {
    font-size: 1.2rem;
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.right .theme-toggler span.active {
    background: var(--primary-color);
    color: white;
    border-radius: var(--border-radius-1);
}

.right .top .profile {
    display: flex;
    gap: 2rem;
    text-align: right;
}


/* /*===============================  RECENT UPDATES  ====================================* / */

.right .recent-updates {
    margin-top: 1rem;
}

.right .recent-updates h2 {
    margin-bottom: 0.8rem;
}

.right .recent-updates .updates {
    background: var(--white-color);
    padding: var(--card-padding);
    border-radius: var(--card-border-radius);
    box-shadow: var(--box-shadow);
    transform: all 300s ease;
}

.right .recent-updates .updates:hover {
    box-shadow: none;
}

.right .recent-updates .updates .update {
    display: grid;
    grid-template-columns: 2.6rem auto;
    gap: 1rem;
    margin-bottom: 1rem;
}


/* /*===============================  SALES ANALYTICS  ====================================* / */

.right .sales-analytics {
    margin-top: 2rem;
}

.right .sales-analytics h2 {
    margin-bottom: 0.8rem;
}

.right .sales-analytics .item {
    background: var(--white-color);
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.7rem;
    padding: 1.4rem var(--card-padding);
    border-radius: var(--border-radius-2);
    box-shadow: var(--box-shadow);
    transition: all 300ms ease;
}

.right .sales-analytics .item:hover {
    box-shadow: none;
}

.right .sales-analytics .item .right {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin: 0;
    width: 100%;
}

.right .sales-analytics .item .icon {
    padding: 0.6rem;
    color: var(--white-color);
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
}

.right .sales-analytics .item.offline .icon {
    background: var(--danger-color);
}

.right .sales-analytics .item.customer .icon {
    background: var(--success-color);
}

.right .sales-analytics .add-product {
    background-color: transparent;
    border: 2px dashed var(--infodark-color);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.right .sales-analytics .add-product:hover {
    background-image: var(--primary-color);
}

.right .sales-analytics .add-product div {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.right .sales-analytics .add-product div h3 {
    font-weight: 600;
}


/* /*=============================== SETTINGS CARD  ====================================* / */

.hero {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.selector {
    width: 350px;
}

#selectField {
    width: 100%;
    padding: 40px 15px 15px 30px;
    margin-bottom: 30px;
    box-sizing: border-box;
    background-color: rgba(225 225 225 0.7);
    border-radius: 6px;
    display: flex;
    align-items: center;
    cursor: pointer;
    display: flex;
    color: var(--infodark-color);
    gap: 1rem;
    position: relative;
    height: 3.7rem;
    transition: all 300ms ease;
}

#selectField span {
    font-size: 1.6rem;
    transition: all 300ms ease;
    color: var(--infodark-color);
}

#list {
    width: 100%;
    background: rgba(225 225 225 0.7);
    border-radius: 6px;
    overflow: hidden;
}

.options {
    font-size: 13px;
    width: 100%;
    padding: 0 0 5px 80px;
    list-style: none;
    cursor: pointer;
    box-sizing: border-box;
    position: relative;
}

.options img {
    width: 18px;
    position: absolute;
    left: 35px;
}

.options:hover {
    box-shadow: var(--box-shadow);
    background: var(--light-color);
}

.hide {
    visibility: hidden;
}


/* =============================== ADD NEW ==================================== */

.addnew {
    top: 60%;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 1;
}

.switch {
    position: relative;
    display: inline-block;
    width: 70px;
    height: 35px;
    margin: 0 10px;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.switch input {
    display: none;
}

.slider:before {
    position: absolute;
    content: "";
    height: 28px;
    width: 28px;
    left: 5px;
    top: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50px;
}

input:checked+.slider {
    background-color: var(--primary-color);
}

input:checked+.slider:before {
    transform: translateX(32px);
}

.addnew p {
    color: var(--dark-color);
    font-size: 20px;
}

.addnew .form-items {
    display: block;
    color: var(--dark-color);
    margin-bottom: 25px;
    font-size: 16px;
}

.form-items input {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #dddae0;
    border-radius: 3px;
    transition: all 300ms ease;
}

.form-items input:hover {
    border: 1px solid #000;
}

.wrapper {
    max-width: 100%;
    width: 100%;
    margin: 30px auto 0;
    padding: 10px;
}

.form-container {
    width: 100%;
    background: var(--white-color);
    padding: 30px;
    box-shadow: 1px 1px 15px rgba(0, 0, 0, 0.15);
    border-radius: var(--card-border-radius);
}

.heading {
    background-color: var(--primary-color);
    margin: -30px;
    text-align: center;
    color: #fff;
    padding: 10px;
    margin-bottom: 35px;
}

.form-items {
    margin-bottom: 25px;
}

.type {
    display: flex;
}

.type .form-items {
    width: 50%;
}

.type .form-items:first-child {
    margin-right: 4%;
}

.addnew .save-button {
    padding: 10px 20px;
    color: var(--dark-color);
    background-color: var(--primary-color);
    border-radius: var(--border-radius-1);
    transition: all .4s ease;
    font-size: 16px;
    cursor: pointer;
}

.addnew .save-button:hover {
    transform: scale(1.5);
    background-color: var(--dark-color);
    color: var(--white-color);
}

.type-1 {
    display: flex;
    gap: 1rem;
}

.type-1 .form-items {
    width: 60%;
}


/* .type-1 .form-items:first-child {
margin-right: 4%;
} */

.fallbackDatePicker {
    background: fixed;
    font-size: 16px;
    font-family: "Poppins", sans-serif;
    justify-content: center;
    align-items: center;
}

.fallbackDatePicker select {
    background-color: var(--dark-color);
    border-radius: var(--border-radius-1);
    width: 200px;
    height: 30px;
    text-align: center;
    font-size: 14px;
    box-shadow: 1px 1px 15px rgba(0, 0, 0, 0.15);
    border: 1px solid #dddae0;
    font-family: "Poppins", sans-serif;
    justify-content: center;
    align-items: center;
}

.fallbackDatePicker option {
    background-color: var(--white-color);
    color: var(--dark-color);
    border-radius: var(--border-radius-1);
    font-family: "Poppins", sans-serif;
}

.container .date {
    background: var(--white-color);
    border-radius: var(--border-radius-1);
    box-shadow: 1px 1px 15px rgba(0, 0, 0, 0.15);
    width: 100%;
}


/* /*===============================  MEDIA  QUERIES ====================================* /  */

@media screen and (max-width: 1200px) {
    .container {
        width: 94%;
        grid-template-columns: 7rem auto 23rem;
    }
    aside .logo h2 {
        display: none;
    }
    aside .sidebar {
        width: 5.6rem;
    }
    h3 {
        display: none;
    }
    main .insights {
        grid-template-columns: 1fr;
        gap: 0;
    }
    main .recent-orders {
        width: 94%;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        margin: 2rem 0 0 8.8rem;
    }
    .table-fixed td {
        padding: 12px 15px;
        width: 10%;
        transition: all 300ms ease;
    }
    main .recent-orders table {
        width: 83vw;
    }
    main table thead tr th:last-child,
    main table thead tr th:first-child {
        display: none;
    }
    main table tbody td th:last-child,
    main table tbody td th:first-child {
        display: none;
    }
    main .insights[id="report"] {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 10px 30px;
        width: 80vw;
    }
    main .recent-orders tr {
        font-size: 12px;
        width: 100%;
    }
    main .table-header {
        width: 80vw;
    }
    main .table-header a {
        width: 15vw;
        font-size: 12px;
        text-align: center;
    }
    main .table-header .add-new {
        width: 90px;
        font-size: 10px;
    }
    main .table-header .search {
        width: 80px;
        font-size: 12px;
    }
    main .recent-orders table {
        width: 80vw;
        font-size: 12px;
    }
    .fallbackDatePicker {
        background: fixed;
        font-size: 12px;
        justify-content: center;
        align-items: center;
    }
    .fallbackDatePicker select {
        width: 150px;
        height: 30px;
        font-size: 12px;
        justify-content: center;
        align-items: center;
    }
    .fallbackDatePicker option {
        background-color: var(--white-color);
        color: var(--dark-color);
        border-radius: var(--border-radius-1);
        font-family: "Poppins", sans-serif;
    }
}


/* /*===============================  MEDIA QUERIES 2  ====================================* /  */

@media screen and (max-width: 768px) {
    .container {
        width: 100%;
        grid-template-columns: 1fr;
    }
    aside {
        position: fixed;
        left: -100;
        background: var(--white-color);
        width: 18rem;
        z-index: 3;
        box-shadow: 1rem 3rem 4rem var(--light-color);
        height: 100vh;
        padding-right: var(--card-padding);
        display: none;
        animation: showMenu 400ms ease forwards;
    }
    @keyframes showMenu {
        to {
            left: 0;
        }
    }
    aside .logo {
        margin-left: 1rem;
    }
    aside .logo h2 {
        display: inline;
    }
    aside .sidebar h3 {
        display: inline;
    }
    aside .sidebar a {
        width: 100%;
        height: 3.4rem;
    }
    aside .close {
        display: inline-block;
        cursor: pointer;
    }
    main {
        margin-top: 8rem;
        padding: 0 1rem;
    }
    main .recent-orders {
        position: relative;
        margin: 3rem 0 0 0;
        width: 100%;
    }
    main .recent-orders table {
        width: 100%;
        margin: 0;
    }
    .right {
        width: 94%;
        margin: 0 auto 4rem;
    }
    .right .top {
        position: fixed;
        top: 0;
        left: 0;
        align-items: center;
        padding: 0 0.8rem;
        height: 4.6rem;
        background: var(--white-color);
        width: 100%;
        margin: 0;
        z-index: 2;
        box-shadow: 0 1rem 1rem var(--light-color);
    }
    .right .top .theme-toggler {
        width: 4.4rem;
        position: absolute;
        left: 66%;
    }
    .right .profile .info {
        display: none;
    }
    .right .top button {
        display: inline-block;
        background: transparent;
        cursor: pointer;
        color: var(--dark-color);
        position: absolute;
        left: 1rem;
    }
    .right .top button span {
        font-size: 2rem;
    }
    main .insights[id="report"] {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 10px 30px;
    }
    main .table-header {
        width: 100%;
        width: 90vw;
    }
    main .table-header a {
        width: 100px;
        font-size: 12px;
        text-align: center;
    }
    main .table-header .add-new {
        width: 90px;
        font-size: 10px;
    }
    main .table-header .search {
        width: 80px;
        font-size: 12px;
    }
    main .recent-orders table {
        width: 90vw;
        font-size: 12px;
    }
    .fallbackDatePicker {
        background: fixed;
        font-size: 12px;
        justify-content: center;
        align-items: center;
    }
    .fallbackDatePicker select {
        width: 150px;
        height: 30px;
        font-size: 12px;
        justify-content: center;
        align-items: center;
    }
    .fallbackDatePicker option {
        background-color: var(--white-color);
        color: var(--dark-color);
        border-radius: var(--border-radius-1);
        font-family: "Poppins", sans-serif;
    }
}


/* /*===============================  MEDIA QUERIES 2  ====================================* /  */

@media screen and (max-width: 500px) {
    .container {
        width: 100%;
        grid-template-columns: 1fr;
    }
    main {
        margin-top: 1.4rem;
    }
    aside {
        position: fixed;
        left: -100;
        background: var(--white-color);
        width: 18rem;
        z-index: 3;
        box-shadow: 1rem 3rem 4rem var(--light-color);
        height: 100vh;
        padding-right: var(--card-padding);
        display: none;
        animation: showMenu 400ms ease forwards;
    }
    @keyframes showMenu {
        to {
            left: 0;
        }
    }
    aside .logo {
        margin-left: 1rem;
    }
    aside .logo h2 {
        display: inline;
    }
    aside .sidebar h3 {
        display: inline;
        font-size: 10px;
    }
    aside .sidebar a {
        width: 100%;
        height: 2.8rem;
    }
    aside .close {
        display: inline-block;
        cursor: pointer;
    }
    .fallbackDatePicker {
        background: fixed;
        font-size: 12px;
        justify-content: center;
        align-items: center;
    }
    .fallbackDatePicker select {
        width: 150px;
        height: 30px;
        font-size: 12px;
        justify-content: center;
        align-items: center;
    }
    .fallbackDatePicker option {
        background-color: var(--white-color);
        color: var(--dark-color);
        border-radius: var(--border-radius-1);
        font-family: "Poppins", sans-serif;
    }
    main .insights[id="report"] {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 0rem;
        padding: 5px 20px;
    }
    main .recent-orders {
        width: 100%;
        position: absolute;
        left: 30%;
        transform: translateX(-50%);
        margin: 2rem 0 0 8.8rem;
    }
    main .recent-orders thead th {
        position: relative;
        width: 80vw;
        font-size: 12px;
    }
    main .table-header {
        width: 100%;
        width: 90vw;
    }
    main .table-header a {
        width: 90px;
        font-size: 11px;
        text-align: center;
    }
    main .table-header .add-new {
        width: 100px;
        font-size: 11px;
    }
    main .table-header .search {
        width: 80px;
        font-size: 11px;
    }
    main .recent-orders table {
        width: 90vw;
        font-size: 12px;
    }
}