/* PC 버전 전용 스타일 파일 */
@font-face { 
  font-family: 'KoPubWorld'; 
  src: url('./fonts/KoPubWorld-Dotum-Light.ttf') format('truetype'); 
  font-weight: 300; 
  font-style: normal; 
  font-display: swap; 
}
@font-face { 
  font-family: 'KoPubWorld'; 
  src: url('./fonts/KoPubWorld-Dotum-Medium.ttf') format('truetype'); 
  font-weight: 500; 
  font-style: normal; 
  font-display: swap; 
}
@font-face { 
  font-family: 'KoPubWorld'; 
  src: url('./fonts/KoPubWorld-Dotum-Bold.ttf') format('truetype'); 
  font-weight: 700; 
  font-style: normal; 
  font-display: swap; 
}

* { 
  font-family: 'KoPubWorld', -apple-system, BlinkMacSystemFont, sans-serif; 
}

/* PC 전용 기본 스타일 */
.pc-container {
  min-height: 100vh;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
}

/* ===== 통합 디자인 시스템 ===== */

/* 컨테이너 레이아웃 */
.pc-page-container {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2rem;
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  min-height: calc(100vh - 80px);
}

.pc-page-sidebar {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
  overflow-y: auto;
  height: fit-content;
}

.pc-page-main {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
  overflow-y: auto;
}

/* 네비게이션 스타일 */
.pc-page-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.pc-page-nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-weight: 500;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.pc-page-nav-item:hover {
  background: #f3f4f6;
  color: #374151;
}

.pc-page-nav-item.active {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #dbeafe;
}

.pc-page-nav-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* 카드 스타일 */
.pc-card {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
  margin-bottom: 1.5rem;
}

.pc-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pc-card-subtitle {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 1.5rem;
}

/* 버튼 스타일 */
.pc-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  text-decoration: none;
}

.pc-btn-primary {
  background: #3b82f6;
  color: white;
}

.pc-btn-primary:hover {
  background: #2563eb;
}

.pc-btn-secondary {
  background: #f3f4f6;
  color: #374151;
  border-color: #d1d5db;
}

.pc-btn-secondary:hover {
  background: #e5e7eb;
}

/* 폼 요소 스타일 */
.pc-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  font-size: 0.875rem;
  transition: border-color 0.2s ease;
}

.pc-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.pc-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  font-size: 0.875rem;
  background: white;
  cursor: pointer;
}

/* 그리드 레이아웃 */
.pc-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.pc-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pc-grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

/* 상태 표시 */
.pc-status-success {
  color: #059669;
  background: #ecfdf5;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
}

.pc-status-warning {
  color: #d97706;
  background: #fffbeb;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
}

.pc-status-error {
  color: #dc2626;
  background: #fef2f2;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
}

/* PC 고정 헤더 */
.pc-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid #e5e7eb;
  height: 80px;
}

.pc-header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pc-logo img {
  height: 40px;
}

.pc-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.pc-nav-item {
  color: #1F2937;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
  padding: 0.5rem 0;
  font-size: 1rem;
}

.pc-nav-item:hover {
  color: #2563EB;
}

/* 드롭다운 메뉴 스타일 */
.pc-nav-dropdown {
  position: relative;
}

.pc-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  border: 1px solid #e5e7eb;
}

.pc-nav-dropdown:hover .pc-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.pc-dropdown-item {
  display: block;
  padding: 0.75rem 1rem;
  color: #374151;
  text-decoration: none;
  transition: background-color 0.2s ease;
  border-radius: 0.25rem;
  margin: 0.25rem;
}

.pc-dropdown-item:hover {
  background: #f3f4f6;
  color: #1f2937;
}

