@import 'font.css';
@import "reset.css";

/* loading animation */
.overlay-loader div {
      border: 6px solid #f3f3f3; /* Light gray */
      border-top: 6px solid #3498db; /* Blue */
      border-radius: 50%;
      width: 40px;
      height: 40px;
      animation: spin 1s linear infinite;
      margin: 20px auto; /* center */
    }

    @keyframes spin {
      0%   { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }

/* Optional: overlay for loading animation*/
.overlay-loader {
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(255,255,255,0.7);
    justify-content: center;
    align-items: center;
    z-index: 1;
    display: flex;
}

.bg-blockchain-blue{
    background-color: transparent; /* màu nền tạm thời */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.width670px{width: 670px;}
.width50_55px{ width: calc((100% - 55px)/2); }
.width33{ width: calc(100%/3);}
.pdt50{ padding-top: 50px; }
.pdt30{ padding-top: 30px; }
.pdt65{ padding-top: 65px; }
.mgt20 {margin-top: 20px;}
.mgr10{ margin-right: 10px; }
.mgr55{ margin-right: 55px; }
.mgbt20{ margin-bottom: 20px; }
.mgbt50{ margin-bottom: 50px; }
.main-containt-index{ padding-bottom: 100px;}
.width100{ width: 100%;}
.height100{ height: 100%;}

.font20{font-size: 20px;}
.font24{font-size: 24px;}
.font40{font-size: 40px;}
.font14 {font-size: 14px;}
.font-weight700 {font-weight: 700;}
/* Header */
.hero {
    background: rgba(85, 122, 149, 0.50);
    padding: 100px 20px 60px;
}

.hero h1 {
    font-family:  var(--font-family-zendots400);
    font-size:  128px;
    color: var(--color-white);
    margin-bottom: 90px;
    line-height: normal;
    text-align: center;
}
.hero p {text-align: justify; }
.hero .position-ab{ width: 500px;
    right: 0;
    bottom: -50px;
}
/* Sections */
.main-containt-index{  /*background: rgba(211, 211, 211, 0.5);*/ }
section {
    padding-top: 80px;
}
.tab-button{ width: 350px; display: block; padding-bottom: 10px; text-align: center; text-transform: uppercase; }
.tab-button.active:after{
    width: 100%; position: absolute; height: 2px; background-color: var(--color-white);
    bottom: 0; left: 0; content: "";
}
.tab-content, .collapsible-content {
    display: none;
}
.tab-content.active , .collapsible-content.active {
    display: block;
}
.btn { border-radius: 10px;padding:10px;border: none;cursor: pointer;}
.btn-outline {background-color: transparent; border: solid 1px white;color:white;padding:10px 20px;}
.profile-container {top:20px; right:20px;position: absolute;}
.btn-primary {background-color: #017CAC;padding:15px 40px;color: white; font-weight: 400;font-size: 18px;}
.btn-primary-gray {padding:15px 40px; font-weight: 400;font-size: 18px;}
.btn:disabled {
  background-color: #ccc;
  color: #666;
  cursor: not-allowed;
  opacity: 0.7;
}
.txt-error {color: red;}
#avatar {width: 35px; height: 35px; border-radius: 50%;}
#profile {justify-content: center; align-items: center;}
#username {color: white; margin-left: 10px; margin-right: 10px;}
.position-ab {position: absolute;}
.position-re {position: relative;}

.fa-chevron-right {transition: transform 0.5s ease-in-out;margin-right: 10px;}
.collapsible-btn.active .fa-chevron-right {transform: rotate(90deg);}

.tabs, .strengths, .how-it-works, .applications {
    text-align: center;
}

/* Titles */
h2 {
    font-size: 24px;
    padding-bottom: 8px;
}
h2 span{
    position: relative;
    text-transform: uppercase;
    font-weight: 500;
}
.strengths h2 span:after, .how-it-works h2 span:after, .applications h2 span:after {
    width: 100%; position: absolute; height: 2px; background-color: var(--color-white);
    bottom: 0; left: 0; content: "";
}
/* Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Card */
.card {
    background: transparent;
    padding: 30px;
    transition: transform 0.3s;
}
.card:hover {
    transform: translateY(-10px);
}

.card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}
.card img{
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}
/* How It Works */
ol {
    list-style: decimal inside;
    margin-top: 40px;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

ol li {
    margin-bottom: 20px;
    font-size: 18px;
}
.strengths .card{
    display: flex;
    width: 100%;
    height: 370px;
    padding: 10px 5px;
    flex-direction: column;
    align-items: center;
    border-radius: 40px;
    border: 1px solid #017CAC;
    background: rgba(255, 255, 255, 0.30);
    box-shadow: 0px 10px 50px 0px rgba(0, 0, 0, 0.05);
}
.strengths .card h3{ font-size: 18px;
    font-family: var(--font-family-ibmplexsan);
    font-style: normal;
    font-weight: 500;
    line-height: 35px;
    margin-bottom: 25px;
}
.strengths .card span{
    justify-content: center;
    font-family: var(--font-family-londrina);
    color: #80BDD5;
    font-size: 128px;
    line-height: 100px;
    max-width: 100%;         /* không vượt quá khung */
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    pointer-events: none;
    margin-bottom: 25px;
}
.strengths .card p{
    text-align: justify;
    font-family: var(--font-family-inter);
    font-size: 17px;
    font-weight: 300;
    padding-left: 10px;
    padding-right: 10px;
    line-height: 36px;
}
.how-it-works .works-action {
    width: 100%;
    height: 840px;
    background-size: contain;
}
.applications{ overflow: hidden;}
.applications .grid{gap: unset; overflow: hidden;}
.applications .card{ padding-left: 0; padding-right: 0; }
.applications .card:nth-child(2){ justify-content: right; }

.justify-content-even {justify-content: space-evenly;}
.justify-content-between {justify-content: space-between;}
.justify-content-center {justify-content: center;}
.d-none {display: none;}
.link {cursor: pointer; color: #0094ff;}
.link:hover{text-decoration: underline;color: #3fafff;}

.statistic-box { background-color: #3C7CAA;border: 2px solid white; padding:30px 40px;border-radius: 10px;width: 300px;height: 175px;display: flex;flex-direction: column;justify-content: space-between;}
.statistic-box .font24 ,.statistic-box .font40{line-height: 1;}
.graph-container {background-color: white; border-radius: 10px;color: black;padding: 35px 25px;}
.graph-container-row-1 .graph-container {width: 700px;}
.graph-container-row-2 {
    display: grid;
    grid-template-columns: 50% 50%;
}

.graph-header {align-items: center;}

.collapsible-content.position-ab {z-index: 2;}
.datePickerContainer {
    background-color: black;
    color:white;
    width: max-content;
    padding:20px;
    border-radius: 10px;
}
.datePickerContainer .title,.datePickerContainer .value {margin-bottom: 10px;font-weight: 400;}
.datePickerContainer .value {margin-bottom: 10px;}
.datePickerContainer .date-buttons {
    margin-left: 10px;
    flex-direction: column;
}
.datePickerContainer .date-buttons button {background-color: #383838; color: white; border-radius: 10px;padding:10px;border: none; margin-bottom: 10px;cursor: pointer;}
.datePickerContainer .date-buttons button:hover {background-color: #4b4b4b;}
.datePickerContainer .action-buttons {margin-top: 10px; display: flex;justify-content: end;}
.datePickerContainer .action-buttons button {margin-left: 5px; background-color: transparent;color:#7fcaf9}
.datePicker-btn {width: 220px;background-color: #e7e7e7;}
.datePicker-btn i {left: 14px; top:10px}
.datePicker-btn span {padding-left: 10px;}
.collapsible-content-date-picker {right:0}
#dashboard-blocked {background-color: black; padding:20px;margin-top: 30px;}
.modal {
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.5);
  align-items: center;
}
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
.modal-content {
  background-color: #fff;
  padding: 30px 20px 20px;
  width: 700px;
  border-radius: 8px;
  position: relative;
  animation: fadeIn 0.3s ease-in-out;
}
.close {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 20px;
  cursor: pointer;
}
.form {
      position: relative;
      width: 100%;
      height: 3.6rem;
      margin: 25px 0 10px 0;
}
.form__input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    background: #f4f4f4;
    font-family: inherit;
    font-size: inherit;
    color: #000;
    outline: none;
    padding: 1.25rem;
    border-radius: 5px;
    padding-top: 32px;
}
.form__input:hover {border-color: #ccc;}
.form__input:focus { border: none;box-shadow: rgba(149, 157, 165, 0.3) 0 8px 24px;}
.form__label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    padding: 0 0.5rem;
    color: #949494;
    cursor: text;
    background-color: transparent;
    transition: top 200ms ease-in, left 200ms ease-in, font-size 200ms ease-in;
    padding-top: 5px;
}
#form__hide-pw {
    width: 10px;
    height: 10px;
    position: absolute;
    top: 21px;
    right: 1.5rem;
    color: #3f6e92;
}
.form__input:focus~.form__label,
    .form__input:not(:placeholder-shown).form__input:not(:focus)~.form__label {
      top: 0rem;
      font-size: 0.8rem;
      left: 0.8rem;
      color: #000;
      padding-top: 7px;
    }


.chartDoughnut, .barChart, .lineChart, .chartBarGrid, .radarChart{ max-height: 460px; }
.barChart2 {height: 460px;}
.unitBar{ font-size: 12px; font-weight: 300; margin-bottom: 5px; }
/*slide*/
.slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px;
    box-sizing: border-box;
}

.slider-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc(100% / 2); /* 2 item mỗi lần */
    gap: 50px;
    transition: transform 0.5s ease-in-out;
}

.slide-item {
    border-radius: 10px;
    padding: 60px 20px;
    text-align: center;
}
.box-slide{ display: grid; justify-content: center; }
.slider-track:hover .prev, .slider-track:hover .next {
    display: block!important;
}
.prev, .next {
    display: none!important;
}
.pdr10 {padding-right: 10px ;}

/* Footer */
.footer {
    text-align: center;
    padding: 50px 20px;
    font-size: 14px;
    width: 100%; overflow: hidden;
}
.logo-ft img{ max-height: 55px; }
.footer .lbltext-address{
    right: 0;
    top: 20px;
}
.footer .lbltext-address p{
    align-items: center;
}
.footer .lbltext-address img{ max-height: 36px; }
.flatpickr-current-month {font-size: 130% !important}

/* Responsive */
@media (min-width:2000px){}
@media (max-width:1500px){
    .applications .grid{ overflow: hidden;}
}
@media (max-width:1404px){
}
@media (max-width:1318px){
  .hero, .footer{ padding-left: 0; padding-right: 0; }
  .main-containt{width: 100%; padding-left: 10px; padding-right: 10px; }
  .grid{ gap: 25px; }
}
@media (max-width: 1280px){
}
@media (max-width:1200px){
    .hero {overflow: hidden;}
    .hero h1{font-size: 115px;}
    .hero .width670px{ width: 60%; float: left; }
    .hero .position-ab{  position: unset;
        float: right; width: 40%;
    }
}
@media (max-width:1024px){ 
    .statistic-box-container {
        flex-wrap: wrap;
        justify-content: space-around;
    }
    .statistic-box{
        width: 230px;height: 110px; margin-bottom: 20px; padding:20px;
    }
    .font24{font-size: 20px;}
    .font40{font-size: 26px;}
    .statistic-box-container >div:nth-child(3) {
        flex: 0 0 100%;              /* last one full width */
        display: flex;
        justify-content: center;     /* center align */
    }
    .graph-container-row-1 .graph-container {width: calc(100% - 20px) }
    /* .statistic-box-container >div:nth-child(3) .statistic-box{
        margin-top: 20px;
    } */
    .graph-container-row-2 {grid-template-columns: 100%;}
    .graph-container-row-2 .graph-container {margin-right: 0; margin-bottom: 10px; }
}
.w-h-100-imp {
  width: 100% !important;
  height: 100% !important;
}

@media (max-width:780px){
    .hero{ padding-top: 80px; padding-bottom: 0; }
    .hero h1{ font-size: 68px; }
    .hero .width670px, .intro .fll{ width: 100%; margin-bottom: 20px;}
    .hero .position-ab{ width: 100%; }
    .main-containt-index{ padding-bottom: 110px; }
    .tabs h2{ width: 50%;  }
    .tab-button{ font-size: 22px; width: 100%; }
    .intro{ display: block; overflow: hidden;}
    .intro .fll{ margin-right: 0;}
    .intro .fll:nth-child(2){ margin-bottom: 0; }
    .strengths .card p{ max-height: 108px; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical;  -webkit-line-clamp: 3; }
    .how-it-works .works-action{ height: 500px; }
    .slider-track{ gap: 20px; }
    .slide-item{
        padding: 20px 20px;
    }
    .footer .logo-ft{ width: 100%; margin-bottom: 25px;}
    .footer .position-ab{ width: 100%; position: unset; font-size: 20px; }
    .footer .lbltext-address img{ max-height: 30px; }
}
@media (max-width:600px){
    .hero h1{font-size: 42px;}
    section{ padding-top: 60px; }
    h2 span{ font-size: 16px;}
    .grid{ grid-template-columns: repeat(auto-fit, 300px); justify-content: center; }
    .strengths .card{height: 260px;}
    .strengths .card span{ font-size: 90px; line-height: 80px;}
    .strengths .card p{font-size: 13px; line-height: 22px;  max-height: 70px;}
    .tab-button{ font-size: 16px; font-weight: 500; display: inline; }
    .how-it-works .works-action{ height: 280px; }
    .slider-track {
        grid-auto-columns: 100%;
    }
    .dashboard .dpl-flex{ flex-wrap: wrap; }
    .dashboard .width33, .dashboard .width50 { width: 100%; margin-bottom: 30px;}

    .footer .position-ab{ font-size: 16px;}
    .datePickerContainer .dpl-flex {
        flex-direction: column;
    }
    .datePickerContainer .date-buttons {
        display: grid;
        grid-template-columns: auto auto;
        margin-left: 0;
        column-gap: 10px;
        margin-top: 10px;
    }
    .graph-header {flex-direction: column; align-items: unset;}
    .graph-header p {margin-bottom: 10px;}
    .collapsible-content-date-picker{right: unset;}
}
@media (max-width:400px){
}

