/* Temporary stylesheet for the employment application form */

/* Modified layout */

.tempform {
  display: flex;
  gap: 0px 15px; 
  flex-wrap: wrap;
  justify-content: space-between;
}

.tempformcol {
  flex: 1 1 calc(50% - 15px); /* Two columns with gap */
  box-sizing: border-box;
}

@media (max-width: 600px) {
  .tempformcol {
    flex: 1 1 100%; /* Stack columns on small screens */
  }
}

/* Form styling */
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

input[type="text"],
input[type="email"],
input[type="file"],
input[type="date"],
textarea {
  width: calc(100% - 22px); /* Full width minus padding and border */
  padding: 10px;
  margin-bottom: 5px;
  border: 2px solid #ccc;
  border-radius: 4px;
  font-size: 1em;
}

input[type="text"]:hover,
input[type="email"]:hover,
input[type="file"]:hover,
input[type="date"]:hover,
textarea:hover {
    border-color: #144734;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="file"]:focus,
input[type="date"]:focus,
textarea:focus {
    border-color: #144734;
    outline: 2px solid #144734;
}

input[type="submit"] {
  background-color: #f5e2a4;
  color: black;
  height: auto;
  border: none;
  padding: 10px 15px;
  border-radius: 4px;
  font-size: 1em;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

input[type="submit"]:hover {
  background-color: #144734;
  color: white;
}

/* Style for disabled submit button */
input[type="submit"][disabled] {
  background-color: #ccc; /* Light gray background */
  color: #666; /* Darker gray text */
  cursor: not-allowed; /* Indicate non-clickable */
  opacity: 0.6; /* Slightly faded */
}

/* Accessibility and spacing */
label {
  font-weight: bold;
  margin-bottom: 5px;
}

.doublehanging {
  margin-left: 67px;
  margin-right: 40px;
  text-indent: -27px;
} 

.center {
  text-align: center;
}

.indentset {
  margin-left: 20px;
}

/* Responsive design */
@media (max-width: 600px) {
  
}