.pc-user-menu {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* PC 메인 콘텐츠 */
.pc-main-content {
  margin-top: 80px; /* 헤더 높이만큼 여백 */
  flex: 1;
  overflow-y: auto;
}

/* PC 푸터 */
.pc-footer {
  background: #1F2937;
  color: white;
  padding: 1.5rem 0;
  border-top: 1px solid #374151;
  margin-top: auto;
}

.pc-footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pc-footer-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pc-footer-section h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: #D1D5DB;
  margin: 0 0 0.5rem 0;
}

.pc-footer-section p {
  font-size: 0.75rem;
  color: #9CA3AF;
  margin: 0;
}

.pc-footer-section a {
  color: #9CA3AF;
  text-decoration: none;
  transition: color 0.2s ease;
}

.pc-footer-section a:hover {
  color: #D1D5DB;
}

.pc-footer-copyright {
  text-align: center;
  font-size: 0.75rem;
  color: #6B7280;
  margin-top: 1rem;
}

/* 성경읽기 관련 스타일 */
.pc-bible-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.pc-bible-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
}

.pc-bible-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #3b82f6;
  padding-bottom: 0.5rem;
}

.pc-bible-progress {
  width: 100%;
  height: 8px;
  background: #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.pc-bible-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #1d4ed8);
  border-radius: 4px;
  transition: width 0.3s ease;
}

.pc-bible-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.pc-bible-stat {
  text-align: center;
  padding: 1rem;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.pc-bible-stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e40af;
  margin-bottom: 0.25rem;
}

.pc-bible-stat-label {
  font-size: 0.875rem;
  color: #64748b;
  font-weight: 500;
}

.pc-bible-content {
  margin-bottom: 1.5rem;
}

.pc-bible-content h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.75rem;
}

.pc-bible-content p {
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

/* 성경읽기 모달 스타일 */
.pc-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.pc-modal-content {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.pc-modal-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  justify-content: flex-end;
}

/* 성경읽기 감동 기록 스타일 */
.pc-reflection-item {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 0.75rem;
}

.pc-reflection-item:last-child {
  margin-bottom: 0;
}

/* 배지 스타일 */
.pc-badge {
  text-align: center;
  padding: 1rem;
  border-radius: 12px;
  border: 2px solid;
  transition: all 0.3s ease;
}

.pc-badge.achieved {
  background: #fef3c7;
  border-color: #f59e0b;
  transform: scale(1.05);
}

.pc-badge.not-achieved {
  background: #f9fafb;
  border-color: #d1d5db;
  opacity: 0.7;
}

.pc-badge-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.pc-badge-name {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.pc-badge-description {
  font-size: 0.75rem;
  opacity: 0.8;
}

.pc-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 2rem;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2rem;
  min-height: 100vh;
}

/* 사이드바 */
.pc-sidebar {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  height: fit-content;
  position: sticky;
  top: 2rem;
}

.pc-sidebar-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #f1f5f9;
}

.pc-sidebar-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.pc-sidebar-subtitle {
  font-size: 0.875rem;
  color: #64748b;
}

/* 네비게이션 메뉴 */
.pc-nav-menu {
  margin-bottom: 2rem;
}

.pc-nav-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  margin-bottom: 0.5rem;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s;
  color: #64748b;
  font-weight: 500;
}

.pc-nav-item:hover {
  background: #f8fafc;
  color: #3b82f6;
  transform: translateX(4px);
}

.pc-nav-item.active {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.pc-nav-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 메인 콘텐츠 */
.pc-main-content {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  min-height: calc(100vh - 4rem);
}

.pc-content-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #f1f5f9;
}

.pc-content-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1e293b;
}

.pc-user-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #f8fafc;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  border: 2px solid #e2e8f0;
}

.pc-user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
}

.pc-user-details {
  text-align: left;
}

.pc-user-name {
  font-weight: 600;
  color: #1e293b;
  font-size: 0.875rem;
}

.pc-user-role {
  font-size: 0.75rem;
  color: #64748b;
}

/* PC 헤더 */
.pc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #f1f5f9;
}

/* 탭 콘텐츠 */
.pc-tab-content {
  display: none;
}

