/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: #202630;
  color: #eaecef;
}

/* ================= NAVBAR ================= */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
  padding: 0 32px;
}

/* LEFT */
.left {
  display: flex;
  align-items: center;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-right: 24px;
}

.logo img {
  height: 28px;
  margin-right: 6px;
}

.title {
  color: #e0ad0c;
  font-weight: 600;
  font-size: 22px;
}

/* MENU */
.nav-menu {
  display: flex;
  gap: 24px;
}

.nav-menu a {
  color: #e9ecef;
  text-decoration: none;
  font-size: 14px;
  transition: 0.2s;
}

.nav-menu a:hover {
  color: #f0b90b;
}

/* RIGHT */
.right {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ICONS */
.icons {
  display: flex;
  gap: 10px;
}

.icon {
  width: 20px;
  height: 20px;
  stroke: #eaecef;
  stroke-width: 1.5;
  fill: none;
  cursor: pointer;
  opacity: 0.8;
  transition: 0.2s;
}

.icon:hover {
  opacity: 1;
  stroke: #f0b90b;
}

/* BUTTON (DESKTOP) */
.btn-login {
  background: #343b47;
  height: 32px;                 /* 👈 fix chiều cao */
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0 14px;              /* chỉ padding ngang */
  font-size: 13px;
  border-radius: 6px;
  color: #e9ecef;
  text-decoration: none;
  font-weight: 300;
  
}

.btn-register {
  background: #f0b90b;
  height: 32px;                 /* 👈 fix chiều cao */
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0 14px;              /* chỉ padding ngang */
  font-size: 13px;
  border-radius: 6px;
  color: #000;
  text-decoration: none;
  font-weight: 300;
}

/* HAMBURGER */
.menu-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
}

/* ================= MOBILE MENU ================= */
.mobile-menu {
  position: fixed;
  top: 0;
  left: -280px;
  width: 280px;
  height: 100%;
  background: #1e2329;
  padding: 20px;
  transition: 0.3s ease;
  z-index: 1000;

  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-menu.active {
  left: 0;
}

/* HEADER MOBILE */
.mobile-header {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  margin-bottom: 10px;
}

.close-btn {
  cursor: pointer;
}

/* LINK MOBILE */
.mobile-menu a {
  color: #e9ecef;
  text-decoration: none;
  font-size: 15px;
  transition: 0.2s;
}

.mobile-menu .btn-register {
  color: #000;
  font-weight: 300;
}

.mobile-menu a:hover {
  color: #f0b90b;
}

/* ICON MOBILE */
.mobile-icons {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

/* ================= MOBILE BUTTON ================= */
.mobile-actions {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.mobile-actions a {
  width: 100%;
  text-align: center;
  padding: 10px 0;
  border-radius: 6px;
  font-weight: bold;
}

/* Đăng nhập */
.mobile-actions .btn-login {
  background: #343b47;
  color: #e9ecef;
  font-weight: 300;
}

/* Đăng ký */
.mobile-actions .btn-register {
  background: #ffcc26;
  color: #000000;
  font-weight: 300;
}

/* ================= OVERLAY ================= */
.overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  top: 0;
  left: 0;
  display: none;
  z-index: 999;
}

.overlay.active {
  display: block;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {

  .nav-menu,
  .right {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .navbar {
    padding: 0 16px;
  }
}

/* ================= UTIL ================= */
.no-scroll {
  overflow: hidden;
}

/* FORM */
label {
  display: block;
  margin: 18px 0 8px;
  font-size: 13px;
  color: #cdd1d6;
}

input[type="text"] {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border-radius: 12px;
  background: #0b0e11;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 15px;
}

input::placeholder {
  color: #6f7785;
}

/* UPLOAD */
.upload {
  position: relative;
  height: 48px;
  border-radius: 12px;
  background: #0b0e11;
  border: 1px dashed #2b3139;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  color: #9aa4b2;
  cursor: pointer;
  transition: all .25s ease;
}

.upload:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(240,185,11,.25),
              0 8px 20px rgba(240,185,11,.15);
}

.upload input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.file-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-name .check {
  opacity: 0;
  transform: scale(0.6);
  color: #0ecb81;
  font-weight: 900;
  transition: .25s;
}

.upload.active {
  border-style: solid;
  border-color: var(--accent);
  background: linear-gradient(
    180deg,
    rgba(240,185,11,.08),
    rgba(240,185,11,.02)
  );
}

.upload.active .file-name {
  color: #fff;
}

.upload.active .check {
  opacity: 1;
  transform: scale(1);
}

.upload .remove {
  background: none;
  border: none;
  color: #848e9c;
  font-size: 16px;
  cursor: pointer;
  opacity: 0;
  transform: scale(0.8);
  transition: .2s;
}

.upload.active .remove {
  opacity: 1;
  transform: scale(1);
}

.upload .remove:hover {
  color: #f6465d;
}

/* BUTTON */
.btn {
  width: 100%;
  height: 52px;
  margin-top: 26px;
  border: none;
  border-radius: 10px;
  background: #f0b90b; /* 👉 1 màu duy nhất */
  color: #0b0e11;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.btn:hover {
  filter: brightness(1.1);
}

.btn:active {
  transform: scale(.98);
}

/* CARD BỌC FORM KYC */
.card {
  max-width: 550px;      /* giới hạn chiều rộng */
  width: 100%;
  margin: 60px auto;     /* căn giữa */
  margin-top: 20px;
  padding: 24px;
  background: #202630;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.camera-icon {
  width: 18px;
  height: 18px;
  stroke: #9aa4b2;
  stroke-width: 1.5;
  fill: none;
}

/* MOBILE */
@media (max-width: 480px) {
  .title { font-size: 23px; }
  .card { padding: 26px 20px 30px; width: 400px;margin-top: 0px; }


}

/* ITEM MOBILE MENU */
.menu-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  color: #eaecef;
  text-decoration: none;
  font-size: 15px;
}



/* ICON */
.menu-icon {
  width: 20px;
  height: 20px;
  stroke: #848e9c;
  stroke-width: 1.5;
  fill: none;
  flex-shrink: 0;
}

/* HOVER */
.menu-item:hover {
  color: #f0b90b;
}

.menu-item:hover .menu-icon {
  stroke: #f0b90b;
}

/* LINE */
.menu-divider {
  height: 1px;
  background: #2b3139;
  margin: 10px 0;
}

/* DESKTOP: ẨN ICON */
@media (min-width: 768px) {
  .menu-icon {
    display: none;
  }
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #202630;
  padding: 16px;
  transition: 0.3s;
  z-index: 1000;
  overflow-y: auto;
}

.mobile-menu.active {
  left: 0;
}

/* HEADER */
.mobile-header {
  display: flex;
  justify-content: space-between;
  font-size: 22px;
  margin-bottom: 10px;
}

/* BUTTON TOP */
.mobile-top {
  display: flex;
  gap: 12px;
  margin: 10px 0 16px;
}

/* NÚT CHUNG */
.mobile-top a {
  flex: 1;
  height: 38px;                 /* 👈 chuẩn */
  border-radius: 4px;          /* 👈 bo mềm */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 300;
  text-decoration: none;
}

/* ĐĂNG NHẬP (xám) */
.btn-login {
  background: #3b4149;          /* 👈 chuẩn Binance */
  color: #e0e0e0;
}

/* ĐĂNG KÝ (vàng) */
.btn-register {
  background: #ffcc26;
  color: #000;
}


/* SEARCH */
.mobile-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #2b3139;
  height: 48px;
  padding: 0 14px;
  border-radius: 14px;
  margin: 14px 0 18px;
}

.mobile-search input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #eaecef;
  font-size: 14px;
}

