.form {
  max-width: 600px;
  margin: 0;
}

.form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #495057;
}

.form-group input,
.form-group select {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  background-color: white;
}

.form-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 2rem;
}

.button.secondary {
  background: #adb5bd;
}

.button.secondary:hover {
  background: #868e96;
}

.employee-edit {
  width: 100%;
}

.employee-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--border-color);
}

.tabs {
  display: flex;
  border-bottom: 2px solid var(--border-color);
  margin-bottom: 1.5rem;
}

.tab {
  padding: 0.75rem 1.5rem;
  background: none;
  border: none;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: border-color 0.2s;
}

.tab:hover {
  background-color: var(--secondary-color);
}

.tab.active {
  border-bottom: 3px solid var(--primary-color);
  color: var(--primary-color);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Adaptación del formulario al 100% del ancho */
.form {
  width: 100%;
  max-width: none;
  margin: 0;
}

.foreignkey-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: white;
  min-height: 2.4rem;
  cursor: pointer;
  transition: border-color 0.2s;
}

.foreignkey-wrapper:hover {
  border-color: #007bff;
}

.foreignkey-value {
  flex: 1;
  font-weight: 500;
  color: #2f3542;
}

.foreignkey-icons {
  display: flex;
  gap: 0.5rem;
  margin-left: auto;
  align-items: center;
}

.dropdown-icon,
.open-icon {
  color: #495057;
  font-size: 0.9rem;
  text-decoration: none;
}

.open-icon {
  position: relative;
}

.open-icon:hover::after {
  content: attr(title);
  position: absolute;
  top: -1.8rem;
  right: 0;
  background: black;
  color: white;
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  white-space: nowrap;
  z-index: 999;
}
