/* static/css/my_profile.css */

/* 섹션 타이틀 */
.profile-wrapper { margin-bottom: 18px; }
.profile-section .profile-common-header { margin-bottom: 8px; }
.profile-common-title { font-size: 18px; font-weight: 700; color: #333; }

/* 카드 프레임 */
.profile-common-container {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid #f0f0f0;
  border-radius: 10px;
  background: #fff;
}
.profile-align-center { align-items: center; }
.profile-is-shrinked { margin-top: 12px; }

/* 프로필 이미지 */
.activity-profile .profile-image-wrap {
  width: 120px; height: 120px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,.06);
  background: #f7f7f7;
  display: flex; align-items: center; justify-content: center;
}
.profile-image { width: 120px; height: 120px; object-fit: cover; }

/* 이름/소개 */
.activity-information { flex: 1 1 auto; min-width: 0; }
.activity-name { display: block; font-size: 20px; font-weight: 800; color: #222; }
.name-ellipsis { display: inline-block; max-width: 100%; }
.name-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.activity-text { margin-top: 6px; font-size: 14px; color: #444; }
.activity-dimmed { color: #888; }

/* 액션 영역: 프로필 편집 / 팔로워 / 팔로잉 / 숨김 */
.activity-option { flex: 0 0 auto; }
.activity-actions {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  justify-content: flex-end;
}
.activity-button {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px;
  border-radius: 8px;
  background: #f5f6f7;
  font-size: 13px;
  color: #333;
  transition: background .2s ease;
  border: 0;
}
.activity-button:hover { background: #e9ecef; }
.badge-num {
  display: inline-block;
  min-width: 20px; padding: 2px 6px;
  border-radius: 999px; background: #1559ff; color: #fff;
  font-size: 12px; line-height: 1;
}

/* 반응형 */
@media (max-width: 992px) {
  .profile-common-container { flex-direction: column; align-items: stretch; }
  .activity-option { align-self: stretch; }
  .activity-actions { justify-content: stretch; }
  .activity-button { width: auto; }
}

/* =========================================
   MY 페이지: 가운데 영역을 사이드바 가까이 붙여서 더 넓게
   - container 대신 container-fluid 를 쓰지만
     혹시 테마 css가 최대폭/여백을 다시 제한하면 아래가 보정
========================================= */
.mypage--full {
  max-width: 100% !important;         /* 최대폭 제한 해제 */
}

/* 좌우 여백 최소화(큰 화면) */
@media (min-width: 1200px) {
  .mypage--full {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

/* 태블릿 & 모바일: 기본 패딩만 살짝 */
@media (max-width: 1199.98px) {
  .mypage--full {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}

/* 프로필 블록은 이미 반응형(세로 스택) — 기존 규칙 유지 */

/* ===== MY 페이지: 오른쪽 가터 보정 ===== */
.mypage--right-gutter {
  margin-right: 36px !important;
}
.mypage--right-gutter { margin-right: clamp(12px, 2.5vw, 24px); }
@media (min-width: 992px) {
  .mypage--right-gutter { padding-right: 36px !important; }
}
@media (min-width: 1400px) {
  .mypage--right-gutter { padding-right: 48px !important; }
}

