.modal-timeline,
.certification-modal {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.timeline {
  position: relative;
  padding-left: 50px;
  margin: 30px 0;
}

.timeline:before {
  content: "";
  position: absolute;
  left: 25px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #0a367e;
}

.timeline-item {
  position: relative;
  margin-bottom: 25px;
}

.timeline-icon {
  position: absolute;
  left: -40px;
  top: -20px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #f8f9fa;
  border: 1px solid #d81920 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a367e;
}

.timeline-content {
  padding: 15px;
  background: #f8f9fa;
  border-radius: 10px;
  border-left: 0px solid #0a367e !important;
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.timeline-date {
  font-size: 0.85rem;
  color: #6c757d;
  display: flex;
  align-items: center;
}

.timeline-date .badge {
  margin-left: 10px;
  font-size: 0.7rem;
  font-weight: 400;
}

.timeline-actions {
  display: flex;
  gap: 5px;
  float: inline-end !important;
}

.timeline-actions .btn {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
}

.timeline-title {
  font-weight: 600;
  margin-bottom: 5px;
  color: #343a40;
}

.timeline-desc {
  font-size: 0.9rem;
  color: #495057;
  margin-bottom: 0px !important;
}

.modal-header {
  border-bottom: none;
  padding-bottom: 0;
}

.modal-title {
  font-weight: 300;
}

.employee-info {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.employee-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  color: #6c757d;
}

.employee-name {
  font-weight: 500;
  margin-bottom: 0;
}

.employee-position {
  font-size: 0.85rem;
  color: #6c757d;
  margin-bottom: 0 !important;
}

.no-contracts {
  text-align: center;
  padding: 30px;
  color: #6c757d;
  border: 1px dashed #dee2e6;
  border-radius: 5px;
  margin: 20px 0;
}

.download-all {
  margin: -40px 0;
  text-align: end;
}
/**
 * modal-certification-configuration
 */
.employee-info-certificate {
  background-color: #f8f9fa;
  border-radius: 5px;
  padding: 15px;
  margin-bottom: 20px;
}

.employee-id {
  font-size: 0.9rem;
  color: #6c757d;
}

.employee-name-certificate {
  font-weight: 600;
  color: #343a40;
  margin-top: 5px;
}

.options-section {
  margin-bottom: 20px;
}

.section-title {
  font-weight: 500;
  color: #495057;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.section-title i {
  margin-right: 10px;
  color: #6c757d;
}

.custom-checkbox {
  margin-bottom: 10px;
}

.entity-input {
  position: relative;
}

.entity-input .input-prepend {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #6c757d;
  font-size: 0.9rem;
}

.entity-input input {
  padding-left: 40px;
}

.modal-title {
  font-weight: 400;
  color: #495057;
}

.custom-checkbox .custom-control-label::before {
  border-radius: 0.25rem;
}
