// Styling for the employee leave requests views

// Timeline styling
.timeline {
  position: relative;
  padding-left: 1.5rem;
  
  &:before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #e9ecef;
  }
}

.timeline-item {
  position: relative;
  padding-bottom: 1.5rem;
  
  &:last-child {
    padding-bottom: 0;
    
    .timeline-marker:before {
      display: none;
    }
  }
}

.timeline-marker {
  position: absolute;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  left: -1.5rem;
  top: 0.25rem;
  
  &:before {
    content: '';
    width: 2px;
    height: calc(100% + 0.5rem);
    background: #e9ecef;
    position: absolute;
    left: 6px;
    top: 15px;
  }
}

.timeline-content {
  margin-left: 0.5rem;
}

// Badge with custom colors
.badge-leave-type {
  color: #fff;
  display: inline-block;
  padding: 0.25em 0.5em;
  font-size: 0.75em;
  font-weight: 700;
  border-radius: 0.25rem;
}

// Calendar placeholder styling
#leaveCalendar {
  min-height: 250px;
}

// Responsive adjustments
@media (max-width: 767.98px) {
  .leave-request-header {
    flex-direction: column;
    
    .header-actions {
      margin-top: 1rem;
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
    }
  }
} 