@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

:root {
    --selection-clr: #178573;
    --white-clr: #fff;
    --shadow-clr: #aaa;
    --dark-shadow-clr: #636363;
    --light-clr-1: #cbfff6a6;
    --light-clr-2: #2ba38f80;
    --light-clr-3: #b3d4ce;
    --light-clr-4: #8bbdb450;
    --light-clr-5: #8bbdb4;
    --dark-clr-1: #2ba38f;
    --dark-clr-2: #178573;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Poppins;
}

body {
    height: 100svh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--light-clr-1);
    overflow: hidden;
}

body::selection {
    background-color: var(--dark-clr-2);
    color: var(--white-clr);
}

.container {
    height: 95%;
    width: 97%;
    box-shadow: 0 0 0.4rem var(--shadow-clr);
    border-radius: 0.5rem;
    backdrop-filter: blur(0.3rem);
    border: 2px solid var(--white-clr);
    background-color: var(--white-clr);
    overflow-y: auto;
}

.container::-webkit-scrollbar {
    width: 0.5rem;
}

.container::-webkit-scrollbar-track {
    background-color: var(--light-clr-3);
    border-radius: 0 0.5rem 0.5rem 0.5rem;
}

.container::-webkit-scrollbar-thumb {
    background-color: var(--dark-clr-1);
    border-radius: 0.5rem;
    height: 3px;
}

header {
    position: sticky;
    top: 0%;
    left: 0%;
    z-index: 1;
}

header,
nav {
    width: 100%;
    height: 10%;
    border-radius: 0.5rem 0 0 0;
}

nav {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--light-clr-3);
}

.main-section {
    height: 90%;
    width: 100%;
    border-radius: 0 0 0.5rem 0.5rem;
}

