




:root {
    --primary-color: #079457;
    --width-sidebar: 280px;
    --height-header: 72px;
}

.text-primary {
    color: var(--primary-color);
}

.bg-primary {
    background-color: var(--primary-color);
}

.btn-primary {
    color: #fff;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all .3s linear;
}

.btn-primary:hover {
    background-color: #066c3f;
    border-color: #066c3f;

}

.fs-7 {
    font-size: 14px;
}

.btn-show-password {
    position: absolute;
    top: 50%;
    right: 12px;
    background-color: transparent;
    border: none;
    transform: translateY(-50%);
}

.wrapper {
    width: 100%;
    min-height: 100vh;
}

/********* CSS Sidebar **********/
.sidebar {
    position: fixed;
    max-width: var(--width-sidebar);
    display: flex;
    flex-direction: column;
    top: 0;
    left: 0;
    bottom: 0;
    background-color: #0b132b;
    transition: all .3s linear;
    z-index: 999;
}

.sidebar-body {
    flex-grow: 1;
    overflow-y: auto;
}

.sidebar-text {
    transition: all .3s linear;
}

.sidebar-body::-webkit-scrollbar {
    width: 0;
}

.sidebar-header__logo {
    height: var(--height-header);
    display: flex;
    align-items: center;
    padding: 16px;
    background-color: rgb(0, 0, 0, .4);
    border-bottom: 2px solid #3a435d;
    text-decoration: none;
    cursor: pointer;
}

.sidebar-header__logo-img {
    width: 40px;
    height: auto;
}

.sidebar-header__logo-text {
    margin-left: 12px;
    margin-bottom: 0;
    color: #fff;
    font-weight: 700;
}

.divide {
    height: 2px;
    margin: 16px 0;
    background-color: #3a435d;
}


.sidebar-menu {
    margin-bottom: 0;
    list-style: none;
    padding-left: 0;
}

.sidebar-menu-sub {
    max-height: 0;
    margin-bottom: 0;
    list-style: none;
    padding-left: 0;
    overflow-y: hidden;
    transition: all .3s linear;
}

.sidebar-menu-sub.active {
    max-height: 100%;
}

.sidebar-menu__item {}

.sidebar-menu__link,
.sidebar-menu-sub__link {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 16px;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    transition: all .3s linear;
}

.sidebar-menu__link span:nth-child(2) {
    flex: 1;
}

.sidebar-menu__link span:nth-child(3) {
    transition: all .3s linear;
}

.sidebar-menu__link.active span:nth-child(3) {
    transform: rotate(90deg);
}


.sidebar-menu__link.active,
.sidebar-menu-sub__link.active {
    color: #fff;
    background-color: rgb(0, 0, 0, .4);
}


.sidebar-menu__link:hover,
.sidebar-menu-sub__link:hover {
    color: #fff;
    background-color: rgb(0, 0, 0, .4);
}

.sidebar-menu__icon,
.sidebar-menu-sub__icon {
    padding: 0 4px;
}

.sidebar-menu__icon {
    float: right;
}

.sidebar-menu__text {
    margin-left: 16px;
    font-weight: 500;
}

.sidebar-menu-sub__text {
    margin-left: 24px;
    font-size: 14px;
    font-weight: 500;
}

/********* End CSS Sidebar **********/

/********* CSS Main Content **********/
.main-content {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-left: var(--width-sidebar);
}

/********* CSS Header Content **********/

.header {
    position: fixed;
    height: var(--height-header);
    top: 0;
    left: var(--width-sidebar);
    right: 0;
    padding: 16px;
    background-color: #fff;
    box-shadow: 0 2px 12px #ddd;
    z-index: 9;
}

.header-left {
    display: flex;
    align-items: center;
}

.header-left__btn-menu {
    background-color: transparent;
    border: none;
    transition: all .3s linear;
}

.header-left__btn-menu:hover {
    color: var(--primary-color);
}

