#login {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: bold;
  border-radius: 10px;
  margin-top: 30px;
  background-color: #d9d9d9;
  padding: 15px;
  width: 350px;
}

#login label {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 5px;
}

#login input[type=text], #login input[type=password] {
  width: 100%;
  height: 40px;
  margin-bottom: 20px;
  padding: 10px;
  border: none;
  border-radius: 5px;
  outline: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#login input[type=submit] {
  width: 100%;
  height: 40px;
  background-color: #4285f4;
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

#login input[type=submit]:hover {
  background-color: #3367d6;
}

.invalid {
  border: 2px solid red !important;
}

/* form .tooltip {
  position: relative;
  width: 100%;
  padding: 5px;
  border-radius: 5px;
  z-index: 9999;
  margin-bottom: 20px;
  text-align: center;
} */
/*******************************************************************************
Add/Edit Form von Nodes and Links
*******************************************************************************/
.modern-form {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: fit-content;
  position: relative;
  margin: 0 auto;
  z-index: 99;
}

/* .modern-form .tooltip {
  margin-top: 10px;
  color: black;
} */

.modern-form input, .modern-form select {
  outline: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.modern-form h2 {
  margin-bottom: 15px;
}

form p {
  width: fit-content;
/*   color: black; */
}

h2 {
  text-align: center;
  color: #333333;
}

.form-group {
  margin-bottom: 20px;
}
.form-group:last-child {
  display: flex;
  justify-content: space-between;
  margin-bottom: unset;
}

label {
  display: flex;
  width: fit-content;
  align-items: center;
  margin-bottom: 8px;
  color: #555555;
}

input,
textarea {
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
  border: 1px solid #cccccc;
  border-radius: 4px;
}

.sendButton, .cancelButton {
  background-color: #3498db;
  color: #ffffff;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}
button:hover {
  background-color: #297fb8;
}

select {
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
  border: 1px solid #cccccc;
  border-radius: 4px;
}

.modern-form .switch {
  margin: 0 auto;
}

.hidden {
  display: none !important;
}

form .middle {
  margin: 0 auto;
}
form.middle, h1.middle {
  margin: 0 auto;
}

form h1.middle {
  width: fit-content;
  margin-bottom: 10px;
}

form th {
  font-weight: 100;
  background-color: unset;
}

.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  z-index: 9999;
}

.cancelButton {
  background-color: red !important;
  text-decoration: none;
}

/* The switch - the box around the slider */
.switch {
  position: relative;
  display: block;
  min-width: 60px;
  height: 34px;
  margin-bottom: 20px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #4CAF50;
}

input:checked + .slider.red {
  background-color: red;
}

input:focus + .slider {
  box-shadow: 0 0 1px #4CAF50;
}

input:focus + .slider.red {
  box-shadow: 0 0 1px red;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/* Input Fields */
form tbody input[type="number"] {
  max-width: 55px;
}

form table label {
  display: inline-flex;
  margin-bottom: unset;
}

form tbody ul li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 5px 0;
}

form tbody ul li label {
  margin: 0 5px;
}

form .textContent {
  max-width: 450px;
}

.addButton {
  background-color: lightgreen;
  padding: 10px;
  width: 100%;
  text-decoration: none;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

/* Remove Default Apperance */
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

/* Other Table Styles */
.ageTable th[data-name="table-empty"] {
  width: 65px;
}
.ageTable th label {
  max-width: 110px;
}
.ageTable tbody [data-name] {
  text-align: center;
}

.climatehazardsTable tbody label {
  margin: unset;
}
.climatehazardsTable .switch {
  margin: unset;
}
.climatehazardsTable tbody tr:nth-child(3) ul li {
  flex-direction: column;
}

.acquisitionsTable th[data-name="table-empty"] {
  width: 65px;
}
.acquisitionsTable th label {
  max-width: 135px;
}
.acquisitionsTable input[type="number"] {
  max-width: 135px;
}
.acquisitionsTable input[type="text"] {
  max-width: 135px;
}

.leavingCompanyTable th label {
  max-width: 110px;
}

.businessTripsTable input[type="number"] {
  max-width: 70px;
}

.businessTripsTableFlight input[type="number"] {
  max-width: 80px;
}

.sickLeaveTable th[data-name="table-empty"] {
  width: 65px;
}
.sickLeaveTable th label {
  max-width: 145px;
}
.sickLeaveTable tbody [data-name] {
  text-align: center;
}

/* Add Loading */
.loading div {
  display: flex;
  width: 100%;
  justify-content: center;
}

.loading div div {
  border: solid 3px;
  border-color: rebeccapurple rgba(223, 223, 223, 0.507) rgba(223, 223, 223, 0.507) rgba(223, 223, 223, 0.507);
  width: 50px;
  height: 50px;
  border-radius: 100%;
  animation: loading-circle 1.0s linear infinite normal;
}

@keyframes loading-circle {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.loading div i {
  font-size: 3.3em;
  color: green;
  padding: unset;
}
