/* 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;
  overflow: hidden;
  height: 200px;
  margin-top: 30px;
  background-color: rgba(255,255,255,0.2);
  border-radius: 8px;
  padding: 0 10px;
}

.seeding ul {
  list-style: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  transition: top 0.8s ease;
}

.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);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  visibility: hidden;
}

.loading-content {
  text-align: center;
  color: #fff;
}

.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;
  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;
    padding: 12px;
    width: 350px;
    height: 45px;
    border-radius: 8px;
    border: 1px solid #ccc;
    outline: none;
}

#phoneCode:focus,
#phoneNumber:focus,
#softwareCode:focus {
    border-color: #007bff;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.2);
}

#phoneCode {
    width: 350px;
}

/* Thông báo lỗi (mới thêm) */
.error-message {
  background-color: #ff4d4d;
  color: #fff;
  padding: 10px;
  border-radius: 4px;
  margin-bottom: 20px;
  font-weight: bold;
  text-align: center;
  display: none;
}