.header-left__search {
    width: 70%;
    display: flex;
    align-items: center;
    margin-left: 32px;
    border: 1px solid #ddd;
    border-radius: 999px;
}

.header-left__search-input {
    flex: 1;
    padding: 8px 12px;
    font-size: 14px;
    border: none;
    border-radius: 999px;
}

.header-left__search-input:focus {
    outline: none;
}

.header-left__search-btn {
    padding: 6px 12px;
    color: var(--primary-color);
    background-color: transparent;
    border: none;
    border-top-right-radius: 999px;
    border-bottom-right-radius: 999px;
}

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

.header-right__profile {
    position: relative;
}

.header-right__profile-btn {
    position: relative;
    padding: 0;
    background-color: transparent;
    border: none;
}

.header-right__profile-btn::before {
    position: absolute;
    display: block;
    content: "";
    bottom: -2px;
    right: 0;
    width: 16px;
    height: 16px;
    background-color: var(--primary-color);
    border: 3px solid #fff;
    border-radius: 50%;
}

.header-right__profile-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.header-right__profile:hover .header-right__profile-menu {
    transform: scale(1);
}

.header-right__profile-menu {
    position: absolute;
    width: 280px;
    top: 130%;
    right: 0;
    margin-bottom: 0;
    padding-left: 0;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 16px #ccc;
    transform: scale(0);
    transform-origin: right top;
    transition: all .3s ease-in-out;
    z-index: 9999;
}

.header-right__profile-menu::before {
    position: absolute;
    display: block;
    content: "";
    top: -20px;
    right: 4px;
    border: 12px solid transparent;
    border-bottom-color: #fff;
}

.header-right__profile-menu-header {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #ddd;
}

.header-right__profile-menu-avatar {
    width: 50px;
    height: 50px;
    margin-right: 12px;
    border-radius: 50%;
}

.header-right__profile-menu-username {
    display: block;
    color: var(--primary-color);
    font-weight: 500;

}

.header-right__profile-menu-fullname {
    display: block;
    font-size: 18px;
    font-weight: 500;
}

.header-right__profile-menu-item {
    list-style: none;
}

.header-right__profile-menu li:last-child a {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.header-right__profile-menu-link {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: #333;
    font-weight: 500;
    text-decoration: none;
    transition: all .3s linear;
}

.header-right__profile-menu-link:hover {
    color: var(--primary-color);
    background-color: rgb(0, 149, 0, .2);
}

.header-right__profile-menu-icon {
    padding: 0 12px;
}

.header-right__profile-menu-text {
    margin-left: 12px;
}

/********* End CSS Header Content **********/

/********* CSS Body Content **********/
.body {
    height: 100%;
    flex: 1;
    margin-top: var(--height-header);
    padding: 16px 24px;
    background-color: #f5f5f5;
}

.body__title {
    margin: -16px -24px 0 -24px;
    padding: 18px 36px;
    line-height: 24px;
    text-transform: uppercase;
    color: #fff;
    background-color: var(--primary-color);
}

.banner {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 16px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 6px #ccc;
}

.banner__img {
    width: 25%;
}

.banner__content {
    margin-left: 32px;
}

.banner__title {
    font-size: 20px;
    font-weight: 500;
}

.banner__username {
    margin: 12px 0;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
}

.banner__brand {
    font-size: 20px;
}

.card {
    display: flex;
    flex-direction: row;
    margin-top: 24px;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 0 6px #ccc;

}

.card.card--danger .card__icon {
    color: rgb(255, 193, 7);
    background-color: rgb(255, 193, 7, .1);

}

.card.card--warning .card__icon {
    color: rgb(25, 135, 84);
    background-color: rgb(5, 135, 84, .1);

}

.card.card--success .card__icon {
    color: rgb(220, 53, 69);
    background-color: rgb(220, 53, 69, .1);

}

.card__icon {
    padding: 16px;
    border-radius: 8px;
}

.card__info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-left: 24px;
}

