/* RESET CSS */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
/* ROOT CSS */
:root {
  --first-color: #3887be;
  --second-color: #52d3d8;
  --third-color: #38419d;
  --fourth-color: #200e3a;
  --primary-tshadow: 2px 3px 8px rgba(0, 0, 0, 0.1);
  --primary-bshadow: 0px 15px 35px 0px rgba(0, 0, 0, 0.1);
}
[type='button']:not(:disabled),
[type='reset']:not(:disabled),
[type='submit']:not(:disabled),
button:not(:disabled) {
  cursor: pointer;
}
input,
button {
  border: none;
  outline: none;
  background: none;
}
button:focus:not(:focus-visible) {
  outline: 0;
}
body a:hover {
  text-decoration: none;
}
body,
html {
  font-family: 'Quicksand', sans-serif !important;
  scroll-behavior: smooth;
  background-color: #f5f6f7 !important;
}
/* HEADER */
.header_dev1m {
  background: #eb542a linear-gradient(135deg, #046376 0, #079597 100%) !important;
}
.navbar_dev1m .img_logo {
  max-width: 100px;
  height: auto;
}
.navbar_dev1m .navbar-nav li a {
  color: #fff;
  margin: 0 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: linear 0.25s;
}
.navbar_dev1m .navbar-nav li a:hover {
  color: #000;
}
.navbar_dev1m .navbar-nav li .nav-login {
  color: #000;
  /* border: 1px solid yellow; */
  border-radius: 20px;
  background-color: var(--second-color);
  transition: linear 0.25s;
}
.navbar_dev1m .navbar-nav li .nav-login:hover {
  transform: translateY(-2px);
}
.navbar_dev1m .dropdown-arrow {
  position: relative;
}
.navbar_dev1m .navbar-nav .nav-item .active {
  color: #000;
}
.dropdown-position-list {
  padding: 0px;
  list-style: none;
  position: absolute;
  top: 70px;
  left: 40px;
  z-index: 2;
  width: 200px;
  height: auto;
  visibility: hidden;
  opacity: 0;
  padding: 10px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e8e8e8;
  box-shadow: 0px 15px 35px 0px rgba(0, 0, 0, 0.1);
  transition: all linear 0.3s;
  -webkit-transition: all linear 0.3s;
  -moz-transition: all linear 0.3s;
  -ms-transition: all linear 0.3s;
  -o-transition: all linear 0.3s;
}
.dropdown-position-list::before {
  position: absolute;
  content: '';
  z-index: -1;
  top: -6px;
  left: 12px;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  background: #fff;
  border-top: 1px solid #e8e8e8;
  border-left: 1px solid #e8e8e8;
}
.dropdown:hover .dropdown-position-list {
  top: 40px;
  opacity: 1;
  visibility: visible;
}
.navbar_dev1m .dropdown-position-list li {
  padding: 8px 0;
  transition: linear 0.3s;
}
.navbar_dev1m .dropdown-position-list li:hover {
  background-color: #ccc;
}
.navbar_dev1m .dropdown-position-list li a {
  display: inline-block;
  width: 100%;
  color: #000;
  font-size: 15px;
  transition: linear 0.3s;
}
.navbar_dev1m .dropdown-position-list li a:hover {
  text-decoration: none;
}
/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  bottom: 0px;
  left: 0px;
  width: 100%;
  z-index: 3;
  background: #fff;
  border-radius: 10px 10px 0px 0px;
  -webkit-box-shadow: 0px -5px 15px 0px rgba(0, 0, 0, 0.1);
  box-shadow: 0px -5px 15px 0px rgba(0, 0, 0, 0.1);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  justify-content: space-between;
  display: none;
}

