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

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(255, 176, 32, 0.18), transparent 35%),
    radial-gradient(circle at bottom right, rgba(0, 200, 255, 0.15), transparent 35%),
    #090b13;
  color: white;
}

.login-page {
  min-height: 100vh;
  max-width: 1200px;
  margin: auto;
  padding: 40px 30px;
  display: grid;
  grid-template-columns: 1fr 430px;
  align-items: center;
  gap: 80px;
}

.logo {
  display: inline-block;
  color: white;
  text-decoration: none;
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 60px;
}

.logo span {
  color: #ffb020;
}

.login-left h1 {
  font-size: 58px;
  line-height: 1.12;
  margin-bottom: 24px;
}

.login-left p {
  max-width: 580px;
  color: #b9c1df;
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 35px;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-list div {
  width: fit-content;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: #e7ecff;
  font-weight: 600;
}

.login-box {
  padding: 34px;
  border-radius: 30px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
  backdrop-filter: blur(18px);
}

.login-box h2 {
  font-size: 34px;
  margin-bottom: 8px;
}

.sub-text {
  color: #aab3d4;
  margin-bottom: 30px;
}

.input-group {
  margin-bottom: 20px;
}

.input-group label {
  display: block;
  margin-bottom: 9px;
  color: #dbe2ff;
  font-weight: 700;
}

.input-group input {
  width: 100%;
  height: 54px;
  border-radius: 15px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.22);
  color: white;
  padding: 0 16px;
  font-size: 15px;
  outline: none;
}

.input-group input:focus {
  border-color: #ffb020;
  box-shadow: 0 0 0 3px rgba(255, 176, 32, 0.12);
}

.input-group input::placeholder {
  color: #747d9f;
}

.options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 26px;
  font-size: 14px;
  color: #c8d0ee;
}

.options label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.options a {
  color: #ffb020;
  text-decoration: none;
  font-weight: 700;
}

.login-btn {
  border: none;
  padding: 13px 24px;
  border-radius: 999px;
  background: #ffb020;
  color: #111;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.register-text {
  text-align: center;
  margin-top: 24px;
  color: #b9c1df;
}

.register-text a {
  color: #ffb020;
  text-decoration: none;
  font-weight: 800;
}

@media (max-width: 900px) {
  .login-page {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .login-left {
    text-align: center;
  }

  .login-left h1 {
    font-size: 40px;
  }

  .login-left p {
    margin-left: auto;
    margin-right: auto;
  }

  .info-list {
    align-items: center;
  }

  .login-box {
    max-width: 430px;
    width: 100%;
    margin: auto;
  }
}

/* ===== FIX SIDEBAR KHOẢNG CÁCH NÚT BỊ NHẢY KHI BẤM ===== */
.sidebar,
.sidebar-inner,
.menu-group {
  box-sizing: border-box !important;
}

.sidebar-inner {
  overflow: hidden !important;
}

.menu-group {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  margin-bottom: 18px !important;
}

/* Tất cả nút menu có cùng chiều cao/khoảng cách */
.menu-item {
  box-sizing: border-box !important;
  min-height: 48px !important;
  height: 48px !important;
  padding: 0 14px !important;
  margin: 0 !important;
  border: 1px solid transparent !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  line-height: 1 !important;
  transform: none !important;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease, border-color .18s ease !important;
}

/* Không cho hover/active đẩy nút khác */
.menu-item:hover,
.menu-item.active {
  transform: none !important;
  margin: 0 !important;
  padding: 0 14px !important;
  min-height: 48px !important;
  height: 48px !important;
}

/* Nếu active có border thì không làm thay đổi kích thước */
.menu-item.active {
  border: 1px solid rgba(45, 212, 191, 0.45) !important;
}

/* Ẩn label phụ như Kiếm Tiền, không để chừa khoảng trắng */
.menu-label:not(:first-child) {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
}

/* Label Tổng Quan cố định */
.menu-label:first-child {
  margin: 0 0 12px 14px !important;
  height: auto !important;
}

/* Icon và chữ không làm nút cao thấp khác nhau */
.menu-icon {
  width: 20px !important;
  min-width: 20px !important;
  height: 20px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}

.menu-item span:last-child {
  line-height: 1 !important;
}

/* ===== FINAL FIX SIDEBAR: CHẶN GIÃN NÚT RÚT TIỀN / GIỚI THIỆU ===== */
.sidebar {
  width: 255px !important;
  min-width: 255px !important;
  max-width: 255px !important;
  overflow: hidden !important;
}

.sidebar-inner {
  width: 100% !important;
  height: 100% !important;
  padding: 18px 14px !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}

.menu-group {
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  margin: 0 0 18px 0 !important;
  padding: 0 !important;
}

.menu-label {
  display: none !important;
}

.menu-label:first-child {
  display: block !important;
  width: 100% !important;
  height: 16px !important;
  line-height: 16px !important;
  margin: 0 0 8px 14px !important;
  padding: 0 !important;
  font-size: 11px !important;
}

/* Cố định tuyệt đối kích thước mọi nút menu */
.sidebar .menu-item,
.sidebar .menu-item:link,
.sidebar .menu-item:visited,
.sidebar .menu-item:hover,
.sidebar .menu-item:active,
.sidebar .menu-item.active,
.sidebar a.menu-item,
.sidebar a.menu-item:hover,
.sidebar a.menu-item.active {
  width: 100% !important;
  max-width: 100% !important;
  height: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  margin: 0 !important;
  padding: 0 14px !important;
  border: 1px solid transparent !important;
  border-radius: 16px !important;
  box-sizing: border-box !important;

  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;

  flex: 0 0 48px !important;
  flex-shrink: 0 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  transform: none !important;
  position: relative !important;
  left: 0 !important;
  top: 0 !important;
  cursor: pointer !important;
}

/* Active chỉ đổi màu, KHÔNG đổi kích thước */
.sidebar .menu-item.active,
.sidebar a.menu-item.active {
  background: linear-gradient(135deg, #7c3aed, #4f46e5) !important;
  color: #ffffff !important;
  border-color: rgba(45, 212, 191, 0.45) !important;
  box-shadow: 0 10px 24px rgba(124, 58, 237, 0.28) !important;
}

/* Hover chỉ đổi màu, không dịch chuyển */
.sidebar .menu-item:hover,
.sidebar a.menu-item:hover {
  background: rgba(124, 58, 237, 0.16) !important;
  color: #ffffff !important;
  transform: none !important;
}

/* Icon và chữ cố định, không làm nút cao lên */
.sidebar .menu-icon {
  width: 20px !important;
  min-width: 20px !important;
  max-width: 20px !important;
  height: 20px !important;
  min-height: 20px !important;
  max-height: 20px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 20px !important;
  font-size: 15px !important;
  margin: 0 !important;
  padding: 0 !important;
  flex: 0 0 20px !important;
}

.sidebar .menu-item span:not(.menu-icon) {
  display: inline-block !important;
  line-height: 20px !important;
  height: 20px !important;
  margin: 0 !important;
  padding: 0 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* Chặn pseudo element hoặc hiệu ứng cũ che click */
.sidebar .menu-item::before,
.sidebar .menu-item::after {
  pointer-events: none !important;
  display: none !important;
}

/* Nút đăng xuất cố định dưới cùng */
.sidebar .logout-btn {
  margin-top: auto !important;
  height: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  flex: 0 0 48px !important;
}
