:host {
  display: block;
}

.staff-application-container {
  display: flex;
  flex-direction: column;
  min-height: 80vh;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-container {
  position: relative;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.formPage {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  height: 100%;
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.navigation-buttons {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.form-navigation {
  display: flex;
  justify-content: center;
  gap: 10px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.nav-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: auto;
  margin-bottom: auto;

  &.active {
    background-color: #fff;
  }
}

.nav-button {
  color: #1f9bde;
}

.pages {
  margin-top: auto;
  margin-bottom: auto;
}

.description {
  max-width: 75ch;
  text-align: left;
}

.valid-email {
  display: flex;
  align-items: center;
  color: #4CAF50;
  margin: 10px 0;
  padding: 8px 12px;
  border-radius: 4px;
  background-color: rgba(76, 175, 80, 0.1);
}

.invalid-email {
  display: flex;
  align-items: center;
  color: #af4c4c;
  margin: 10px 0;
  padding: 8px 12px;
  border-radius: 4px;
  background-color: rgba(76, 175, 80, 0.1);
}

.valid-email mat-icon {
  color: #4CAF50;
  margin-right: 10px;
}

.valid-email span {
  color: #4CAF50;
  font-weight: 500;
}

.checkbox-field {
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.checkbox-error {
  color: #f44336;
  font-size: 12px;
  margin-top: 4px;
}

.field-container {
  margin: 16px 0;
  width: 100%;
}

.field-label {
  font-size: 16px;
  margin-bottom: 8px;
  display: block;
  color: rgba(255, 255, 255, 0.7);
}

.days-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.day-chip {
  padding: 8px 12px;
  border-radius: 16px;
  background-color: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;

  &.selected {
    background-color: #1f9bde;
    color: white;
  }

  &:hover {
    background-color: rgba(255, 255, 255, 0.2);
  }
}

mat-form-field {
  margin-bottom: 16px;
}
