.register-box {
  background: white;
  width: 450px;
  margin: 30px auto;
  padding: 25px 30px;
  border-radius: 8px;
  /*box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);*/
}

.register-box h2 {
  text-align: center;
  color: orangered;
  margin-bottom: 5px;
}

.register-box p {
  text-align: center;
  color: #555;
  margin-bottom: 20px;
}

/* --- Họ và Tên --- */
.row input {
  width: 190px;
  float: left;
  padding: 10px;
  margin: 0 13px 10px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
}

.row input:nth-child(2) {
  /* CSS áp dụng riêng cho input thứ 2 trong .row */
  margin-right: 0;
  float: right;
}

.clearfix {
  clear: both;
}

input[type="email"],
input[type="password"],
select {
  width: 95%;
  padding: 10px;
  margin: 8px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
}

label {
  font-weight: normal;
  margin-top: 10px;
}

/* --- Định dạng chung cho fieldset --- */
.gender fieldset {
  border-radius: 10px;             /* Bo góc */
  padding: 15px 20px 10px;         /* Khoảng đệm trong */
  margin-top: 15px;                /* Khoảng cách giữa các khối */
}

/* --- Định dạng tiêu đề (legend) --- */
.gender legend {
  font-weight: bold;
  font-size: 14px;
  padding: 0 8px;                  /* tạo khoảng trống hai bên chữ */
  border-radius: 5px;
}

/* --- Ngày sinh --- */
.birthday select {
  width: 29%;
  float: left;
  margin-right: 3.5%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

/* --- Giới tính --- */
.gender label {
  float: left;
  font-size: 14px;
}

.policy {
  font-size: 12px;
  color: #555;
  margin-top: 15px;
  clear: both;
}

.policy a {
  color: orangered;
  text-decoration: none;
}

.signup-btn {
  background-color: orangered;
  color: white;
  border: none;
  padding: 10px;
  width: 100%;
  font-size: 16px;
  border-radius: 5px;
  margin-top: 10px;
  cursor: pointer;
  clear: both;
}

.signup-btn:hover {
  background-color: #d64800;
}
