* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

body {
    font-family: 'Sora', sans-serif;
    font-size: 16px;

    --font-family: 'Sora', sans-serif;

    /* --primary-color: #a11014; */
    --primary-trans-color: rgb(255, 63, 26);
    --primary-color: #4CC486;

    --text-bold-1: 800;
    --text-bold-2: 600;
    --text-bold-3: 400;
    --text-bold-4: 200;
    --text-primary-color: black;
    --text-secondary-color: rgb(100, 100, 100);

    --el-input-focus-border: black;
    --el-input-focus-border-color: black;

    --el-color-primary: var(--primary-color);
}

.el-button {
    --el-button-hover-bg-color: white;
    --el-button-hover-text-color: black;
    --el-button-hover-border-color: black;
    --el-button-font-weight: var(--text-bold-3);
}

/* element UI customization */
.el-button--primary {
    --el-button-hover-bg-color: var(--primary-trans-color);
    --el-button-bg-color: var(--primary-color);
    --el-button-active-bg-color: var(--primary-color);
    --el-button-hover-text-color: white;

    color: white;
    border: none;
}

.el-button--danger{
    --el-button-bg-color: black;
    --el-button-border-color: black;
    --el-button-hover-bg-color: black;
    --el-button-hover-text-color: white;
    --el-button-active-bg-color: black;
    --el-button-active-border-color: black;

}

.el-input {
    --el-input-focus-border: black;
    --el-input-focus-border-color: black;
}

.white-button {
    --el-button-hover-bg-color: white;
    --el-button-bg-color: white;
    --el-button-active-bg-color: white;
    --el-button-hover-text-color: black;
    color: black;
    border: none;
    min-width: 200px;
    font-family: var(--font-family);
}

.white-item-label {
    color: white;
    font-family: var(--font-family);
}

.el-dialog__body {
    padding: 0px 20px;
}

/* common page  */
.page-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.page-header {
    transition: height 0.5s ease;
    background-color: var(--primary-color);
    color: white;
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    padding: 0px 10px;
    align-items: center;
    height: 50px;
}
.page-header-hidden {
    height: 0px;
}

.page-header-title {
    font-weight: var(--text-bold-2);
    font-size: 1.2rem;
    padding: 10px;

}

.page-header-logout a {
    color: white;
    font-weight: var(--text-bold-2);
    padding: 10px;
}


.page-body {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.page-left-menu {
    width: 180px;
    display: flex;
    flex-direction: column;
    padding: 10px 10px;
    border-right: 1px solid rgb(200, 200, 200);
    height: calc(100vh - 50px);
    overflow-y: auto;
}

.page-left-menu-container {
    display: flex;
    flex-direction: column;
}

.menu-items {
    display: flex;
    flex-direction: column;

}

.menu-items-title {
    padding: 10px 0px;
    font-size: 1.2rem;
    font-weight: var(--text-bold-2);
}

.menu-item {
    display: flex;
    flex-direction: column;

}

.menu-item a {
    padding: 10px 10px 10px 30px;
    color: black;
    margin: 3px 0px;
}

.menu-item a:hover {
    background-color: var(--primary-color);
    color: white;
    border-radius: 5px;
}

.menu-item a.menu-item-selected {
    background-color: var(--primary-color);
    color: white;
    border-radius: 5px;
}

.page-right-content {
    flex: 1;
    padding: 20px 20px;
    height: calc(100vh - 50px);
    overflow-y: auto;
}

.page-right-title {
    font-weight: var(--text-bold-2);
    font-size: 1.2rem;
    margin-bottom: 20px;
}


/* common component */
.help-tooltip {
    margin-left: 10px;
    font-size: 20px;
    color: gray;
}

.btn {
    cursor: pointer;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 10px;
    min-width: 100px;
}

.btn:hover {
    background-color: var(--primary-trans-color);
}

/* pop message window */
.pop_wrapper {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100vh;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;

}

.pop_loading_container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    width: 200px;
}

.pop_loading_icon {
    background-image: url("/image/admin/loading.gif");
    background-size: cover;
    width: 50px;
    height: 50px;
}

.pop_loading_text {
    padding: 10px 0px;
}



.pop_msg_container {
    max-width: 90%;
    background-color: white;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px;

}
.pop_container_top {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.pop_title {

}
.pop_close {
    cursor: pointer;
}
.pop_container_middle {

}
.pop_msg_content {
    padding: 20px;
}
.pop_container_bottom {
    padding: 20px;
    display: flex;
    flex-direction: row;
    justify-content: center;
}


/* login page */

.login-container {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* align-items: center; */
    background: url("/image/management/login-bg.png");
    background-size: cover;
    color: white;
    padding-left: 100px;
}

.login-title {
    font-weight: var(--text-bold-1);
    font-size: 3rem;
    padding: 1rem;
    flex:1;
    display: flex;
    align-items: end;
}

.login-form {
    padding: 1rem;
    flex:1;
}
.login-footer {
    color:white;
    text-align: center;
    padding: 10px;
}

.hstack {
    display: flex;
    flex-direction: row;
}

.hcenter {
    justify-content: center;
}

.vstack {
    display: flex;
    flex-direction: column;
}

.vcenter {
    align-items: center;
}
