/* Links */
.employee-steps li a {
  display: block;
  padding: 10px 15px !important;
  color: #333 !important;
  text-decoration: none !important;
}

/* Hover */
/* .employee-steps li a:hover {
  background: #f1f1f1 !important;
} */

/* ✅ ACTIVE STEP */
.employee-steps li.active>a {
  background-color: #fff !important;
  color: #0d6efd !important;
  font-weight: 600 !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.employee-steps .employee-substeps {
  display: none;
  list-style: none;
  margin: 4px 0 8px;
  padding-left: 25px;
}

.employee-steps li.active > .employee-substeps {
  display: block;
}

.employee-steps .employee-substep a {
  display: block;
  padding: 6px 15px !important;
  color: #555 !important;
  text-decoration: none !important;
  font-size: 14px;
}

.employee-steps .employee-substep a::before {
  content: " ";
  color: #999;
  margin-right: 5px;
}

.employee-steps .employee-substep.active a {
  color: #0d6efd !important;
  font-weight: 600 !important;
}

.employee-steps #edit-actions {
  background: unset !important;
}

body:has(#edit-step-container-group-emergency-contact) #edit-step-container-group-personal {
  display: none;
}

/* Hide "Personal" ghost group when on Emergency Contact step */
[id*="group-emergency-contact"] ~ [id*="group-personal"],
[id*="group-personal"]:has(~ [id*="group-emergency-contact"]),
body:has([id*="group-emergency-contact"]) [id*="group-personal"] {
  display: none !important;
}

/* Hide paragraphs actions (Collapse, Three dots menu) in employee form */
.employee-step-form .paragraphs-actions {
  display: none !important;
}

.field--name-field-permanent-address .paragraph-type-label,
.field--name-field-correspondence-address .paragraph-type-label {
  display: none !important;
}

.field--name-field-emp-education .paragraph-type-title,
.field--name-field-emp-education .paragraph-type-label,
.field--name-field-emp-education-details .paragraph-type-title,
.field--name-field-emp-education-details .paragraph-type-label,
[id*="field-emp-education-details"] .paragraph-type-title,
[id*="field-emp-education-details"] .paragraph-type-label {
  display: none !important;
}

.field--name-field-emp-education-details .paragraph-type-top,
[id*="field-emp-education-details"] .paragraph-type-top {
  display: flex;
  align-items: center;
}

.field--name-field-emp-education-details .paragraphs-dropbutton-wrapper,
[id*="field-emp-education-details"] .paragraphs-dropbutton-wrapper {
  margin-left: auto;
}

.field--name-field-emp-education .paragraph-type-top,
[id*="field-emp-education"] .paragraph-type-top {
  display: flex;
  align-items: center;
}

.field--name-field-emp-education .paragraphs-dropbutton-wrapper,
[id*="field-emp-education"] .paragraphs-dropbutton-wrapper {
  margin-left: auto;
}

.field--name-field-emp-education .paragraph-top,
.field--name-field-emp-education-details .paragraph-top,
.field--name-field-emp-education [class*="paragraph-type-title"],
.field--name-field-emp-education [class*="paragraph-type-icon"],
.field--name-field-emp-education-details [class*="paragraph-type-title"],
.field--name-field-emp-education-details [class*="paragraph-type-icon"] {
  display: none !important;
}

.employee-step-form .tabledrag-handle,
.employee-step-form .tabledrag-toggle-weight-wrapper,
.employee-step-form .inactive-qualification,
.employee-step-form tr:has(.inactive-qualification) {
  display: none !important;
}

.field--name-field-emp-family-details .paragraph-type-title,
.field--name-field-emp-family-details .paragraph-type-label,
[id*="field-emp-family-details"] .paragraph-type-title,
[id*="field-emp-family-details"] .paragraph-type-label {
  display: none !important;
}

.view-students-attendance span.punch-out {
  color: #cd0a0a;
  font-weight: bold;
  background: #f5cbcb;
  padding: 2px 15px;
  border-radius: 5px;
}

.view-students-attendance span.punch-in {
  color: green;
  font-weight: bold;
  background: #dcf3dc;
  padding: 2px 15px;
  border-radius: 5px;
}
