.box.new {
  background-color: #b2b7f1;
  box-shadow: #09175d 0 0 0.3rem;
}

.crud-buttons-container {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: row;
  justify-content: center;
  translate: 0 1.4rem;
}

.disable {
  color: darkred;
}

.enable {
  color: darkgreen;
}

.edit {
  color: darkgreen;
}

.delete {
  color: darkred;
  box-shadow: 0 0 0.3rem darkred;
}

.date-group {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  padding-left: 20px;
}

.date-field {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  width: 100%;
  max-width: 180px;
}

.date-field label {
  text-align: left;
  flex-grow: 0.1;
}

.date-field input {
  max-width: 130px;
  text-align: right;
}

@media (max-width: 600px) {
  .date-group {
    flex-direction: column;
  }

  .date-field {
    align-items: flex-start;
    align-self: flex-end;
  }
}

.left-group {
  display: flex;
  flex-direction: column;

  label, input {
    flex: 1;
    margin: 0 0.5rem;
  }
}

.right-section-edit {
  text-align: right;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 12rem;
}

.title-group {
  display: flex;
  justify-content: space-between;
  align-items: center;

  label, input {
    flex: 1;
    margin: 0 0.5rem;
  }
}

.location {
  input {
    max-width: 9.3rem;
  }
}

.description {
  padding-right: 5px;
}

input[type="text"],
textarea,
select {
  /* Input styles */
  flex: 4;
}

textarea {
  width: 100%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  resize: vertical;
}

.form-box {
  border: 0.3rem solid #000754;
}

.form-skills-container {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.form-skill-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 0.2rem;
}

.form-skill-button {
  flex-shrink: 0;
  border-radius: 1rem;
  font-size: 0.9rem;
  width: 1.5rem;
  font-weight: bold;
}

.form-buttons-container {
  display: flex;
  justify-content: center;

  button[type="submit"],
  button#cancel-update-btn {
    margin: 5px 0 5px 10px;
    width: 100px;
  }
}