.pc-tab-content.active {
  display: block;
}

/* 카드 스타일 */
.pc-card {
  background: #f8fafc;
  border-radius: 16px;
  padding: 2rem;
  border: 2px solid #e2e8f0;
  transition: all 0.3s;
}

.pc-card:hover {
  border-color: #3b82f6;
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.1);
}

.pc-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
}

.pc-card-content {
  font-size: 1rem;
  line-height: 1.6;
  color: #475569;
}

/* 버튼 스타일 */
.pc-btn-primary {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.pc-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.pc-btn-secondary {
  background: #f8fafc;
  color: #475569;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid #e2e8f0;
  cursor: pointer;
  transition: all 0.3s;
}

.pc-btn-secondary:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

/* 폼 스타일 */
.pc-form-group {
  margin-bottom: 2rem;
}

.pc-form-label {
  display: block;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.pc-form-input {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s;
  background: #fafafa;
  box-sizing: border-box;
}

.pc-form-input:focus {
  outline: none;
  border-color: #3b82f6;
  background: white;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.pc-form-select {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 1rem;
  background: #fafafa;
  cursor: pointer;
  transition: all 0.3s;
  box-sizing: border-box;
}

.pc-form-select:focus {
  outline: none;
  border-color: #3b82f6;
  background: white;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* PC 갤러리 그리드 */
.pc-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.pc-gallery-item {
  aspect-ratio: 4/3;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  background: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  position: relative;
}

.pc-gallery-item:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border-color: #3b82f6;
}

/* 필터 버튼 */
.pc-filter-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  border: 2px solid #e5e7eb;
  background: white;
  color: #6b7280;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  margin-right: 0.75rem;
  margin-bottom: 0.75rem;
}

.pc-filter-btn:hover {
  border-color: #3b82f6;
  color: #3b82f6;
  transform: translateY(-1px);
}

.pc-filter-btn.active {
  background: #3b82f6;
  color: white;
  border-color: #3b82f6;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

/* PC 업로드 모달 */
.pc-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.pc-modal-content {
  background: white;
  border-radius: 20px;
  padding: 3rem;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* 사진 뷰어 */
.pc-photo-viewer {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.pc-photo-container {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.pc-photo-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 12px;
}

.pc-photo-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 1rem;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}

.pc-photo-nav:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: translateY(-50%) scale(1.1);
}

.pc-photo-nav.prev {
  left: 2rem;
}

.pc-photo-nav.next {
  right: 2rem;
}

.pc-photo-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 1rem;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}

.pc-photo-close:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: scale(1.1);
}

.pc-photo-counter {
  position: absolute;
  top: 2rem;
  left: 2rem;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
}

/* 캘린더 스타일 */
.pc-calendar-container {
  background: #f8fafc;
  border-radius: 16px;
  padding: 2rem;
  border: 2px solid #e2e8f0;
}

.pc-calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.pc-calendar-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
}

.pc-calendar-nav {
  display: flex;
  gap: 1rem;
}

.pc-calendar-nav-btn {
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: all 0.3s;
}

.pc-calendar-nav-btn:hover {
  border-color: #3b82f6;
  color: #3b82f6;
}

.pc-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
}

.pc-calendar-day {
  background: white;
  padding: 1rem;
  text-align: center;
  font-weight: 500;
  color: #64748b;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.pc-calendar-day-header {
  background: #f1f5f9;
  font-weight: 700;
  color: #475569;
}

.pc-calendar-day.today {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
}

.pc-calendar-day.completed {
  background: #dcfce7;
  color: #166534;
}

.pc-calendar-day.completed::after {
  content: '✓';
  position: absolute;
  top: 0.25rem;
  right: 0.25rem;
  font-size: 0.75rem;
}

/* 통계 스타일 */
.pc-stat-item {
  text-align: center;
  margin-bottom: 1rem;
}

.pc-stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: #3b82f6;
}

