.menu-btn.admin-menu-btn {
    display: block;
    cursor: pointer;
    background-color: var(--secolor);
    color: var(--prcolor);
}

header.admin-header {
    background-color: var(--secolor);
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
}

main.admin-panel {
    background-color: #eee;
    display: flex;
    gap: 15px;
    overflow-y: scroll;
    margin-top: 100px;
}

.side-nav {
    width: 200px;
    min-height: 100vh;
    background-color: var(--secolor);
    color: var(--trcolor);
}

.side-nav-ul {
    width: 100%;
    display: block;
}

.side-nav-li {
    width: 100%;
    display: block;
}

.side-nav-link {
    width: 100%;
    height: 45px;
    display: flex;
    align-items: center;
    color: var(--trcolor);
    text-decoration: none;
    font-size: 1rem;
}

.side-nav-link:hover {
    background-color: var(--trcolor);
    color: var(--secolor);
}

.side-nav-link strong {
    width: 40px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.side-nav-li:first-child .side-nav-link {
    background-color: var(--prcolor);
    color: var(--secolor);
    height: 60px;
    font-size: 1.1rem;
}

.main-box {
    width: calc(100% - 230px);
    min-height: 100vh;
    margin-top: 15px;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.dashboard-top {
    width: 100%;
}

.dashboard-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0px;
}

.dashboard-top .container h2 {
    font-size: 1.7rem;
}

.dashboard-section {
    background-color: var(--secolor);
    color: var(--trcolor);
    width: 100%;
    height: auto;
    padding: 15px;
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
}

/* Dashboard Statics */
.dashboard-statics {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 15px;
}

.dashboard-statics-card {
    background-color: var(--secolor);
    border-radius: 15px;
    padding: 15px;
    display: block;
}

.dashboard-statics-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-statics-title {
    font-size: 0.9rem;
}

.dashboard-statics-main {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    align-items: center;
}

.dashboard-statics-icon {
    background-color: #eeeeee;
    color: var(--trcolor);
    font-size: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
}

.dashboard-statics-total {
    font-size: 1.3rem;
    font-weight: 600;
}

.recent-records {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 15px;
}

.contact-messages {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.contact-message {
    width: 100%;
    display: flex;
    gap: 15px;
}

.contact-message-name {
    width: 100%;
    display: block;
}

.contact-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 5px;
}

.message-line {
    width: 100%;
    height: 2px;
    background-color: #eeeeee;
}

/* Message Read */
.message-details{
    display: block;
}
.message-details p{
    line-height: 2;
}




@media screen and (max-width:1100px) {
    .dashboard-statics {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width:800px) {
    .side-nav {
        position: fixed;
        height: calc(100vh - 100px);
        top: 100px;
        left: -200px;
        z-index: 995;
        box-shadow: 0px 1px 4px -1px #00000099;
        transition: all 0.4s linear;
        -webkit-transition: all 0.4s linear;
        -moz-transition: all 0.4s linear;
        -ms-transition: all 0.4s linear;
        -o-transition: all 0.4s linear;
    }

    .side-nav.active {
        left: 0px;
    }

    .main-box {
        width: calc(100% - 30px);
        margin: 15px;
    }
}

@media screen and (max-width:600px) {
    .recent-records {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width:400px) {
    .dashboard-statics {
        grid-template-columns: 1fr;
    }
}