.mobile-menu a,
.mobile-menu button {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 80px;
  padding: 10px 0px;
  border-radius: 0px;
  position: relative;
  color: #000;
  transition: linear 0.25s;
  font-size: 13px;
  font-weight: 600;
}
.mobile-menu a:hover {
  background-color: var(--second-color);
  color: #000;
  text-decoration: none;
}
.mobile-menu button:hover {
  background-color: var(--second-color);
  color: #000;
  text-decoration: none;
}
.mobile-menu a:hover i {
  color: #fff;
}
.mobile-menu button:hover i {
  color: #fff;
}
.mobile-menu a i {
  font-size: 15px;
  margin-bottom: 5px;
  color: #000;
  text-shadow: 2px 3px 8px rgba(0, 0, 0, 0.1);
}
.mobile-menu button i {
  font-size: 15px;
  margin-bottom: 5px;
  color: #000;
  text-shadow: 2px 3px 8px rgba(0, 0, 0, 0.1);
}
.login_mobile {
  display: none;
}
@media screen and (max-width: 991px) {
  .mobile-menu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  .login_mobile {
    display: flex;
    text-decoration: none;
    color: white;
    width: 250px;
    align-items: center;
    justify-content: center;
    margin-right: 10px;

    border-radius: 20px;
    background-color: var(--second-color);
    transition: linear 0.25s;
  }
  .header_dev1m {
    display: flex;
    align-items: center;
  }
}
@media screen and (max-width: 1024px) {
  .navbar_dev1m .navbar-nav li a {
    margin: 0 5px;
  }
}

/* BANNER */
.section-banner {
  background: url(../img/theme/head_img.jpg) center;
  background-size: cover !important;
  padding: 40px 0px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.section-banner::before {
  position: absolute;
  content: '';
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.6),
    rgba(82, 211, 216, 0.6)
  );
  z-index: -1;
}
.section-banner h2 {
  text-align: center;
  font-size: 38px;
  color: #fff;
  text-transform: uppercase;
}
@media (max-width: 767px) {
  .section-banner h2 {
    font-size: 32px;
    margin-bottom: 12px;
  }
}

/* MAIN */
.section_dev1m {
  margin-top: 50px;
}
.dev1m-card {
  margin-bottom: 30px;
  border-radius: 8px;
  padding: 30px 30px 30px;
  background: #fff;
  box-shadow: 2px 6px 10px rgba(0, 0, 0, 0.2);
}
.dev1m-heading h3:not(.no-bg) {
  color: #fff;
  background: #eb542a
    linear-gradient(135deg, var(--first-color) 0, var(--second-color) 100%);
  padding: 10px 15px;
  border-radius: 10px;
  box-shadow: 4px 5px 5px 0px rgb(0 0 0 / 37%);
}