.mobile-search input::placeholder {
  color: #848e9c;
}

/* ICON */
.search-icon {
  width: 18px;
  height: 18px;
  stroke: #848e9c;
  stroke-width: 1.5;
  fill: none;
}

/* MENU */
.menu-list {
  display: flex;
  flex-direction: column;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  font-size: 16px;
  color: #eaecef;
}

/* LEFT */
.menu-item .left {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ICON */
.menu-icon {
  width: 22px;
  height: 22px;
  stroke: #848e9c;
  stroke-width: 1.5;
  fill: none;
}

/* RIGHT */
.menu-item .right {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* DOT */
.dot {
  width: 8px;
  height: 8px;
  background: #f0b90b;
  border-radius: 50%;
}

/* ARROW */
.arrow {
  font-size: 14px;
  color: #9aa4b2;
}

/* TOGGLE */
.toggle {
  background: #2b3139;
  border-radius: 20px;
  padding: 4px 8px;
  display: flex;
  gap: 8px;
}


/* ===== KYC INTRO ===== */
/* KHUNG */
.kyc-intro {
  max-width: 600px;
  margin: 20px auto 10px;
  padding: 0 16px;
}

/* TIÊU ĐỀ Ở GIỮA */
.kyc-intro h1 {
  text-align: center;
  font-size: 26px;
  margin-bottom: 10px;
}

/* NỘI DUNG JUSTIFY */
.kyc-intro p {
  text-align: justify;
  font-size: 14px;
  color: #9aa4b2;
  line-height: 1.6;
}

/* STEPS */
.kyc-steps {
  display: flex;
  justify-content: space-between;
  margin-top: 25px;
  gap: 10px;
}

.step {
  flex: 1;
  background: #1e2329;
  border-radius: 12px;
  padding: 14px 10px;
  font-size: 13px;
}

.step span {
  display: inline-flex;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #f0b90b;
  color: #000;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-bottom: 6px;
}

/* MOBILE */
@media (max-width: 480px) {
  .kyc-intro h1 {
    font-size: 20px;
    margin-top: -25px;
  }

  .kyc-steps {
    flex-direction: column;
  }

  .step {
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .step span {
    margin-bottom: 0;
  }
}

.chat-float {
  position: fixed;
  right: 0px;
  bottom: 0px;
  background: #f0b90b;
  color: #000;
  padding: 10px 12px;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 9999;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transition: 0.2s;
  font-size: 12px;
}

.chat-float:hover {
  background: #ffcb2e;
  transform: translateY(-2px);
}

.chat-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

@media (max-width: 768px) {

  .chat-support {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* không space-between */
    gap: 12px;
    padding: 14px 0;
  }

  .chat-support .left {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
  }

  .chat-support .menu-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
  }

  .chat-support {
    font-size: 16px;
    color: #eaecef;
  }
}

.subtitle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;

  font-size: 13.5px;
  color: #9aa4b2; /* xám nhẹ */
  letter-spacing: 0.3px;
  margin-top: -5px;
  margin-bottom: 10px;
}

.lock-icon {
  width: 13px;
  height: 13px;
  color: #0ecb81; /* xanh trust */
  opacity: 0.8;
}

.highlight {
  color: #0ecb81;
  font-weight: 500;
  opacity: 0.9;
}

.menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: inherit;
}