/* Navbar */
.nav-link {
    display: flex;
    align-items: center;
    position: relative;
    padding: 18px 14px;
    color: #fff;
    border-bottom: 1px solid #e5f2e4;
    transition: 0.3s;
    transition: all 0.3s;
    cursor: pointer;
}
.nav-link.active {
    background: #26551f;
}
.nav-link.active .icon-more.rotate {
    transform: rotate(-90deg);
}
.nav-link:hover {
    background: #162c13;
}
.nav-link .icon-link {
    margin-right: 1rem;
    font-size: 22px;
}
.nav-link .icon-more {
    position: absolute;
    right: 10px;
    font-size: 15px;
    transition: all 0.3s;
    font-weight: bold;
}
.nav-link .icon-more.rotate {
    transform: rotate(90deg);
}
.sub-menu {
    background: #1f3f1a;
    height: 0;
    overflow: hidden;
    transition: all 0.3s;
}
.sub-menu.active {
    height: auto;
    background: #1f3f1a;
}
.sub-menu .active {
    background: #162c13;
}
.sub-menu .nav-link {
    padding: 1em;
    border-bottom: 1px solid #26551f;
}

/* Dashboard */
.contents_wrap_main_inner.dashboard {
    display: flex;
}
.contents_wrap_main_inner.dashboard .dashboard_btn {
    background: white;
    padding: 20px;
    border-radius: 20px;
    height: 120px;
    width: 250px;
    color: green;
    font-weight: bold;
    display: block;
    position: relative;
    margin-right: 30px;
    box-shadow: 9px 7px 10px -11px #777777;
}
.contents_wrap_main_inner.dashboard .dashboard_btn > .icon-main {
    color: white;
    background: #19840a;
    border-radius: 50px;
    font-size: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
}
.contents_wrap_main_inner.dashboard .dashboard_btn:hover {
    background: #e5f2e4;
}
.contents_wrap_main_inner.dashboard .dashboard_btn::after {
    content: "";
}
.contents_wrap_main_inner.dashboard .dashboard_btn .icon-sub {
    position: absolute;
    right: 14px;
    bottom: 10px;
    font-size: 22px;
    background: transparent;
    width: 20px;
    height: 20px;
    color: #19840a;
    font-weight: 700;
}

/* Icons */
.material-symbols-outlined {
    font-variation-settings: "FILL" 1, "GRAD" 0;
}
.no-fill {
    font-variation-settings: "FILL" 0, "GRAD" 0;
}
.menu .icon-link {
    font-family: "Material Icons";
    font-size: 20px;
}
.detail_btn_logout::before {
    content: "";
    margin-right: 0;
}
.detail_btn_logout {
    padding: 10px 20px;
}
.detail_btn_logout .material-symbols-outlined {
    font-size: 22px;
    margin-right: 10px;
}

/* Table */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}
.pagination a {
    border: 1px solid #19840a;
    color: #19840a;
    padding: 5px 7px;
    margin: 0 5px;
}
.pagination span {
    border: 1px solid #19840a;
    color: #19840a;
    padding: 5px 7px;
    margin: 0 5px;
    background: #19840a;
    color: white;
}

/* Message */
.message {
    position: fixed;
    bottom: 30px;
    right: 30px;

    background: #19840a;
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px -5px #777777;
    max-width: 80%;
    cursor: pointer;
    font-size: 16px;
    padding-right: 40px;

    animation: slideIn 0.5s forwards;
}

.message::before {
    font-family: "Material Icons";
    content: "close";
    font-size: 20px;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.message.error {
    background: #ff0000;
}

@keyframes slideIn {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(0);
    }
}

.hidden {
    display: none;
}

.form-error {
    border: 1px solid #ff0000;
    color: #ff0000;
}

.error-message {
    color: #ff0000;
    font-size: 12px;
    margin-top: 2px;
}
