/* Base reset */
body {
  font-family: Arial, sans-serif;
  font-size: 1rem;         /* ~16px, good for mobile */
  margin: 0;
  padding: 1rem;
  background: #f4f7fb;     /* light background */
}

/* Wrapper */
.wrapper {
  max-width: 400px;
  margin: 0 auto;
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Title */
.title {
  font-size: 1.4rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 1rem;
}

/* Fields */
.field {
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
}

.field label {
  margin-bottom: 0.3rem;
  font-size: 0.9rem;
  color: #333;
}

.field input {
  padding: 0.6rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* Content (checkbox + links) */
.content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.content .checkbox {
  display: flex;
  align-items: center;
}

.content .checkbox label {
  margin-left: 0.4rem;
}

/* Submit button */
.field input[type="submit"] {
  background: #007BFF;
  color: white;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.field input[type="submit"]:hover {
  background: #0056b3;
}

/* Links */
.signup-link {
  text-align: center;
  margin-top: 0.8rem;
  font-size: 0.9rem;
}

.signup-link a {
  color: #007BFF;
  text-decoration: none;
}

.signup-link a:hover {
  text-decoration: underline;
}



/* Mobile override */
@media (max-width: 480px) {
  body {
    font-size: 1.1rem; /* larger text for phones */
    margin: 0;
    padding: 0;
  }
  .wrapper {
    max-width: 100%;   /* use full screen width */
    margin: 0;         /* no side gaps */
    border-radius: 0;  /* flush edges */
    box-shadow: none;  /* flat look */
    min-height: 100vh; /* stretch wrapper full height */
    padding: 1rem;     /* comfortable padding inside */
  }
}