.dev1m-heading h3 {
  color: #333;
  font-weight: 700;
  font-size: 20px;
  margin: 0;
  display: flex;
  align-items: center;
}
.text_shadow {
  font-size: 20px;
  color: yellow;
  text-shadow: 2px 2px 9px black, 0px 1px 0px #046376, 2px 1px 0px #079597;
}
.profile-card {
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 2px;
  background: #e8e8e8;
  border: 2px solid #e8e8e8;
  position: relative;
  cursor: pointer;
}
.profile-card.active {
  background: #ddffd5;
  border-color: var(--second-color);
}
.product-action button i {
  width: 45px;
  height: 45px;
  font-size: 20px;
  line-height: 45px;
  border-radius: 6px;
  text-align: center;
  display: inline-block;
  color: #555555;
  background: #f5f5f5;
  text-shadow: var(--primary-tshadow);
  transition: all linear 0.3s;
  -webkit-transition: all linear 0.3s;
  -moz-transition: all linear 0.3s;
  -ms-transition: all linear 0.3s;
  -o-transition: all linear 0.3s;
}
.product-action input {
  width: 100%;
  font-size: 20px;
  margin: 0px 5px;
  padding: 6px 0px;
  border-radius: 6px;
  text-align: center;
  color: #fff;
  background: #262626;
  text-shadow: var(--primary-tshadow);
}
.product-action button i:hover {
  color: #fff;
  background: var(--first-color);
}
.input-group .form-control {
  width: 100%;
  height: 43px;
  border-radius: 6px;
  padding: 0px 20px 2px;
  color: #555555;
  background: #f5f5f5;
  border: 1px solid #e8e8e8;
}
.input-group .form-control::placeholder {
  font-size: 16px;
  color: #6d6d6d;
}
.input-group .form-control:focus {
  background: #f5f5f5;
  border-color: var(--first-color);
  box-shadow: none;
  outline: none;
}
.input-group .form-control:focus-within {
  box-shadow: none;
  outline: none;
}
#btnCheckLink {
  background-color: var(--first-color);
  color: #fff;
  border-radius: 0px;
  padding: 0 8px;
  height: 43px;
  transition: linear 0.25s;
  font-size: 14px;
  font-weight: 500;
}
#btnCheckLink:focus {
  box-shadow: none;
}
#btnCheckLink:hover {
  transform: translateY(-2px);
}
.btn-buy {
  width: 100%;
  font-size: 15px;
  padding: 12px 0px;
  border-radius: 6px;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(
    145deg,
    var(--first-color) 0,
    var(--second-color) 100%
  );
  transition: all linear 0.2s;
  -webkit-transition: all linear 0.2s;
  -moz-transition: all linear 0.2s;
  -ms-transition: all linear 0.2s;
  -o-transition: all linear 0.2s;
}
.btn-buy:hover {
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
  transform: translateY(-3px);
  color: #000;
}
.table thead tr {
  background: var(--first-color);
}
.table thead tr th {
  white-space: nowrap;
  border-right: 1px solid #fff;
  color: white;
}
.table td {
  border: 1px solid #e8e8e8; /* Đường viền cho cả hàng và cột */
}
.table tbody tr:last-child td {
  border-bottom: none; /* Loại bỏ đường viền của hàng cuối cùng */
}
/* FOOTER */
.backtop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 2;
  width: 48px;
  height: 48px;
  font-size: 15px;
  color: #fff;
  line-height: 48px;
  text-align: center;
  display: none;
  border-radius: 50%;
  background: var(--first-color);
  -webkit-animation: mahmud 2s infinite;
  animation: mahmud 2s infinite;
  transition: all linear 0.3s;
  -webkit-transition: all linear 0.3s;
  -moz-transition: all linear 0.3s;
  -ms-transition: all linear 0.3s;
  -o-transition: all linear 0.3s;
}
.backtop:hover {
  color: #fff;
}
@keyframes mahmud {
  0% {
    margin-bottom: 0px;
  }
  50% {
    margin-bottom: 15px;
  }
}
.footer {
  width: 100%;
  background-color: var(--first-color);
  text-align: center;
  padding: 10px 0;
}
.footer a {
  color: #fff;
  transition: linear 0.25s;
}
.footer a:hover {
  text-decoration: none;
  color: #000;
}
/* NAP CARD */
.nap_card .form-group label {
  font-size: 16px;
  font-weight: 600;
}
.nap_card .form-group .input-card:focus {
  outline: none;
  border-color: var(--first-color);
  box-shadow: none;
  background: #f5f5f5;
}

