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

body {
    position: relative;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
}
.header {
    display: flex;
    background-color: #11101d;
    position: relative;
    justify-content: space-between;
}

.header .user-ctrl .notify i {
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}

.header .user-ctrl {
    display: flex;
    align-items: center;
    justify-content: end;
}

.header .user-ctrl .user-img {
    width: 100%;
    margin: auto 24px;
    display: flex;
    position: relative;
}

.user-img img {
    width: 40px;
    border-radius: 50%;
}

.option {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1;
    background-color: #11101d;
    width: 200px;
    padding: 16px 16px 0 16px;
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: all 0.2s ease;
}

.option a {
    text-decoration: none;
    color: #fff;
    display: block;
    margin-bottom: 16px;
    border-bottom:1px solid rgb(255 255 255 / 0.2);
    padding-bottom: 8px;
}

.option span {
    display: inline-block;
    margin-left: 8px;
    text-align: center;
}


.user-img:hover .option {
    opacity: 1;
    height: auto;

}

.sidebar {
    position: fixed;
    top: 50px;
    left:  0;
    height: 100%;
    width: 78px;
    background-color: #11101d;
    padding: 6px 14px;
    transition: all 0.5s ease;
    z-index: 1;
}

.sidebar.active {
    width: 240px;
}

.logo-content .logo {
    opacity: 1;
}
.logo-content .logo{
    color: #fff;
    display: flex;
    height: 50px;
    width: 100%;
    align-items: center;
    pointer-events: none;
}

.logo-content .logo {
    font-size: 20px;
    margin-right: 5px;
}

.logo-content .logo .logo_name {
    font-size: 20px;
    font-weight: 400;
    transition: all 0.5s linear;
    padding: 0 24px;
}

.header #btn {
    position: absolute;
    color: #fff;
    left: 15%;
    top: 50%;
    font-size: 20px;
    height: 50px;
    width: 50px;
    text-align: center;
    line-height: 50px;
    transform: translateY( -50%);
    cursor: pointer;
}



.sidebar ul {
    list-style: none;
    margin-top: 20px;
}

.sidebar ul li {
    position: relative;
    height: 50px;
    width: 100%;
    margin: 5px;
    line-height: 50px;

}

.sidebar ul li .tooltip {
    position: absolute;
    left: 122px;
    top: 0;
    transform: translate(-50%, -50%);
    transform: translateZ(1%);
    border-radius: 6px;
    height: 35px;
    width: 122px;
    background-color: #fff;
    line-height: 35px;
    text-align: center;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    transition: 0s;
    opacity: 0;
    pointer-events: none;
    display: block;
}

.sidebar.active ul li .tooltip {
    display: none;
}

.sidebar ul li:hover .tooltip {
    transition: all 0.5s ease;
    opacity: 1;
    top: 50%;
}

.sidebar ul li a {
    color: #fff;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.4s ease;
    border-radius: 12px;
    white-space: nowrap;
}

.sidebar ul li a:hover {
    color: #11101d;
    background-color: #fff;
}

.sidebar ul li i {
    height: 50px;
    min-width: 50px;
    border-radius: 12px;
    line-height: 50px;
    text-align: center;
}
.sidebar .links_name {
    opacity: 0;
}

.sidebar.active .links_name {
    opacity: 1;
}

.nav-item.active {
    color: #11101d;
    background-color: #fff;
}


.home_content {
    position: absolute;
    height: 100%;
    width: calc(100% - 78px);
    left: 78px;
    transition: all 0.5s ease;
    padding: 0 24px;
    background-color: #f2f3f8;
}

.home_content.active {
    left: 240px;
    width: calc(100% - 240px);
}

.content-item {
    display: none;
}

.content-item.active {
    display: block;
}

.tabs {
    display: flex;
    align-items: center;
}

.tabs-panel {
    border: 1px solid #e7ecf1;
    margin-top: 20px;
    padding: 10px 12px 12px 12px;
    box-shadow: 0 2px 3px 2px rgb(0 0 0 / 25%);
    position: relative;
    border-radius: 3px;
}

.tool {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.search {
    margin-bottom: 12px;
    margin-right: 40px;
    position: relative;
}

.search input {
    padding: 8px;
    padding-left: 32px;
    width: 400px;
    border: none;
    border-radius: 5px;
}

.search input:focus {
    outline: #337ab7;
    border: 1px solid #337ab7;
}

.search i {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
}
.tabs .tab-item {
    text-align: center;
    background-color: #CE181F;
    color: #fff;
    margin-top: 32px;
    cursor: pointer;
}

.tabs .tab-item p {
    display: inline-block;
    font-size: 24px;
    font-weight: 800;
    padding: 12px 12px;
}
.panel-item {
    display: none;
}

.panel-item.active {
    display: block;
}

.form {
    /* display: none; */
    height: 0;
    opacity: 0;
    transition: all 0.5s ease-out;
    overflow: hidden;
}

.form.active {
    height: auto;
    opacity: 1;
}

.add-form_btn {
    margin-bottom:12px ;
    border-radius: 3px;
    border: none;
    outline: none;
    background-color: #11101d;
    color: #fff;
    padding: 12px;
    cursor: pointer;
}

.form-group {
    width: 40%;
    margin-bottom: 12px;
    margin-left: 12px;
    text-align: justify;
}
.form-group label {
    width: 30%;
    color: #337ab7;
}

.form-group input,
.form-group select {
    width: 70%;
    float: right;
    border: none;
    border-radius: 3px;
    padding: 4px;
    box-shadow: 0 1px 3px rgb(0 0 0 / 20%);
}

.form-group input:focus {
    outline: none;
}

.form-group .error-message {
    margin: 12px;
    text-align: center;
    color: #CE181F;
    font-weight: 800;
}

.submit-btn,
.save-btn {
    background-color: #146EBE;
    color: #fff;
    padding: 10px;
    border: none;
    outline: none;
    cursor: pointer;
    margin: 10px;
}
.table-content {
    width: 100%;
}
th {
    font-size: 16px;
    font-weight: 800;
    background-color: #fff;
}

tr:not(:nth-child(2n)) {
    background-color: #fff;
}

table, tr, th, td,
.table-content {
    border-top: 1px solid #f4f4f4;
    border-bottom: 1px solid #f4f4f4;
    border-collapse: collapse;
}

.table-content th,
.table-content td {
    padding: 10px;
    text-align: center;
}

.btn-edit,
.btn-del {
    width: 40%;
    background-color: #146EBE;
    color: #fff;
    padding: 8px;
    cursor: pointer;
    border: none;
}

.cards {
    display: flex;
    margin-top: 28px;
}

.cards .card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 25%;
    text-align: center;
    box-shadow: 0px 1px 8px 2px rgb(0 0 0 / 10%);
    border-radius: 5px;
    transition: all 0.4s linear;
}