.card__money {
    display: block;
    font-size: 24px;
    font-weight: 500;
}

.card__text {
    font-size: 18px;
    font-weight: 500;
}

.section {
    margin-top: 24px;
    padding: 16px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 6px #ccc;
}

.section__title {
    padding-bottom: 16px;
    font-size: 20px;
    border-bottom: 1px solid #ddd;
}

/* .section__table th {
    margin: 0 2px;
    background-color: rgb(0, 149, 0, .1);
} */

.dataTables_length,
.dataTables_filter {
    margin-bottom: 16px;
}

.dataTables_info,
.dataTables_paginate {
    margin-top: 16px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 4px 12px;
    background-color: transparent;
    border-radius: 2px;
}

/********* End CSS Body Content **********/

/********* CSS Footer **********/

.footer {
    padding: 16px;
    text-align: center;
}

.footer p {
    margin-bottom: 0;
    font-weight: 500;
}

.footer a {
    font-size: 18px;
    color: var(--primary-color);
}

/********* End CSS Footer **********/

/********* CSS page napthecao **********/
.form-recharge-card {
    width: 100%;
}

.form-recharge-card__group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px
}

.form-recharge-card__label {
    margin-bottom: 12px;
}

.form-recharge-card__select,
.form-recharge-card__input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.form-recharge-card__select:focus,
.form-recharge-card__input:focus {
    border-color: var(--primary-color);
    outline: none;
}

.form-recharge-card__btn {
    width: 100%;
    padding: 12px 0;
    text-align: center;
    color: #fff;
    background-color: var(--primary-color);
    border: none;
    border-radius: 8px;
    transition: all .3s linear;
}

.form-recharge-card__btn:hover {
    background-color: rgba(2, 89, 2);
}

/********* End CSS page napthecao **********/

/********* CSS page thong tin tai khoan **********/
.form-profile {
    margin-top: 24px;
}

