/* Add padding to containers */
/* Full-width input fields */
.input {
  width: 100%;
  padding: 15px;
  margin: 5px 0 22px 0;
  display: inline-block;
  border: none;
  background: #f1f1f1;
}

.input:focus {
  background-color: #ddd;
  outline: none;
}

/* Overwrite default styles of hr */
hr {
  border: 1px solid #f1f1f1;
  margin-bottom: 25px;
}

/* Set a style for the submit button */
.registerbtn {
  background-color: #04AA6D;
  color: white;
  padding: 16px 20px;
  margin: 8px 0;
  border: none;
  cursor: pointer;
  width: 100%;
  opacity: 0.9;
}

.registerbtn:hover {
  opacity: 1;
}

/* Add a blue text color to links */
a {
  color: dodgerblue;
}

/* Set a grey background color and center the text of the "sign in" section */
.signin {
  background-color: #f1f1f1;
  text-align: center;
}

.input-error {
  border: 1px solid red;
}

.text-danger {
  color: red;
}

.registration-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  background-color: var(--input-bg);
  min-height: 100vh;
}

.registration-container {
  display: flex;
  max-width: 1000px;
  width: 100%;
  background-color: var(--accent-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  flex-direction: row;
}

.registration-left {
  background-color: var(--primary-color);
  width: 45%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.registration-left img {
  max-width: 200px;
  filter: brightness(1.1);
}

.registration-right {
  width: 55%;
  padding: 40px;
}

.registration-form h1 {
  font-size: 26px;
  margin-bottom: 10px;
  color: var(--text-color);
}

.registration-form p {
  color: #555;
  margin-bottom: 20px;
}

.registration-form .form-group {
  margin-bottom: 16px;
}

.registration-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: var(--text-color);
}

.registration-form input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--input-border);
  border-radius: 12px;
  font-size: 14px;
  background-color: var(--input-bg);
  transition: all 0.2s ease-in-out;
  outline: none;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.06);
}

.registration-form input:focus {
  border-color: var(--input-focus);
  background-color: #fff;
  box-shadow: 0 0 0 2px rgba(0, 113, 227, 0.15);
}

.btn-submit {
  background-color: var(--primary-color);
  color: var(--accent-color);
  padding: 12px;
  border: none;
  border-radius: 10px;
  width: 100%;
  font-size: 16px;
  cursor: pointer;
  margin-top: 10px;
  transition: background-color 0.2s ease-in-out;
}

.btn-submit:hover {
  background-color: #333;
}

.signin-link {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-color);
}

.signin-link a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.signin-link a:hover {
  text-decoration: underline;
}

.error {
  color: #e11d48;
  font-size: 13px;
  margin-top: 4px;
  display: block;
}

/* Responsive */
@media (max-width: 768px) {
  .registration-container {
    flex-direction: column;
  }
  .registration-left,
.registration-right {
    width: 100%;
  }
  .registration-left {
    padding: 20px;
  }
  .registration-right {
    padding: 30px 20px;
  }
}