.cards .card:not(:last-child) {
    margin-right: 12px;
}

.card-icon {
    font-size: 40px;
    color: #299B63;
    margin-left: 32px;
    transition: all 0.3s linear;
}

.card-content {
    flex: 1;
    color: #299B63;
    transition: all 0.3s linear;
}

.card-content p {
    margin-top: -20px;
    margin-bottom: 24px;
    font-size: 20px;
}

.card:hover {
    background-color: #299B63;
}

.card:hover .card-icon,
.card:hover .card-content {
    color: #fff;
}

/* Chart Start */
.charts {
    margin-top: 32px;
    width: 100%;
}


.chart {
    background-color: #fff;
    box-shadow: 0 7px 25px rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    padding: 20px;
}

/* ứng tuyển */

.content3 {
    border: 1px solid #e7ecf1;
    margin-top: 20px;
    padding: 0px 12px 12px 12px;
    box-shadow: 0 2px 3px 2px rgb(0 0 0 / 25%);
    position: relative;
    border-radius: 3px;
}

.content3-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.content3-search {
    position: relative;
}

.content3-search input {
    padding: 10px;
    width: 150px;
    padding-left: 32px;
    transition: all 0.3s ease;
}
.content3-search input:focus {
    width: 300px;
}

.content3-search i {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
}


.content3 h1 {
    color: #299B63;
}

.content3 table {
    width: 100%;
}

.content3 th,
.content3 td {
    text-align: center;
    padding: 8px 0;
}

.waitting {
    display: inline-block;
    padding: 8px 0;
    border-radius: 15px;
    margin: 4px 0;
    width: 70%;
    background-color: #ff8a1f;
    cursor: pointer;
}

.waitting.active {
    background-color: #299B63;
}
/* Cart */
.cart {
    width: 100%;
}

.cart-item {
    width: 100%;
}

.cart-item__main {
    width: 100%;
    border-radius: 25px;
    box-shadow: 0 2px 3px 2px rgb(0 0 0 / 15%);
    overflow: hidden;
    transition: all 0.5s ease;

}
.cart-item table {
    width: 100%;
}

.cart-item__main th,
.cart-item__main td,
.cart-item__main tr {
    background-color: #fff;
    text-align: center;
    padding: 10px;
}

.btn-detail {
    background-color: #299B63;
    border: none;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    color: #fff;
}

.cart-item__detail {
    opacity: 0;
    height: 0;
    background-color: rgb(0 0 0 / 10%);
    border-radius: 0 0 25px 25px;
    overflow: hidden;
    margin: 0 15px;
    margin-bottom: 24px;
    transition: all 0.5s ease;
}
.cart-item__detail.active {
    opacity: 1;
    height: auto;
}

.cart-item__detail table {
    background-color: rgb(0 0 0 / 10%);
}

.cart-item__detail th,
.cart-item__detail td,
.cart-item__detail tr {
    background-color: rgb(0 0 0 / 0%);
    text-align: center;
    padding: 10px;
}


/* Login start */
.login {
    width: 100%;
    height: 100vh;
    position: relative;
    /* background-color: #299B63; */
}

.login-form {
    position: absolute;
    display: flex;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    box-shadow: 0 2px 3px 2px rgb(0 0 0 / 25%);
    padding: 12px;
    width: 50rem;
    height: 400px;
}

.login-logo {
    width: 50%;
    background-color: #CE181F;
    margin: -12px 0px -12px -12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-logo img {
    width: 50%;
}

.login-content {
    padding: 2.5rem;
    flex: 1;
}

.login-group {
    margin-bottom: 12px;
    
}

.login-group h1 {
    font-size: 20px;
    margin-bottom: 6px;
}

.login-group input {
    width: 100%;
    padding: 8px;
    font-size: 14px;
    border: none;
    border-bottom: 1px solid #11101d;
    outline: none;
}

.login-group input:focus {

    border: 1px solid #337ab7;
}

.submit-login {
    width: 100%;
    padding: 10px;
    background-color: #11101d;
    color: #fff;
}

.submit-login a {
    display: inline-block;
    width: 100%;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