.form-profile__image-avatar {
    width: 140px;
    height: 140px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.form-profile__label-avatar {
    display: flex;
    align-items: center;
    margin-left: 16px;
    padding: 8px 12px;
    font-weight: 500;
    text-align: center;
    color: var(--primary-color);
    background-color: transparent;
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    transition: all .3s linear;
    cursor: pointer;
}

.form-profile__label-avatar:hover {
    color: #fff;
    background-color: var(--primary-color);
}

.form-profile__label {
    display: block;
    margin-bottom: 12px;
    font-weight: 500;
}

.form-profile__input {
    width: 100%;
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.form-profile__input:focus {
    outline: none;
    border-color: var(--primary-color);
}

/********* End CSS page thong tin tai khoan **********/

/********* CSS mua tai khoan **********/
.account-item {
    margin-top: 16px;
    padding: 16px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 8px #ccc;

}

.account-item__header {
    display: flex;
    justify-content: space-between;
}

.account-item__title {
    display: flex;
    flex-direction: column;
}

.account-item__title span:first-child {
    font-size: 18px;
    color: var(--primary-color);
}

.account-item__title span:last-child {
    margin-top: 4px;
    font-size: 12px;
    font-weight: 400;
    color: rgb(6, 82, 168);
}

.account-item__rates span {
    color: rgb(233, 215, 14);
}

.account-item__body {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.account-item__body span {
    display: inline-block;
    margin-top: 12px;
    margin-right: 12px;
    padding: 4px 8px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.account-item__body span:nth-child(1) {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.account-item__body span:nth-child(2) {
    color: rgb(10, 91, 135);
    border-color: rgb(10, 91, 135);
}

.account-item__body span:last-child {
    color: #d11c1c;
    border: 1px solid #d11c1c;
}

.account-item__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
}

.account-item__footer button {
    width: 100%;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/********* End CSS mua tai khoan **********/

.form-modal {}

.form-modal__group {
    margin-top: 16px;
}

.form-modal__label {
    display: block;
    font-weight: 500;
}

.form-modal_input {
    width: 100%;
    margin-top: 12px;
    padding: 4px 12px;
    border: 1px solid #ddd;
    border-radius: 999px;
}

.form-modal_input:focus {
    outline: none;
    border-color: var(--primary-color);
}

/*======================
    404 page
=======================*/


.page_404 {
    padding: 40px 0;
    background: #fff;
    font-family: 'Arvo', serif;
}

.page_404 img {
    width: 100%;
}

.four_zero_four_bg {

    background-image: url(https://cdn.dribbble.com/users/285475/screenshots/2083086/dribbble_1.gif);
    height: 400px;
    background-position: center;
}


.four_zero_four_bg h1 {
    font-size: 80px;
}

.four_zero_four_bg h3 {
    font-size: 80px;
}

.link_404 {
    color: #fff !important;
    padding: 10px 20px;
    background: #39ac31;
    margin: 20px 0;
    display: inline-block;
}

.contant_box_404 {
    margin-top: -50px;
}

/* ======= Buttons Toast ======== */

/* Block */
.btn-toast {
    display: inline-block;
    text-decoration: none;
    background-color: transparent;
    border: none;
    outline: none;
    color: #fff;
    padding: 12px 48px;
    border-radius: 50px;
    cursor: pointer;
    min-width: 120px;
    transition: opacity 0.2s ease;
  }
  
  /* Modifier */
  .btn--size-l {
    padding: 16px 56px;
  }
  
  .btn--size-s {
    padding: 8px 32px;
  }
  
  .btn:hover {
    opacity: 0.8;
  }
  
  .btn + .btn {
    margin-left: 16px;
  }
  
  .btn--success {
    background-color: #71be34;
  }
  
  .btn--warning {
    background-color: #ffb702;
  }
  
  .btn--danger {
    background-color: #ff623d;
  }

  .btn--info {
    background-color: #2f86eb;
  }
  
  .btn--disabled {
    opacity: 0.5 !important;
    cursor: default;
  }
  
  /* ======= Toast message ======== */
  
  #toast-container {
    position: fixed;
    top: 32px;
    right: 32px;
    z-index: 999999;
  }
  
  .toast-item {
    display: flex;
    align-items: center;
    background-color: #fff;
    border-radius: 2px;
    padding: 20px 0;
    min-width: 400px;
    max-width: 450px;
    border-left: 4px solid;
    box-shadow: 0 5px 8px rgba(0, 0, 0, 0.08);
    transition: all linear 0.3s;
  }
  
  @keyframes slideInLeft {
    from {
      opacity: 0;
      transform: translateX(calc(100% + 32px));
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  @keyframes fadeOut {
    to {
      opacity: 0;
    }
  }
  
  .toast--success {
    border-color: #47d864;
  }
  
  .toast--success .toast__icon {
    color: #47d864;
  }
  
  .toast--info {
    border-color: #2f86eb;
  }
  
  .toast--info .toast__icon {
    color: #2f86eb;
  }
  
  .toast--warning {
    border-color: #ffc021;
  }
  
  .toast--warning .toast__icon {
    color: #ffc021;
  }
  
  .toast--error {
    border-color: #ff623d;
  }
  
  .toast--error .toast__icon {
    color: #ff623d;
  }
  
  .toast-item + .toast-item {
    margin-top: 24px;
  }
  
  .toast__icon {
    font-size: 24px;
  }
  
  .toast__icon,
  .toast__close {
    padding: 0 16px;
  }
  
  .toast__body {
    flex-grow: 1;
  }
  
  .toast__title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
  }
  
  .toast__msg {
    font-size: 14px;
    color: #888;
    margin-top: 6px;
    line-height: 1.5;
  }
  
  .toast__close {
    font-size: 20px;
    color: rgba(0, 0, 0, 0.3);
    cursor: pointer;
  }
  