.nap_card .form-control:focus-within {
  outline: none;
  border-color: var(--first-color);
  box-shadow: none;
  background: #f5f5f5;
}
.nap_card .alert-info {
  text-align: center;
  margin-bottom: 30px;
  padding: 20px 20px;
  border-radius: 3px;
  background: #fff;
  border-top: 3px solid var(--first-color);
  -webkit-box-shadow: 0 2px 48px 0 rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 48px 0 rgba(0, 0, 0, 0.08);
  border-right: none;
  border-left: none;
  border-bottom: none;
}
.wallet-form button {
  font-size: 14px;
  font-weight: 600;
  padding: 10px 30px;
  border-radius: 6px;
  margin-top: 17px;
  text-transform: uppercase;
  color: #fff;
  background: var(--first-color);
  transition: linear 0.25s;
}
.wallet-form button:hover {
  transform: translateY(-2px);
}
/* SIDEBAR */
.section_dev1m-sidebar {
  margin-top: 3rem;
  min-height: 550px;
}
.sidebar_dev1m {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin-bottom: 10px;
  padding: 15px 15px;
  border-radius: 8px;
  background: #ffff;
  border: 1px solid #e8e8e8;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  transition: all linear 0.3s;
  -webkit-transition: all linear 0.3s;
  -moz-transition: all linear 0.3s;
  -ms-transition: all linear 0.3s;
  -o-transition: all linear 0.3s;
  color: black;
}
.sidebar_dev1m h6 {
  font-size: 16px;
  line-height: 26px;
}
.sidebar_dev1m:hover {
  border-color: var(--first-color);
  -webkit-box-shadow: 0px 8px 15px 0px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 8px 15px 0px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: #000;
}
.sidebar_active {
  background-color: #9e9e9e47;
  border-top: 2px solid var(--first-color);
}
.account-title {
  padding-bottom: 10px;
  margin-bottom: 25px;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  border-bottom: 1px solid #e8e8e8;
  font-size: 20px;
  line-height: 28px;
}
.account-title::before {
  position: absolute;
  content: '';
  bottom: -2px;
  left: 0px;
  width: 50px;
  height: 2px;
  background: var(--first-color);
}
.my-wallet {
  margin-bottom: 30px;
}
.my-wallet p {
  margin-bottom: 5px;
}
.my-wallet h3 {
  font-size: 35px;
  color: var(--third-color);
}
.wallet-card-group {
  display: -ms-grid;
  display: grid;
  grid-gap: 20px;
  -ms-grid-columns: (minmax(200px, 1fr)) [auto-fit];
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  -ms-grid-rows: auto;
  grid-template-rows: auto;
}
.wallet-card {
  padding: 25px;
  border-radius: 8px;
  background: #e8e8e8;
  transition: all linear 0.3s;
  -webkit-transition: all linear 0.3s;
  -moz-transition: all linear 0.3s;
  -ms-transition: all linear 0.3s;
  -o-transition: all linear 0.3s;
}
.wallet-card:hover {
  background: var(--first-color);
}
.account-content input:focus {
  outline: none;
  border-color: var(--first-color);
  box-shadow: none;
}

/* CHANGE PASSWORD */
.form-change_password button {
  width: 100%;
  height: 45px;
  font-size: 14px;
  font-weight: 600;
  line-height: 45px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  text-align: center;
  text-transform: uppercase;
  color: #fff;
  background: var(--first-color);
}
.form-change_password label {
  font-weight: 600;
}
.form-change_password > * {
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  padding-right: calc(1.5rem / 2);
  padding-left: calc(1.5rem / 2);
  margin-top: 0;
}
.form-change_password input {
  background: #f5f5f5;
}
.form-change_password input:focus {
  background: #f5f5f5;
}

/* REF */
.ref_info input {
  outline: none;
  box-shadow: none;
  background: #f5f5f5;
}
.ref_info input:focus {
  box-shadow: none;
  border-color: var(--first-color);
}
.footer-social li {
  display: inline-block;
  margin-right: 7px;
}

.footer-social li:last-child {
  margin-right: 0px;
}

.footer-social li a i {
  width: 40px;
  height: 40px;
  font-size: 16px;
  line-height: 40px;
  border-radius: 50%;
  text-align: center;
  color: var(--first-color);
  background: #fff;
  text-shadow: var(--primary-tshadow);
  -webkit-box-shadow: var(--primary-bshadow);
  box-shadow: var(--primary-bshadow);
  transition: all linear 0.3s;
  -webkit-transition: all linear 0.3s;
  -moz-transition: all linear 0.3s;
  -ms-transition: all linear 0.3s;
  -o-transition: all linear 0.3s;
}

.footer-social li a i:hover {
  color: #fff;
  background: var(--first-color);
}
.ref_info button {
  font-size: 14px;
  font-weight: 500;
  padding: 10px 30px;
  border-radius: 6px;
  margin-top: 17px;
  text-transform: uppercase;
  color: #fff;
  background: var(--first-color);
  font-weight: 600;
  transition: linear 0.25s;
}
.ref_info button:hover {
  transform: translateY(-2px);
}
.ref_withdraw {
  font-weight: 600;
}
.ref_withdraw select {
  outline: none;
  box-shadow: none;
  background: #f5f5f5;
}
.ref_withdraw select:focus {
  box-shadow: none;
  border-color: var(--first-color);
}
.ref_withdraw input {
  outline: none;
  box-shadow: none;
  background: #f5f5f5;
}
.ref_withdraw input:focus {
  box-shadow: none;
  border-color: var(--first-color);
}

