/* ===== COMMUNITY STYLES ===== */
/**
 * @file: community/org-chart.css
 * @description: 조직도 모달 스타일
 * @components: 조직도 모달
 * @usage: 조직도 모달 스타일링
 */
.org-chart-content {
  max-width: 900px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 30px;
}

.org-chart-content h2 {
  text-align: center;
  color: #1a73e8;
  margin-bottom: 30px;
}

.org-chart {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.org-level {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.org-position {
  font-size: 1.2em;
  font-weight: 600;
  color: #1a73e8;
  padding: 10px 20px;
  background: #f0f7ff;
  border-radius: 8px;
  margin-bottom: 20px;
}

.org-members {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 0 10px;
}

.org-member {
  flex: 1 1 250px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: #f8fafe;
  border-radius: 10px;
  border: 1px solid #e1ebfa;
  transition: all 0.3s ease;
}

.org-member:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(26, 115, 232, 0.1);
}

.org-member.empty {
  justify-content: center;
  color: #666;
  background: #f5f5f5;
  border: 1px dashed #ccc;
}

/* 조직도 내 멤버 포토 */
.member-photo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #1a73e8;
}

.member-info {
  flex: 1;
}

.member-name {
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
}

.member-center {
  font-size: 0.9em;
  color: #666;
}

/* 조직도 버튼 스타일 */
.org-chart-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #34a853;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.9em;
  font-weight: 500;
  margin-left: 16px;
  transition: all 0.3s ease;
}

.org-chart-btn:hover {
  background-color: #2d9047;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(52, 168, 83, 0.2);
}

.org-chart-btn .material-icons-round {
  font-size: 20px;
}
