/* register.css */

/* Reset some defaults */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Times New Roman", serif;
  background-color: white;
  color: black;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

/* Header */
header h1 {
  color: #d40000;
  margin: 20px 0;
}

/* Form Container */
.container {
  width: 400px;
  border: 2px solid #d40000;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
}

/* Form Heading */
form h1 {
  text-align: center;
  margin-bottom: 20px;
  color: #d40000;
}

/* Input Control */
.input-control {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

/* Labels */
label {
  font-weight: bold;
  margin-bottom: 5px;
}

/* Text, Password, Select Inputs */
input[type="text"],
input[type="password"],
select {
  padding: 10px;
  border: 1.5px solid grey;
  border-radius: 6px;
  outline: none;
  transition: all 0.3s ease;
}

/* Input focus effect */
input[type="text"]:focus,
input[type="password"]:focus,
select:focus {
  border-color: #d40000;
}

/* Radio and Checkbox */
input[type="radio"],
input[type="checkbox"] {
  margin-right: 5px;
}

/* Submit Button */
button[type="submit"] {
  background-color: #d40000;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 10px;
  cursor: pointer;
  width: 100%;
  font-weight: bold;
  transition: background-color 0.3s;
}

button[type="submit"]:hover {
  background-color: #a30000;
}

/* Error Messages */
.error {
  color: #d40000;
  font-size: 13px;
  margin-top: 3px;
}

/* Footer */
footer {
  text-align: center;
  padding: 10px 0;
  color: black;
  width: 100%;
  margin-top: auto;
}
