/* styles.css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif; /* Font modern */
  background-color: #f4f7f9; /* Culori neutre */
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100vw;
  padding: 20px;
}

.form {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Umbre subtile */
  max-width: 500px; /* Lățime maximă pentru formulare mai mari */
  width: 100%;
  margin: auto;
}

.label {
  font-size: 14px;
  color: #333;
  margin-top: 1rem;
  display: block;
}

.input {
  width: 100%;
  padding: 12px;
  margin: 8px 0;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease; /* Tranziții fine */
}

input[type="date"] {
  -webkit-appearance: none; /* Remove default styling in WebKit browsers */
  -moz-appearance: none; /* Remove default styling in Firefox */
  appearance: none; /* Remove default styling in other browsers */
  border: 1px solid #ccc; /* Border color */
  border-radius: 4px; /* Rounded corners */
  padding: 8px; /* Padding inside the input */
  font-size: 16px; /* Font size */
  width: 100%; /* Full width */
  box-sizing: border-box; /* Include padding and border in element's total width and height */
  background-color: #fff; /* Background color */
  color: #333; /* Text color */ /* Line height */
}

input[type="date"]::-webkit-date-and-time-value {
  height: 30px;
  display: grid;
  place-items: center; /* Add padding inside the input field */
}

.input:focus {
  border-color: #007bff;
  box-shadow: 0 0 8px rgba(0, 123, 255, 0.25); /* Efect de focus */
  outline: none;
}

.dropdown {
  width: 100%;
  -webkit-appearance: initial;
  line-height: 2.7;
  text-indent: 12px;
  margin: 8px 0;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  background-color: #fff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.dropdown:focus {
  border-color: #007bff;
  box-shadow: 0 0 8px rgba(0, 123, 255, 0.25);
  outline: none;
}

.checkbox-label {
  display: flex;
  align-items: center;
  font-size: 16px;
  margin-top: 1rem;
  margin-bottom: 12px;
  cursor: pointer;
  color: #333;
}

.checkbox-label input {
  margin-right: 10px;
  width: 20px;
  height: 20px;
}

.buttonWrapper {
  width: 100%;
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
}

.buttonWrapper button:first-child {
  background-color: green;
}

button {
  width: 100%;
  padding: 12px;
  background-color: #007bff;
  color: #fff;
  border: none;
  margin: auto;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease, transform 0.3s ease; /* Tranziții pentru hover */
}

button:hover {
  background-color: #0056b3;
  transform: scale(1.05); /* Ușoară mărire la hover */
}

button:focus {
  outline: none;
  box-shadow: 0 0 4px rgba(0, 123, 255, 0.5); /* Efect de focus */
}