/* LOGIN AND REGISTER */
.user-form-card {
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 20px;
  background: #fff;
  border: 1px solid #ccc;
}
.user-form-title {
  text-align: center;
  margin-bottom: 30px;
}
.user-form-group {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
}
.user-form {
  width: 100%;
}
.user-form input:focus-within {
  background: #f5f5f5;
  border-color: var(--first-color);
  -webkit-box-shadow: none;
  box-shadow: none;
  outline: 0;
}
.form-button {
  text-align: center;
}
.form-button button {
  width: 100%;
  height: 45px;
  font-size: 14px;
  font-weight: 500;
  line-height: 45px;
  border-radius: 8px;
  letter-spacing: 0.3px;
  text-align: center;
  text-transform: uppercase;
  color: #fff;
  background: var(--first-color);
}
.form-button p {
  font-size: 15px;
  margin-top: 12px;
  text-transform: capitalize;
}
.user-form-remind {
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  background: #fff;
  border: 1px solid #ccc;
}
.user-form-remind p {
  font-size: 15px;
  text-transform: capitalize;
  margin: 0;
}
.justify-content-center {
  justify-content: center !important;
}
/* SHOW DESC */
.alert1 {
  padding: 20px;
  background-color: #003a68;
  color: white;
  margin-bottom: 15px;
  border-radius: 5px;
}
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -500px;
  height: 100vh;
  z-index: 5;
  background: #ffffff;
  -webkit-box-shadow: -15px 0px 25px 0px rgba(0, 0, 0, 0.15);
  box-shadow: -15px 0px 25px 0px rgba(0, 0, 0, 0.15);
  transition: all linear 0.3s;
  -webkit-transition: all linear 0.3s;
  -moz-transition: all linear 0.3s;
  -ms-transition: all linear 0.3s;
  -o-transition: all linear 0.3s;
}

.cart-sidebar.active {
  right: 0px;
  width: 70%;
}
.cart-header {
  padding: 18px 25px;
  text-align: center;
  border-bottom: 1px solid #e8e8e8;
  position: relative;
}
.cart-header .cart-total span {
  font-weight: 700;
  font-size: 20px;
  color: #000;
}
.cart-header .cart-total i {
  font-weight: 700;
  font-size: 16px;
  color: #000;
}

.cart-total {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.cart-close {
  color: red;
  position: absolute;
  top: 20px;
  left: -20px;
}

.cart-close i {
  width: 35px;
  height: 35px;
  font-size: 18px;
  line-height: 35px;
  border-radius: 50%;
  text-align: center;
  display: inline-block;
  color: #fff;
  background: #000;
  text-shadow: var(--primary-tshadow);
  transition: all linear 0.3s;
  -webkit-transition: all linear 0.3s;
  -moz-transition: all linear 0.3s;
  -ms-transition: all linear 0.3s;
  -o-transition: all linear 0.3s;
}

.cart-close i:hover {
  color: #ffffff;
  background: var(--first-color);
}

.category-list li {
  list-style: none;
  padding: 10px 20px;
}
.category-list li a {
  color: #000;
  font-weight: bold;
}
.category-footer p {
  color: #000;
  font-weight: bold;
  padding: 10px 20px;
}
/*  */
#myTable .progress-container {
  width: 100%;
  background-color: #e1dede;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 2px;
  overflow: hidden;
}
#myTable .progress-bar {
  height: 25px;
  width: 0;
  background-color: var(--first-color);
  text-align: center;
  line-height: 30px;
  color: #fff;
  border-radius: 2px;
}
.progress-bar {
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  background-color: #0d6efd;
  transition: width 0.6s ease;
}
/*  */
#modalCheckLink .modal-content {
  /* background-color: transparent !important; */
  border: none;
}
.line-2 {
  word-wrap: break-word !important;
  white-space: normal !important;
}