/* RESET và font mặc định */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: url('https://i.pinimg.com/736x/88/57/62/88576214d1f5ea8eb478f28eb424caf4.jpg') no-repeat center center fixed;
  background-size: cover;
}

/* Container chính */
.container {
  width: 100%;
  max-width: 400px;
  margin: 60px auto 0 auto;
  padding: 40px 20px;
  background-color: rgba(82, 113, 155, 0.6);
  border-radius: 8px;
  color: #fff;
  text-align: center;
}

/* Tiêu đề */
.container h2 {
  font-size: 20px;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.container h1 {
  font-size: 26px;
  margin-bottom: 30px;
  font-weight: bold;
}

/* Khu vực icon (Telegram, Zalo, Messenger) */
.icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.icons img {
  width: 60px;
  height: 60px;
  cursor: pointer;
  transition: transform 0.2s ease;
  border-radius: 50%;
}

.icons img:hover {
  transform: scale(1.1);
}

/* Form-group */
.form-group {
  text-align: left;
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

.form-group select,
.form-group input {
  width: 100%;
  padding: 10px;
  border-radius: 4px;
  border: none;
  outline: none;
}

/* Nút đăng nhập */
.login-btn {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 4px;
  background-color: #0099ff;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  font-weight: bold;
  margin-top: 10px;
}

.login-btn:hover {
  background-color: #008ae6;
}

/* Khu vực seeding với hiệu ứng cuộn */
.seeding {
  position: relative;       /* Tạo bối cảnh cho con */
  overflow: hidden;         /* Ẩn nội dung tràn */
  height: 200px;            /* Chiều cao khung cuộn */
  margin-top: 30px;
  background-color: rgba(255,255,255,0.2);
  border-radius: 8px;
  padding: 0 10px;          /* Chừa chút khoảng trống 2 bên */
}

.seeding ul {
  list-style: none;
  position: absolute;       /* Di chuyển bằng top */
  top: 0;
  left: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  transition: top 0.8s ease; /* Thêm hiệu ứng chuyển động mượt */
}

.seeding li {
  margin: 8px 0;
  line-height: 1.4;
}

/* Overlay toàn màn hình */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7); /* Màu đen trong suốt */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999; /* Đảm bảo nằm trên cùng */
  visibility: hidden; /* Mặc định ẩn */
}

.loading-content {
  text-align: center;
  color: #fff;
}

/* Thanh tiến trình */
.progress-container {
  width: 300px;
  height: 20px;
  background-color: #ccc;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
}
.progress-bar {
  height: 100%;
  width: 0%;
  background-color: #00c853; /* màu xanh lá */
  transition: width 0.1s ease;
}
.progress-text {
  font-size: 18px;
  font-weight: bold;
}

/* Chỉnh kích thước các ô nhập liệu */
#phoneCode,
#phoneNumber,
#softwareCode {
    font-size: 18px; /* Tăng kích thước chữ */
    padding: 12px; /* Tăng padding để làm ô to hơn */
    width: 350px; /* Độ rộng */
    height: 45px; /* Chiều cao */
    border-radius: 8px; /* Bo góc */
    border: 1px solid #ccc; /* Viền */
    outline: none; /* Loại bỏ viền xanh khi bấm vào */
}

/* Khi focus vào input, đổi màu viền */
#phoneCode:focus,
#phoneNumber:focus,
#softwareCode:focus {
    border-color: #007bff; /* Đổi màu viền khi click vào */
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.2); /* Hiệu ứng bóng */
}

/* Canh chỉnh lại dropdown để không bị quá nhỏ */
#phoneCode {
    width: 350px;
}

