/* === employee grid === */

.employee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1rem;
}

.employee-card-link {
  display: block;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: all 0.2s ease;
  position: relative;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.employee-card-link:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
  text-decoration: none;
  border-color: var(--primary-light);
}

.employee-card-link:hover .employee-name {
  color: var(--primary-text);
}

.employee-card-top {
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.employee-card-info { flex: 1; }

.employee-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}

.employee-name:hover {
  color: var(--primary-text);
  text-decoration: none;
}

.employee-birthday {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 0.15rem;
}

.employee-card-bottom {
  padding: 0.75rem 1.25rem;
  border-top: 1px solid var(--border-light);
  background: var(--grey-50);
}

.cake-info {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.cake-missing {
  color: #713716;
}

.cake-missing a {
  color: var(--warning-text);
  font-weight: 600;
}

.employee-inactive { opacity: 0.5; }

.inactive-overlay {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
}

.inactive-overlay span {
  background: var(--danger-light);
  color: var(--danger-text);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 20px;
}

/* === profile === */

.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.profile-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  border: 1px solid var(--border-light);
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.profile-header h2 {
  font-size: 1.3rem;
  font-weight: 700;
}

.profile-info-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.profile-info-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}

.profile-info-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}
