/* Reset box model and ensure consistent styles */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Optional: Set a consistent base font and background color */
html {
  font-size: 16px;
  /* Base font size */
  line-height: 1.5;
  /* Improved readability */
  background-color: #fff;
  /* Default background */
  color: #353434;
  /* Default text color */
  -webkit-text-size-adjust: 100%;
  /* Prevent font scaling in Safari */
}

/* Remove default list styles */
ul,
ol {
  list-style: none;
}

/* Remove default link styles */
a {
  text-decoration: none;
  color: inherit;
}

/* Remove default table spacing */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Reset image and media behavior */
img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Remove default button styling */
button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
}

/* Reset form elements */
input,
textarea,
select {
  font: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #f4f4f9;
}

.form-container {
  background: white;
  margin: 20px;
  padding: 20px 30px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.form-group input {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
}

.error {
  color: red;
  font-size: 12px;
  margin-top: 5px;
  display: none;
}

button {
  width: 100%;
  padding: 8px;
  border: none;
  border-radius: 5px;
  background: #007bff;
  color: white;
  font-size: 16px;
  cursor: pointer;
}

button:disabled {
  background-color: #ccc;
  /* Light gray background */
  color: #666;
  /* Darker gray text */
  cursor: progress;
  /* Show a not-allowed cursor */
  border: 1px solid #999;
  /* Optional: gray border */
  opacity: 0.7;
  /* Make it slightly transparent */
}

button:not(:disabled):hover {
  background: #0056b3;
}
