/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", sans-serif;
  background: linear-gradient(to right, #e3f2fd, #ffffff);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

/* Container Layout */
.container {
  width: 900px;
  height: 520px;
  background: #fff;
  display: flex;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.1);
}

/* Image Side */
.image-side {
  width: 45%;
  background-image: url("https://cdn-kvweb.kiotviet.vn/kiotviet-website/wp-content/uploads/2023/10/31095247/background-register1-1.jpg");
  background-size: cover;
  background-position: center;
  color: white;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.new-register-content-title p {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 12px;
}

.register-telephone {
  margin-top: 30px;
  font-size: 16px;
  text-align: center;
}

/* Form Side */
.form-side {
  width: 55%;
  padding: 40px 35px;
  position: relative;
}

/* Close Button */
.close {
  position: absolute;
  right: 20px;
  top: 20px;
}

.close-a {
  font-size: 20px;
  color: #999;
  text-decoration: none;
  transition: color 0.3s ease;
}

.close-a:hover {
  color: #f44336;
}

/* Title */
.side_titel h2 {
  font-size: 28px;
  margin-bottom: 8px;
  text-align: center;
  color: #333;
}

.side_titel p {
  font-size: 14px;
  color: #666;
  text-align: center;
  margin-bottom: 25px;
}

.strong_clolor {
  color: #2196f3;
  font-weight: bold;
}

/* Form Layout */
.main-form {
  width: 100%;
}

.form-group {
  position: relative;
  margin-bottom: 18px;
}

.form-group i {
  position: absolute;
  top: 12px;
  margin-left: 10px;
  color: #aaa;
  font-size: 16px;
}

.form-group input {
  width: 100%;
  padding: 10px 12px 10px 38px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.form-group input:focus {
  border-color: #2196f3;
  outline: none;
}

.form-group img {
  margin-top: 10px;
  height: 38px;
  border-radius: 6px;
}

/* Error Message */
.message .error-message {
  color: #d32f2f;
  font-size: 14px;
  margin-bottom: 15px;
  text-align: center;
  font-weight: bold;
}
.success-message,
.succ-message {
  color: #03a82d;
  font-size: 14px;
  margin-bottom: 15px;
  text-align: center;
  font-weight: bold;
}
/* Buttons */
.button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 5px;
}

.button button,
.senotp,
.senotps {
  background-color: #2196f3;
  border: none;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.otp-main {
  display: flex;
  justify-content: end;
}
.senotp {
  margin-top: 5px;
}
.otp-fromup {
  margin: 5px !important;
}
.button button:hover {
  background-color: #1976d2;
}

.button a {
  font-size: 14px;
  color: #2196f3;
  text-decoration: none;
  transition: color 0.3s ease;
}

.button a:hover {
  color: #1565c0;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    width: 90%;
    height: auto;
  }

  .image-side,
  .form-side {
    width: 100%;
    padding: 30px 25px;
  }

  .form-group input {
    padding-left: 36px;
  }

  .button {
    flex-direction: column;
    gap: 10px;
  }
}

.new-register-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  padding: 20px;
  border-radius: 10px;
}

.new-register-content-title {
  text-align: center;
  margin-bottom: 15px;
}

.new-register-content-title p {
  margin: 0;
  font-size: 40px;
  font-weight: 700;
  text-align: center;
  color: #ffffff;
}

.register-telephone {
  text-align: center;
}

.telephone-wrap {
  font-size: 15px;
  color: #007bff;
  font-weight: bold;
  cursor: pointer;
}
.telephone-wrap:hover {
  text-decoration: underline;
}

.telephone-wrap {
  position: relative;
  display: inline-block;
  padding: 10px 20px;
  color: white;
  font-weight: bold;
  background-color: #0052b4; /* tuỳ bạn */
}

/* Góc trên trái */
.telephone-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  border-top: 2px solid white;
  border-left: 2px solid white;
}

/* Góc dưới phải */
.telephone-wrap::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  border-bottom: 2px solid white;
  border-right: 2px solid white;
}
.message {
  margin-bottom: 10px;
}
.close {
  position: absolute;
  top: 15px;
  right: 25px;
  cursor: pointer;

  font-size: 26px;
  transition: color 0.2s;
}

.close:hover {
  color: rgb(97, 96, 96);
}
.close a {
  font-size: unset;
  color: rgb(117, 117, 117);
  text-decoration: unset;
  transition: unset;
}
