/* 생산팀 대시보드 — Sprint 003 */ .pd-main { max-width: 640px; margin: 0 auto; padding: 16px 16px 80px; } /* 프로필 카드 */ .pd-profile-card { background: linear-gradient(135deg, #9a3412, #ea580c); color: white; border-radius: 16px; padding: 20px; margin-bottom: 16px; position: relative; } .pd-logout-btn { position: absolute; top: 16px; right: 16px; background: rgba(255,255,255,0.2); border: none; border-radius: 50%; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.8); font-size: 14px; cursor: pointer; transition: background 0.15s; } .pd-logout-btn:hover { background: rgba(255,255,255,0.3); color: white; } .pd-profile-header { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; } .pd-avatar { width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; flex-shrink: 0; } .pd-profile-name { font-size: 18px; font-weight: 700; } .pd-profile-sub { font-size: 13px; opacity: 0.8; margin-top: 2px; } /* 현황 카드 */ .pd-stats-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .pd-stat-card { background: rgba(255,255,255,0.15); border-radius: 12px; padding: 14px; backdrop-filter: blur(4px); } .pd-stat-label { font-size: 11px; opacity: 0.8; margin-bottom: 4px; display: flex; align-items: center; gap: 4px; } .pd-stat-value { font-size: 22px; font-weight: 800; } .pd-stat-sub { font-size: 11px; opacity: 0.7; margin-top: 2px; } .pd-progress-bar { height: 5px; border-radius: 3px; background: rgba(255,255,255,0.2); margin-top: 8px; overflow: hidden; } .pd-progress-fill { height: 100%; border-radius: 3px; transition: width 0.6s ease; } .pd-progress-green { background: #4ade80; } .pd-progress-yellow { background: #fbbf24; } .pd-progress-red { background: #f87171; } /* 섹션 */ .pd-section { margin-bottom: 20px; } .pd-section-title { font-size: 12px; font-weight: 700; color: #6b7280; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px; padding-left: 2px; } /* 아이콘 그리드 */ .pd-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; } .pd-grid-item { display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; text-decoration: none; -webkit-tap-highlight-color: transparent; } .pd-grid-item:active .pd-grid-icon { transform: scale(0.93); } .pd-grid-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; color: white; font-size: 20px; transition: transform 0.15s; box-shadow: 0 2px 8px rgba(0,0,0,0.1); } .pd-grid-label { font-size: 11px; text-align: center; color: #374151; line-height: 1.3; max-width: 64px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } /* 스켈레톤 */ .pd-skeleton { background: linear-gradient(90deg, #e5e7eb 25%, #f3f4f6 50%, #e5e7eb 75%); background-size: 200% 100%; animation: pd-shimmer 1.5s infinite; border-radius: 8px; } @keyframes pd-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } } /* 에러 */ .pd-error { text-align: center; padding: 40px 20px; color: #6b7280; } .pd-error i { font-size: 40px; margin-bottom: 12px; color: #d1d5db; } .pd-error-btn { margin-top: 12px; padding: 8px 20px; background: #2563eb; color: white; border: none; border-radius: 8px; font-size: 14px; cursor: pointer; } /* 반응형 */ @media (min-width: 640px) { .pd-grid { grid-template-columns: repeat(6, 1fr); } } @media (min-width: 1024px) { .pd-main { max-width: 800px; } .pd-grid { grid-template-columns: repeat(8, 1fr); } }