/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

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

/* Form Container */
form {
  width: 100%;
  max-width: 550px;
  height: fit-content;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

/* Inner Content */
.container {
  padding: 35px;
}

h1 {
  text-align: center;
  color: #1f2937;
  margin-bottom: 10px;
  font-size: 2rem;
}

.container p {
  text-align: center;
  color: #6b7280;
  margin-bottom: 25px;
  font-size: 0.95rem;
}

hr {
  border: none;
  height: 1px;
  background: #e5e7eb;
  margin-bottom: 25px;
}

/* Labels */
label {
  display: block;
  margin-bottom: 8px;
  color: #374151;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Inputs */
input[type='text'],
input[type='password'],
input[type='email'] {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 18px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #f9fafb;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

input:focus {
  border-color: #2563eb;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
  outline: none;
}

/* Checkbox */
label input[type='checkbox'] {
  margin-right: 8px;
}

/* Terms */
.container p a {
  color: #2563eb;
  text-decoration: none;
}

.container p a:hover {
  text-decoration: underline;
}

/* Buttons */
.clearfix {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

button {
  flex: 1;
  padding: 14px;
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cancelbtn {
  background: #ef4444;
}

.cancelbtn:hover {
  background: #dc2626;
}

.required {
  color: #dc2626;
  margin-left: 4px;
}

select {
  width: 100%;
  padding: 14px 16px;
  margin: 0 0 18px 0;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  background: #f9fafb;
  font-size: 14px;
  transition: all 0.3s ease;
}

select:focus {
  border-color: #2563eb;
  background: #ffffff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.signupbtn {
  background: #2563eb;
}

.signupbtn:hover {
  background: #1d4ed8;
}

/* Mobile Responsive */
@media (max-width: 600px) {
  .container {
    padding: 25px;
  }

  .clearfix {
    flex-direction: column;
  }
}