.logo {
    height: 80%;
    width: 5rem;
    background-color: var(--white-clr);
    border-radius: 0.3rem;
    background-image: url('../img/logo.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    margin-left: 0.5rem;
}

.user-card {
    height: 90%;
    border-radius: 0 0.5rem 0.5rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.log-out {
    height: 80%;
    width: 3rem;
    font-size: 2.5rem;
    color: red;

    /* &:hover {
        transform: scale(1.05);
    } */

}

.log-out:hover {
    transform: scale(1.05);
}

.person-name {
    font-size: 1.1rem;
    font-weight: 900;
    padding-left: 0.5rem;
}

.view-profile {
    font-size: 0.9rem;
    color: var(--dark-shadow-clr);
    text-align: right;
    padding-left: 0.5rem;
    cursor: pointer;
    font-weight: 900;
}

.profile-img {
    height: 100%;
    margin-right: 0.5rem;
    margin-left: 0.5rem;
}

.profile-img>img {
    height: 100%;
}

.wish-icons-area {
    width: 100%;
    height: 40%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.icons-area {
    height: 95%;
    width: 35%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.records-icon,
.progress-icon,
.warehouse-icon,
.dispatched-icon,
.trash-icon{
    height: 46%;
    width: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: var(--light-clr-3);
    border-radius: 0.5rem;
    cursor: pointer;
    box-shadow: 0 0 0.3rem var(--dark-shadow-clr);
}

.records-icon p,
.progress-icon p,
.warehouse-icon p,
.dispatched-icon p,
.treach-icon p{
    font-size: 0.8rem;
}

.records-count,
.progress-count,
.warehouse-count,
.dispatched-count,
.trash-count{
    font-size: 0.8rem;
    font-weight: 900;
    padding-left: 0.3rem;

}

.img {
    height: 4rem;
    width: 4.5rem;
    /*background-color: var(--white-clr);*/
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    border-radius: 0.5rem;
    margin-bottom: 0.2rem;
}

.records-icon>.img {
    background-image: url('../img/records.png');
}

.progress-icon>.img {
    background-image: url('../img/progress.png');
}

.warehouse-icon>.img {
    background-image: url('../img/warehouse.png');
}

.dispatched-icon>.img {
    background-image: url('../img/van.png');
}
.trash-icon>.img{
    background-image: url('../img/trash.png');
}

.icon-data {
    display: flex;
}

/* Wish area css */

.wish-area {
    height: 95%;
    width: 65%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.wish-text {
    width: 50%;
}

.welcome {
    font-size: 1.5rem;
    display: inline-block;
}

.wish-person {
    padding-left: 0.2rem;
    display: inline-block;
    font-size: 1.5rem;
    color: var(--dark-clr-2);
}

.wish-img {
    height: 90%;
    width: 45%;
    background-image: url('../img/officeTeam.svg');
    background-position: center;
    background-repeat: no-repeat;
}


.table-area {
    width: 100%;
    margin-top: 1rem;
    position: relative;
}

.table-heading {
    margin-left: 1rem;
    margin-top: 0.5rem;
    font-size: 1.3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    position: relative;
}

.table {
    width: 98%;
    margin: auto;
    border: 2px solid var(--light-clr-3);
    border-radius: 0.8rem;
    overflow-x: auto;
}

.table::-webkit-scrollbar {
    height: 0.8rem;
}

.table::-webkit-scrollbar-track {
    background-color: var(--light-clr-3);
    border-radius: 0 0 0.5rem 0.5rem;
}

.table::-webkit-scrollbar-thumb {
    background-color: var(--dark-clr-1);
    border-radius: 0.5rem;

}

table {
    width: 100%;
    text-align: center;
    border-collapse: collapse;
    border-color: var(--light-clr-3);
    margin: auto;
    font-size: 0.8rem;
}


.tab-head {
    background-color: var(--light-clr-3);
    font-weight: 900;
    position: sticky;
    top: -0.5%;
    /* left: 0; */
}

.th-first {
    border-radius: 0.5rem 0 0 0;
}

.th-last {
    border-radius: 0 0.5rem 0 0;
}

tr:last-child>td:first-child {
    border-radius: 0 0 0 0.5rem;
}

button.see-all-btn {
    position: absolute;
    right: 3%;
    width: 6rem;
    display: inline-block;
    font-size: 1.1rem;
    background-color: var(--light-clr-3);
    border: none;
    box-shadow: 0 0 0.3rem var(--dark-shadow-clr);
    border-radius: 0.2rem;
    cursor: pointer;

    /* &:hover {
        transform: scale(1.05);
        background-color: var(--dark-clr-2);
        color: var(--white-clr);
    } */

}

button.see-all-btn:hover {
    transform: scale(1.05);
    background-color: var(--dark-clr-2);
    color: var(--white-clr);
}

th,
td {
    padding: 0.5rem;
    border: 1px solid var(--dark-clr-1);
}

th {
    position: sticky;
    z-index: 2;
    top: 0%;
    left: 0%;
    font-weight: 100;
    background-color: var(--white-clr);

}


/* table css */

/* user profile card */

.user-profile-outer {
    position: absolute;
    top: 0%;
    left: 0%;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(0.1rem);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    display: none;
    animation: animate-user-profile-outer-appear 0.2s linear 1;
}

@keyframes animate-user-profile-outer-appear {

    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

.remove-user-profile-outer {
    animation: animate-user-profile-outer-disappear 0.2s linear 1 forwards;
}

@keyframes animate-user-profile-outer-disappear {
    100% {
        transform: scale(0);
    }
}

.close-btn {
    height: 4rem;
    width: 4rem;
    border-radius: 50%;
    background-color: var(--light-clr-5);
    color: var(--white-clr);
    font-size: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0.1rem solid var(--white-clr);
    cursor: pointer;
    position: absolute;
    top: 3%;
    right: 5%;
    z-index: 1;

    /* &:hover {
        transform: scale(1.05);
    } */

}

.close-btn:hover {
    transform: scale(1.05);
}

.user-profile-inner {
    height: 85%;
    width: 35%;
    background-color: var(--white-clr);
    border-radius: 0.5rem;
    position: relative;
}

.user-profile-img {
    height: 8rem;
    width: 8rem;
    margin: 1rem auto;
    border-radius: 50%;
    box-shadow: 0 0.2rem 0.8rem var(--dark-shadow-clr);


    /* &>img {
        height: 100%;
    } */

}

.user-profile-img>img {
    height: 100%;
}

.user-labels {
    font-size: 1rem;
    width: 60%;
    color: var(--dark-clr-2);
    display: inline-block;
    width: 35%;
    padding: 0.4rem;
    font-weight: bold;
}

.user-profile-details {
    display: inline;
    font-size: 1rem;
}

.user-rows {
    background-color: var(--light-clr-4);
    width: 90%;
    margin: 0.6rem auto;
    border-radius: 0.3rem;
    box-shadow: 0 0.2rem 0.2rem var(--light-clr-3);

    /* &>span:last-child {
        display: inline-block;
        width: 60%;
    } */

}

.user-rows>span:last-child {
    display: inline-block;
    width: 60%;
}

.user-profile-logo {
    height: 3rem;
    width: 5rem;
    background-color: var(--white-clr);
    border-radius: 0.3rem;
    background-image: url('../img/logo.png');
    background-position: center;
    background-repeat: no-repeat;
    margin-left: 0.5rem;
    position: absolute;
    top: 2%;
}

.company-name {
    position: absolute;
    width: 100%;
    text-align: center;
    bottom: 2%;
    font-weight: bold;
    font-size: 0.9rem;
}

/* user profile card */


/* Responsive Css */

@media only screen and (max-width: 1180px) {

    .user-profile-inner {
        width: 45%;
        height: 70%;
    }

    .user-rows {
        margin: 1rem auto;
    }

    .company-name {
        font-size: 1.1rem;
    }

}

@media only screen and (max-width: 1024px) {

    .wish-area {
        width: 50%;

    }

    .icons-area {
        width: 45%;

    }

    .welcome {
        font-size: 1.3rem;
    }

    .wish-person {
        padding: 0;
        font-size: 1.3rem;
    }

    .records-icon,
    .progress-icon,
    .warehouse-icon,
    .dispatched-icon {
        height: 40%;
    }

    .table-area {
        overflow-x: auto;
    }

    .user-profile-inner {
        width: 50%;
        height: 75%;
    }

}

@media only screen and (max-width: 820px) {

    header {
        height: 7%;
    }

    .wish-icons-area {
        flex-direction: column;
    }

    .wish-area {
        width: 100%;
        height: 60%;

    }

    .welcome,
    .wish-person {
        font-size: 1.5rem;
    }

    .icons-area {
        height: 40%;
        width: 100%;

    }

    .records-icon,
    .progress-icon,
    .warehouse-icon,
    .dispatched-icon {
        height: 80%;
        width: 23%;
    }

    .img {
        margin: 0.5rem 0;
    }

    button.see-all-btn {
        font-size: 1.3rem;
        width: 8rem;
    }

    .icon-data {
        display: block;
    }

    .records-icon p,
    .progress-icon p,
    .warehouse-icon p,
    .dispatched-icon p {
        font-size: 1.1rem;
        display: block;
        text-align: center;
    }

    .user-profile-inner {
        width: 70%;
        height: 65%;
    }

    .close-btn {
        height: 6rem;
        width: 6rem;
        font-size: 4rem;
    }

    .user-profile-img {
        height: 10rem;
        width: 10rem;
    }

    .user-rows {
        margin: 1.5rem auto;
    }

    .user-labels,
    .user-profile-details {
        font-size: 1.5rem;
    }

    .company-name {
        font-size: 1.5rem;
    }

}

@media only screen and (max-width: 768px) {

    .user-profile-inner {
        width: 80%;
        height: 70%;
    }

}

@media only screen and (max-width: 480px) {

    .container {
        height: 100%;
        width: 100%;
        border: 0;
    }

    .person-name {
        font-size: 0.7rem;
        padding: 0;
    }

    .view-profile {
        padding: 0;
        font-size: 0.6rem;
    }

    .profile-img {
        height: 80%;
    }

    .log-out {
        height: 60%;
        width: 3rem;
    }

    .welcome,
    .wish-person {
        font-size: 1.2rem;
    }

    .nice-day {
        font-size: 0.8rem;
    }

    .records-icon p,
    .progress-icon p,
    .warehouse-icon p,
    .dispatched-icon p {
        font-size: 0.7rem;
        display: block;
        text-align: center;
    }

    th,
    td {
        font-size: 0.8rem;
    }

    .records-count,
    .progress-count,
    .warehouse-count,
    .dispatched-count {
        padding-left: 0;
    }

    .user-profile-inner {
        width: 95%;
        height: 80%;
    }

    .user-labels,
    .user-profile-details {
        font-size: 1.1rem;
    }

    .close-btn {
        height: 4rem;
        width: 4rem;
        font-size: 3rem;
        top: 1%;
        right: 8%;
    }

    .company-name {
        font-size: 1.1rem;
    }

}

@media only screen and (max-width: 430px) {

    .welcome,
    .wish-person {
        font-size: 1.1rem;
    }

    .nice-day {
        font-size: 0.7rem;
    }

    .wish-icons-area {
        height: 50%;

    }

    .wish-area {
        height: 35%;

    }

    .icons-area {
        height: 65%;

    }


    .records-icon,
    .progress-icon,
    .warehouse-icon,
    .dispatched-icon {
        height: 40%;
        width: 40%;
    }

    .records-icon p,
    .progress-icon p,
    .warehouse-icon p,
    .dispatched-icon p {
        font-size: 0.7rem;
        display: inline-block;
    }

}

@media only screen and (max-width: 414px) {

    .user-profile-inner {
        height: 95%;
    }

}

@media only screen and (max-width: 375px) {

    .user-profile-inner {
        height: 75%;
    }

    .user-labels,
    .user-profile-details {
        font-size: 0.8rem;
    }

}

@media only screen and (max-width: 375px) and (max-height: 667px) {

    .close-btn {
        top: 5%;
        right: 5%;
        height: 3rem;
        width: 3rem;
        font-size: 2rem;
    }

    .user-profile-inner {
        height: 95%;
    }

    .company-name {
        font-size: 1rem;
    }

}

@media only screen and (max-width: 320px) {

    .logo {
        width: 3.5rem;
    }

    .welcome,
    .wish-person {
        font-size: 0.8rem;
    }

    .nice-day {
        font-size: 0.5rem;
        display: flex;
        flex-direction: column;
    }

    .records-icon,
    .progress-icon,
    .warehouse-icon,
    .dispatched-icon {
        height: 45%;
        width: 45%;
    }

    .records-icon p,
    .progress-icon p,
    .warehouse-icon p,
    .dispatched-icon p {
        font-size: 0.6rem;
        display: inline-block;
    }

    .img {
        margin: 0;
        height: 2.5rem;
        width: 3.5rem;
    }

    .table-heading {
        font-size: 1.1rem;
    }

    button.see-all-btn {
        width: 5rem;
        font-size: 1.1rem;
    }

    .user-profile-logo {
        width: 3rem;
        height: 2rem;
        background-size: contain;
    }

    .user-profile-img {
        height: 5rem;
        width: 5rem;
    }

    .user-profile-inner {
        height: 95%;
    }

    .company-name {
        font-size: 0.8rem;
    }

}

/* Responsive Css */