body {
    font-family: Arial, sans-serif;
    background-color: #F1F4F5;
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100vw;
}

.dashcontainer {
    display: flex;
    flex-direction: column;
    width: 100vw;
    height: 100vh;
}

.topbar {
    display: flex;
    flex-direction: column;
    background-color: white;
    height: 60px;
    width: 100%;
    border-bottom: 1px solid lightgray;
    align-items: center;
    top: 0;
    left: 0;
}

.dashboardtopbar {
    display: flex;
    flex-direction: row;
    align-items:center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    padding-top: 12px;
    padding-left: 20px;
    padding-right: 35px;
    padding-bottom: 12px;
}

.topleftdiv {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.topleftdiv i {
    font-size: 22px;
    display: none;
}

.topleftdiv a {
    font-size: 23px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    color: black;
}

.currentuserspan {
    font-size: 19px;
}

.analyticsalerthere {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.alert {
    min-width: 250px;
    height: 40px;
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.changepwd {
    width: 100%;
}

.changepwdcolumn {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 5px;
}

.changepwdcolumn label {
    font-size: 16px;
    color: #616364;
}

.passwd {
    width: 100%;
    height: 40px;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding-left: 10px;
}

.profileinput{
    width: 90%;
    height: 100%;
    font-size: 16px;
    outline: none;
    border: none;
    padding-right: 5px;
}

.passwdicon {
    cursor: pointer;
}

.statustxt,.checkicon {
    font-size: 14px;
}

.singlestatus {
    gap: 5px;
    margin-top: 5px;
}

.changepwdalert {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
}

.changepwdalert.alert{
    height: 20px;
}

.dashboardbody {
    flex-grow: 1;
    display: flex;
    flex-direction: row;
    padding-top: 60px;
    overflow: hidden;
}

.dashboardleftside {
    width: 15%;
    height: 100%;
    background-color: white;
    border-right: 1px solid lightgray;
    overflow:auto
}

.dashboardrightside {
    width: 85%;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow:auto;
    padding-bottom: 20px;
}

.navtabs {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
}

.navtab {
    padding-left: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    cursor: pointer;
}

.navtab:hover {
    background-color: #e9ebf0;
}

.navtitle.active {
    color: white;
    border-left: 0px;
    font-weight: 600;
}

.navtab.active {
    background-color: #5b77d4;
    border-left: 3px solid #C9187D;
    cursor: pointer;
    color: white;
}

.navtitle {
    color: #8c8988;
}

.pagetitle {
    display: flex;
    width: 100%;
    min-height: 69px;
    border-bottom: 1px solid lightgray;
    justify-content: left;
    align-items: center;
    background-color: white;
    padding-left: 24px;
}

.pagetitle span {
    font-size: 22px;
    color: #616364;
    font-weight: 600;
}

.overviewdiv {
    display: flex;
    width: 100%;
    min-height: 69px;
    justify-content: left;
    align-items: center;
    padding-left: 24px;
}

.overviewdiv span {
    font-size: 18px;
    color: #616364;
}

.sentmsgsstats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 97%;
    background-color: white;
    align-self: center;
    min-height: 100px;
    border: 1px solid lightgray;
    border-radius: 6px;
    align-items: center;
    gap: 12px;
}

.msgsgraphs {
    display:flex;
    flex-direction: row;
    align-self: center;
    align-items: center;
    width: 97%;
    max-width: 97%;
    gap: 12px;
    margin-top: 15px;
}

#bargraphchart {
    width: 70%;
    max-width: 70%;
    height: 400px;
    max-height: 400px;
    border: 1px solid lightgray;
    background-color: white;
    border-radius: 6px;
}

#doughnutchart {
    width: 30%;
    max-width: 30%;
    height: 400px;
    max-height: 400px;
    border: 1px solid lightgray;
    background-color: white;
    border-radius: 6px;
}

#bargraphemailchart {
    width: 100%;
    max-width: 100%;
    height: 400px;
    max-height: 400px;
    border: 1px solid lightgray;
    background-color: white;
    border-radius: 6px;
}

.singlestat {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    justify-content: center;
    height: 80%;
    border-right: 1px solid lightgray;
}

.singlestat.lastchild {
    border: none;
}

.singlestattitle {
    font-size: 27px;
    color: #273C88;
}

.singlestatstmt {
    font-size: 14px;
}

.logoimg {
    width: 100px;
    height: auto;
    object-fit: contain;
}


@media (max-width:770px) {
    .dashboardtopbar {
        padding-left: 15px;
        padding-right: 15px;
    }

    .topleftdiv a {
        font-size: 21px;
    }

    .topleftdiv i {
        font-size: 22px;
        display: inline;
    }

    .currentuserspan {
        font-size: 16px;
    }

    .dashboardleftside {
        display: none;
    }

    .dashboardrightside {
        width: 100%;
    }

    .pagetitle, .overviewdiv {
        padding-left: 15px;
    }

    .sentmsgsstats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        min-height: 160px;
        width: 100%;
        border: none;
        border-top: 1px solid lightgray;
        border-bottom: 1px solid lightgray;
        border-radius: 0%;
    }

    .secondchild {
        border: none;
    }

    .msgsgraphs {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
    }

    #bargraphchart,#doughnutchart,#bargraphemailchart {
        width: 100%;
        max-width: 100%;
        min-width: 100%;
        height: auto;
        border: none;
        border-top: 1px solid lightgray;
        border-bottom: 1px solid lightgray;
        background-color: white;
        border-radius: 0px;
    }

    .singlestattitle {
        font-size: 22px;
        color: #273C88;
    }
}