@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');

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

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ececec, #909290);
  padding: 20px;
}

.wrapper {
  position: relative;
  max-width: 600px;
  background: #fff;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  text-align: center;
}

.wrapper .com img {
  height: 100px;
  margin-bottom: 20px;
}

.wrapper h2 {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.wrapper h2::before {
  content: '';
  display: block;
  margin: 0 auto;
  height: 3px;
  width: 50px;
  background: #909290;
  border-radius: 2px;
  margin-top: 8px;
}

.wrapper form {
  margin-top: 20px;
}

.wrapper form .input-box {
  position: relative;
  margin: 20px 0;
}

form .input-box input,
form .input-box select {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  color: #333;
  border: 1.5px solid #C7BEBE;
  border-radius: 8px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

form .input-box input:focus,
form .input-box select:focus {
  border-color: #909290;
  box-shadow: 0 0 6px rgba(144, 146, 144, 0.3);
}

form .input-box input:valid {
  border-color: #28a745;
}

form .input-box input:invalid {
  border-color: #d93025;
}

.input-box.button input {
  background: #909290;
  color: #fff;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s ease;
  border: none;
}

.input-box.button input:hover {
  background: #737574;
}

form .policy {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

form h3 {
  font-size: 14px;
  color: #707070;
  font-weight: 500;
}

form .text h3 {
  color: #333;
  font-size: 15px;
  margin-top: 20px;
}

form .text h3 a {
  color: #909290;
  text-decoration: none;
  font-weight: 600;
}

form .text h3 a:hover {
  text-decoration: underline;
}

form .error-message {
  margin-top: 8px;
  font-size: 14px;
  color: #d93025;
  display: none;
  align-items: center;
}

form .error-message i {
  margin-right: 8px;
  font-size: 16px;
}

.message {
  margin: 15px 0;
}

.message .success,
.message .error {
  font-size: 14px;
  font-weight: 500;
  animation: fadeIn 0.3s ease-out;
  display: none;
}

.message .success {
  color: #28a745;
}

.message .error {
  color: #d93025;
}

.wrapper form button {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  width: 100%;
  border: none;
  outline: none;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  border-radius: 8px;
  background-color: #909290;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.wrapper form button:hover {
  background-color: #737574;
  box-shadow: 0 4px 8px rgba(144, 146, 144, 0.2);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}