/* RESET CSS */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

/* ROOT CSS */
:root {
    --first-color: #7e30e1;
    --two-color: #e26ee5;
    --three-color: #7e30e1;
    --four-color: #f3f8ff;
    --five-color: #49108b;
    --primary-tshadow: 2px 3px 8px rgba(0, 0, 0, 0.1);
    --primary-bshadow: 0px 15px 35px 0px rgba(0, 0, 0, 0.1);
}

html,
body {
    font-family: 'Roboto', sans-serif;
    scroll-behavior: smooth;
    min-height: 100vh;
}

[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;
}

/* DEV1M CSS */
.time_dev1m {
    color: #fff;
}

.dev1m-card {
    margin-bottom: 30px;
    border-radius: 8px;
    padding: 30px 30px 30px;
    background: var(--four-color);
    box-shadow: 2px 6px 10px rgba(0, 0, 0, 0.2);
}

.section_dev1m {
    margin-top: 3rem;
}

.section_dev1m-sidebar {
    margin-top: 3rem;
    min-height: 550px;
}

.dev1m-heading h3:not(.no-bg) {
    color: var(--four-color);
    background: #eb542a linear-gradient(135deg, var(--three-color) 0, var(--two-color) 100%) !important;
    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_dev1m {
    font-size: 16px;
    color: yellow;
    text-shadow: 2px 2px 9px black, 0px 1px 0px #046376, 2px 1px 0px #079597;
}

/* HEADER CSS */
.header_dev1m {
    background-color: var(--four-color);
}

.img_logo {
    max-width: 200px;
    height: auto;
}

.navbar_dev1m a {
    color: black;
    font-size: 16px;
    font-weight: bold;
    margin-right: 5px;
}

.navbar_dev1m .active {
    color: var(--three-color);
}

.navbar_dev1m a:hover {
    color: var(--five-color);
}

.navbar_dev1m .navbar-toggler-dev1m {
    background-color: var(--four-color);
}

/* INDEX CSS */
.progress-container {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    height: 1.35rem;
    overflow: hidden;
    line-height: 0;
    font-size: .75rem;
    background-color: #a3a6a9;
    border-radius: .25rem;
}

.progress-container .bg-completed-bar {
    background-color: #ff00a9 !important;
}

.progress-bar {
    /*width: 100% !important;*/
    background-color: var(--two-color) !important;
}

.progress-bar span {
    position: absolute;
    display: block;
    width: 100%;
    color: #fff;
}

.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: #95f28099;
    border-color: var(--two-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: var(--white);
    background: #262626;
    text-shadow: var(--primary-tshadow);
}

.product-action button i:hover {
    color: #fff;
    background: #e26ee5;
}

.input_link {
    width: 100%;
    height: 43px;
    border-radius: 6px;
    padding: 0px 20px 2px;
    color: #555555;
    background: #f5f5f5;
    border: 1px solid #e8e8e8;
}

.input_link:focus-within {
    background: #f5f5f5;
    border-color: #e26ee5;
    -webkit-box-shadow: none;
    box-shadow: none;
    outline: 0;
}

.btn-buy {
    width: 100%;
    font-size: 15px;
    padding: 12px 0px;
    border-radius: 6px;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(
            145deg,
            var(--two-color) 0,
            var(--three-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(-2px);
}

.table thead tr {
    background: var(--three-color);
}

.table thead tr th {
    white-space: nowrap;
    font-size: 16px;
    border-right: 1px solid var(--four-color);
    color: white;
}

.table td {
    border: 1px solid #ccc; /* Đườ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 */
}

.table th, td {
    text-align: center;
}

table tr td:nth-child(2) {
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    /*text-align: left;*/
}

#myTableIndex tr td:nth-child(2) {
    /*width: 20%;*/
}


/*custom icon*/

/* SIDEBAR */
.sidebar_dev1m {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin-bottom: 10px;
    padding: 15px 15px;
    border-radius: 8px;
    background: var(--four-color);
    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(--three-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: var(--five-color);
}

.mobile-menu-active {
    background-color: #9e9e9e47;
    border-top: 2px solid var(--three-color);
}

/* PROFILE */
.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;
}

.mobile-menu-active {
    background-color: #9e9e9e47;
    border-top: 2px solid var(--three-color);
}

.account-title::before {
    position: absolute;
    content: '';
    bottom: -2px;
    left: 0px;
    width: 50px;
    height: 2px;
    background: var(--three-color);
}

.my-wallet {
    margin-bottom: 30px;
}

.my-wallet p {
    margin-bottom: 5px;
}

.my-wallet h3 {
    font-size: 35px;
    color: var(--three-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(--two-color);
}

/* CHANGE PASSWORD  */
.form-btn {
    width: 100%;
    height: 45px;
    font-size: 14px;
    font-weight: 400;
    line-height: 45px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    text-align: center;
    text-transform: uppercase;
    color: #fff;
    background: var(--three-color);
}

.account-content .form-control:focus-within {
    background: #f5f5f5;
    border-color: var(--three-color);
    -webkit-box-shadow: none;
    box-shadow: none;
    outline: 0;
}

.row > * {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-right: calc(1.5rem / 2);
    padding-left: calc(1.5rem / 2);
    margin-top: 0;
}

/* FOOTER */
.backtop {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 2;
    width: 48px;
    height: 48px;
    font-size: 15px;
    color: var(--white);
    line-height: 48px;
    text-align: center;
    display: none;
    border-radius: 50%;
    background: var(--two-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(--four-color);
    text-align: center;
    padding: 10px 0;
}

.footer a {
    color: var(--three-color);
}

.footer a:hover {
    text-decoration: none;
    color: var(--two-color);
}


/* REF */
.nav-pills .nav-item .nav-link {
  align-items: center;
  background: #252525;
  border: 0 solid #E2E8F0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  box-sizing: border-box;
  color: white;
  display: block;
  font-size: 1rem;
  font-weight: 700;
  height: 60px;
  margin: 5px;
  justify-content: center;
  line-height: 24px;
  overflow-wrap: break-word;
  padding: 22px 25px;
  text-decoration: none;
  width: auto;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.nav-pills .nav-item a {
  color: white;
}

.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(--three-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: #7e30e1;
}

.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;
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .content-reverse {
        -webkit-box-orient: vertical;
        -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
        flex-direction: column-reverse;
    }
}

/*  */
.btn-check-link {
    width: 100%;
    color: #fff;
    font-weight: 700;
    background-color: var(--three-color);
    font-size: 18px;
    transition: linear 0.3s;
}

.btn-check-link:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

#modalCheckLink .modal-content {
    background-color: transparent !important;
    border: none !important;
}





.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;
}