/* ==========================================
   SERVME - PAGES AUTHENTICATED DESKTOP PROFILE EXPERIENCE
   Profile experience page desktop - DESKTOP uniquement
   Extrait de profile-experience.css (hors @media mobile)
   ========================================== */

/**
 * Profile Experience Timeline Styles
 */

.experience-section {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-6);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 2px solid var(--gray-200);
}

.section-header h3 {
  font-size: var(--font-xl);
  font-weight: 700;
  color: var(--gray-900);
  margin: 0;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.section-header h3 i {
  color: var(--primary);
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: var(--space-8);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gray-300);
}

.timeline-item {
  position: relative;
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-6);
}

.timeline-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -44px;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: white;
  border: 3px solid var(--primary);
  box-shadow: 0 0 0 4px rgba(230, 30, 77, 0.1);
}

.timeline-content {
  background: var(--gray-50);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  border-left: 3px solid var(--primary);
  transition: all var(--transition);
}

.timeline-content:hover {
  background: white;
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-4);
}

.timeline-header h4 {
  font-size: var(--font-lg);
  font-weight: 700;
  color: var(--gray-900);
  margin: 0 0 var(--space-1);
}

.timeline-header .company {
  font-size: var(--font-md);
  font-weight: 600;
  color: var(--primary);
  margin: 0 0 var(--space-1);
}

.timeline-header .date {
  font-size: var(--font-sm);
  color: var(--gray-600);
  margin: 0;
}

.timeline-header .duration {
  color: var(--gray-500);
  font-style: italic;
}

.timeline-actions {
  display: flex;
  gap: var(--space-2);
}

.timeline-description {
  margin-top: var(--space-3);
  color: var(--gray-700);
  line-height: 1.6;
  white-space: pre-wrap;
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: var(--space-12) var(--space-6);
  color: var(--gray-500);
}

.empty-state i {
  font-size: 64px;
  color: var(--gray-300);
  margin-bottom: var(--space-4);
  display: block;
}

.empty-state p {
  margin: var(--space-2) 0;
}

.empty-state .text-muted {
  font-size: var(--font-sm);
  color: var(--gray-400);
}

/* Icon buttons */
.btn-icon {
  background: none;
  border: none;
  padding: var(--space-2);
  cursor: pointer;
  color: var(--gray-500);
  transition: all var(--transition);
  border-radius: var(--radius-sm);
}

.btn-icon:hover {
  color: var(--primary);
  background: rgba(230, 30, 77, 0.1);
}

.btn-icon i {
  font-size: var(--font-md);
}

/* Form styles */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  cursor: pointer;
  font-weight: 500;
  color: var(--gray-700);
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--primary);
}

.required {
  color: var(--danger);
}