.pc-stat-label {
  font-size: 0.875rem;
  color: #64748b;
}

/* 진행률 바 */
.pc-progress {
  background: #e2e8f0;
  border-radius: 10px;
  height: 8px;
  margin-bottom: 1rem;
}

.pc-progress-bar {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  height: 100%;
  border-radius: 10px;
  transition: width 0.3s;
}

/* 유틸리티 클래스 */
.w-full { width: 100%; }
.h-full { height: 100%; }
.flex { display: flex; }
.flex-1 { flex: 1; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }
.border { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-gray-200 { border-color: #e5e7eb; }
.border-gray-300 { border-color: #d1d5db; }
.bg-white { background-color: white; }
.bg-gray-50 { background-color: #f9fafb; }
.bg-gray-100 { background-color: #f3f4f6; }
.bg-gray-200 { background-color: #e5e7eb; }
.bg-blue-50 { background-color: #eff6ff; }
.bg-blue-100 { background-color: #dbeafe; }
.bg-blue-600 { background-color: #2563eb; }
.bg-red-600 { background-color: #dc2626; }
.bg-green-600 { background-color: #16a34a; }
.text-white { color: white; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.text-gray-700 { color: #374151; }
.text-gray-900 { color: #111827; }
.text-blue-600 { color: #2563eb; }
.text-blue-700 { color: #1d4ed8; }
.text-red-600 { color: #dc2626; }
.text-green-600 { color: #16a34a; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }
.top-2 { top: 0.5rem; }
.top-4 { top: 1rem; }
.left-2 { left: 0.5rem; }
.left-4 { left: 1rem; }
.right-2 { right: 0.5rem; }
.right-4 { right: 1rem; }
.top-1\/2 { top: 50%; }
.transform { transform: translateZ(0); }
.-translate-y-1\/2 { transform: translateY(-50%); }
.transition { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.duration-300 { transition-duration: 300ms; }
.ease-in-out { transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
.hover\:bg-gray-100:hover { background-color: #f3f4f6; }
.hover\:bg-gray-200:hover { background-color: #e5e7eb; }
.hover\:text-gray-600:hover { color: #4b5563; }
.hover\:text-gray-700:hover { color: #374151; }
.hover\:border-gray-300:hover { border-color: #d1d5db; }
.hover\:border-blue-500:hover { border-color: #3b82f6; }
.hover\:shadow-lg:hover { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:scale-110:hover { transform: scale(1.1); }
.focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }
.focus\:ring-2:focus { box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5); }
.focus\:ring-blue-500:focus { box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5); }
.cursor-pointer { cursor: pointer; }
.cursor-not-allowed { cursor: not-allowed; }
.select-none { user-select: none; }
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }
.overflow-x-auto { overflow-x: auto; }
.overflow-y-auto { overflow-y: auto; }
.whitespace-nowrap { white-space: nowrap; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.shadow { box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }

/* 반응형 */
@media (max-width: 1024px) {
  .pc-container {
    grid-template-columns: 1fr;
    padding: 1rem;
  }
  
  .pc-sidebar {
    position: static;
    margin-bottom: 1rem;
  }
  
  .pc-gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .pc-content-header {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
  
  .pc-user-info {
    align-self: flex-end;
  }
  
  .pc-gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

/* 캘린더 컨테이너 레이아웃 */
.pc-calendar-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  height: 100%;
}

.pc-calendar-section {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
}

.pc-history-section {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
}

/* 캘린더 헤더 */
.pc-calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #f3f4f6;
}

.pc-calendar-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
}

.pc-calendar-nav {
  display: flex;
  gap: 0.5rem;
}

.pc-calendar-nav-btn {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pc-calendar-nav-btn:hover {
  background: #e2e8f0;
  border-color: #cbd5e1;
}

/* 작은 캘린더 그리드 */
.pc-calendar-grid-small {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
  margin-top: 1rem;
}

.pc-calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.pc-calendar-day-header {
  background: #f8fafc;
  color: #64748b;
  font-weight: 600;
  cursor: default;
  border: none;
}

.pc-calendar-day:hover:not(.pc-calendar-day-header) {
  background: #dbeafe;
  border-color: #3b82f6;
}

.pc-calendar-day.today {
  background: #3b82f6;
  color: white;
  font-weight: 700;
}

.pc-calendar-day.completed {
  background: #dcfce7;
  color: #166534;
  border-color: #22c55e;
}

.pc-calendar-day.selected {
  background: #1e40af;
  color: white;
  font-weight: 700;
  border-color: #1e40af;
}

/* 히스토리 섹션 */
.pc-history-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #f3f4f6;
}

.pc-history-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
}

.pc-selected-date-info {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.pc-selected-date-display h4 {
  margin: 0 0 0.25rem 0;
  color: #1f2937;
}

.pc-selected-date-display p {
  margin: 0;
  color: #6b7280;
}

.pc-history-content {
  max-height: 400px;
  overflow-y: auto;
}

.pc-history-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pc-history-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
}

.pc-history-item:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.pc-history-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.pc-history-content {
  flex: 1;
}

.pc-history-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 0.25rem 0;
}

.pc-history-description {
  font-size: 0.875rem;
  color: #4b5563;
  margin: 0 0 0.25rem 0;
  line-height: 1.4;
}

.pc-history-time {
  font-size: 0.75rem;
  color: #6b7280;
}

/* 히스토리 아이템 타입별 색상 */
.pc-history-item.qt-completed {
  border-left: 4px solid #3b82f6;
}

.pc-history-item.bible-completed {
  border-left: 4px solid #22c55e;
}

.pc-history-item.prayer-record {
  border-left: 4px solid #f59e0b;
}

.pc-history-item.reflection-record {
  border-left: 4px solid #8b5cf6;
}

/* 빈 히스토리 상태 */
.pc-history-empty {
  text-align: center;
  padding: 2rem;
  color: #6b7280;
}

.pc-history-empty-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.pc-history-empty-text {
  font-size: 0.875rem;
  margin: 0;
}

/* 오늘의 감사 스타일 */
.pc-gratitude-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  height: 100%;
}

.pc-gratitude-card {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
}

.pc-gratitude-list-card {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
}

.pc-gratitude-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 0.5rem 0;
}

.pc-gratitude-subtitle {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0 0 1.5rem 0;
}

.pc-gratitude-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pc-gratitude-list {
  max-height: 500px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pc-gratitude-item {
  background: #f8fafc;
  border-radius: 12px;
  padding: 1rem;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
}

.pc-gratitude-item:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.pc-gratitude-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.pc-gratitude-item-category {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
}

.pc-gratitude-item-date {
  font-size: 0.75rem;
  color: #6b7280;
}

.pc-gratitude-item-title {
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 0.5rem 0;
}

.pc-gratitude-item-content {
  font-size: 0.875rem;
  color: #4b5563;
  line-height: 1.5;
  margin: 0 0 1rem 0;
}

.pc-gratitude-item-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
}

.pc-gratitude-edit-btn,
.pc-gratitude-delete-btn {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.375rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.pc-gratitude-edit-btn {
  background: #f0f9ff;
  color: #0369a1;
  border-color: #bae6fd;
}

.pc-gratitude-edit-btn:hover {
  background: #e0f2fe;
  border-color: #7dd3fc;
}

.pc-gratitude-delete-btn {
  background: #fef2f2;
  color: #dc2626;
  border-color: #fecaca;
}

.pc-gratitude-delete-btn:hover {
  background: #fee2e2;
  border-color: #fca5a5;
}

.pc-gratitude-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: #6b7280;
}

.pc-gratitude-empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.pc-gratitude-empty-text {
  font-size: 0.875rem;
  margin: 0;
  line-height: 1.5;
}
