Spaces:
Paused
Paused
| :root { | |
| --cb-primary: #1428a0; | |
| --cb-primary-dark: #0f1f7a; | |
| --cb-primary-light: rgba(20, 40, 160, 0.08); | |
| --cb-dark: #1a1a2e; | |
| --cb-navy: #0f3460; | |
| --cb-white: #ffffff; | |
| --cb-gray-50: #f8f9fb; | |
| --cb-gray-100: #f0f2f5; | |
| --cb-gray-200: #e5e5e5; | |
| --cb-gray-300: #d2d2d7; | |
| --cb-gray-400: #86868b; | |
| --cb-gray-500: #6e6e73; | |
| --cb-gray-600: #1d1d1f; | |
| --cb-green: #30d158; | |
| --cb-red: #ff453a; | |
| --cb-orange: #ff9f0a; | |
| --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif; | |
| /* Aliases for template compatibility */ | |
| --apple-blue: var(--cb-primary); | |
| --apple-blue-hover: var(--cb-primary-dark); | |
| --apple-blue-bg: var(--cb-primary-light); | |
| --apple-green: var(--cb-green); | |
| --apple-red: var(--cb-red); | |
| --apple-orange: var(--cb-orange); | |
| --apple-white: var(--cb-white); | |
| --apple-gray-100: var(--cb-gray-100); | |
| --apple-gray-200: var(--cb-gray-200); | |
| --apple-gray-300: var(--cb-gray-300); | |
| --apple-gray-400: var(--cb-gray-400); | |
| --apple-gray-500: var(--cb-gray-500); | |
| --apple-gray-600: var(--cb-gray-600); | |
| --font-sf: var(--font); | |
| } | |
| [data-bs-theme="dark"] { | |
| --cb-white: #1c1c1e; | |
| --cb-gray-50: #1c1c1e; | |
| --cb-gray-100: #2c2c2e; | |
| --cb-gray-200: #38383a; | |
| --cb-gray-300: #48484a; | |
| --cb-gray-400: #98989d; | |
| --cb-gray-500: #a1a1a6; | |
| --cb-gray-600: #f5f5f7; | |
| --cb-dark: #f5f5f7; | |
| --cb-primary-light: rgba(20, 40, 160, 0.2); | |
| --apple-white: var(--cb-white); | |
| --apple-gray-100: var(--cb-gray-100); | |
| --apple-gray-200: var(--cb-gray-200); | |
| --apple-gray-600: var(--cb-gray-600); | |
| } | |
| * { box-sizing: border-box; } | |
| body { | |
| font-family: var(--font); | |
| background: var(--cb-gray-50); | |
| color: var(--cb-gray-600); | |
| -webkit-font-smoothing: antialiased; | |
| margin: 0; | |
| padding: 0; | |
| } | |
| /* ===== TOP NAV (Columbus Boutique style) ===== */ | |
| .top-nav { | |
| background: var(--cb-white); | |
| border-bottom: 1px solid var(--cb-gray-200); | |
| height: 56px; | |
| display: flex; | |
| align-items: center; | |
| padding: 0 24px; | |
| position: sticky; | |
| top: 52px; | |
| z-index: 1010; | |
| } | |
| .top-nav-inner { | |
| max-width: 1400px; | |
| width: 100%; | |
| margin: 0 auto; | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| } | |
| .top-nav-logo { | |
| font-size: 16px; | |
| font-weight: 700; | |
| color: var(--cb-primary); | |
| text-decoration: none; | |
| display: flex; | |
| align-items: center; | |
| gap: 8px; | |
| } | |
| .top-nav-links { | |
| display: flex; | |
| align-items: center; | |
| gap: 2px; | |
| } | |
| .top-nav-link { | |
| font-size: 13px; | |
| font-weight: 500; | |
| color: var(--cb-gray-500); | |
| text-decoration: none; | |
| padding: 8px 16px; | |
| border-radius: 8px; | |
| transition: all 0.2s ease; | |
| } | |
| .top-nav-link:hover { | |
| color: var(--cb-primary); | |
| background: var(--cb-primary-light); | |
| } | |
| .top-nav-link.active { | |
| color: var(--cb-primary); | |
| background: var(--cb-primary-light); | |
| font-weight: 600; | |
| } | |
| .top-nav-right { | |
| display: flex; | |
| align-items: center; | |
| gap: 12px; | |
| } | |
| .top-nav-user { | |
| font-size: 13px; | |
| font-weight: 500; | |
| color: var(--cb-gray-500); | |
| } | |
| /* ===== MAIN CONTENT ===== */ | |
| .main-content { | |
| max-width: 1400px; | |
| margin: 0 auto; | |
| padding: 32px 24px 40px; | |
| } | |
| /* ===== HERO ===== */ | |
| .hero-section { | |
| text-align: center; | |
| padding: 32px 0 24px; | |
| } | |
| .hero-title { | |
| font-size: 36px; | |
| font-weight: 700; | |
| color: var(--cb-dark); | |
| margin-bottom: 6px; | |
| line-height: 1.15; | |
| } | |
| .hero-subtitle { | |
| font-size: 16px; | |
| font-weight: 400; | |
| color: var(--cb-gray-400); | |
| margin-bottom: 0; | |
| } | |
| /* ===== SECTION ===== */ | |
| .section-title { | |
| font-size: 20px; | |
| font-weight: 700; | |
| color: var(--cb-dark); | |
| margin-bottom: 16px; | |
| display: flex; | |
| align-items: center; | |
| gap: 8px; | |
| } | |
| .section-subtitle { | |
| font-size: 13px; | |
| color: var(--cb-gray-400); | |
| font-weight: 400; | |
| } | |
| /* ===== STATS ROW ===== */ | |
| .stats-row { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); | |
| gap: 16px; | |
| margin-bottom: 32px; | |
| } | |
| .stat-item { | |
| background: var(--cb-white); | |
| border-radius: 14px; | |
| padding: 20px 24px; | |
| text-align: center; | |
| transition: all 0.3s ease; | |
| border: 1px solid var(--cb-gray-200); | |
| box-shadow: 0 1px 4px rgba(0,0,0,0.04); | |
| } | |
| .stat-item:hover { | |
| transform: translateY(-3px); | |
| box-shadow: 0 8px 24px rgba(20, 40, 160, 0.08); | |
| border-color: var(--cb-primary); | |
| } | |
| .stat-value { | |
| font-size: 32px; | |
| font-weight: 700; | |
| line-height: 1; | |
| margin-bottom: 4px; | |
| color: var(--cb-primary); | |
| } | |
| .stat-label { | |
| font-size: 12px; | |
| font-weight: 500; | |
| color: var(--cb-gray-400); | |
| text-transform: uppercase; | |
| letter-spacing: 0.5px; | |
| } | |
| /* ===== EMPLOYEE KPI TABLE ===== */ | |
| .kpi-employee-table th.kpi-col, | |
| .kpi-employee-table td.kpi-col { | |
| text-align: center; | |
| min-width: 100px; | |
| } | |
| .kpi-employee-table tbody tr { | |
| cursor: pointer; | |
| transition: background 0.15s ease; | |
| } | |
| .kpi-employee-table tbody tr:hover { | |
| background: var(--cb-primary-light); | |
| } | |
| .kpi-employee-cell { | |
| display: flex; | |
| align-items: center; | |
| gap: 10px; | |
| } | |
| .kpi-employee-avatar { | |
| width: 32px; | |
| height: 32px; | |
| border-radius: 50%; | |
| background: linear-gradient(135deg, var(--cb-primary), var(--cb-navy)); | |
| color: white; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| font-weight: 600; | |
| font-size: 13px; | |
| flex-shrink: 0; | |
| } | |
| .kpi-employee-name { | |
| font-size: 14px; | |
| font-weight: 600; | |
| line-height: 1.2; | |
| } | |
| .kpi-employee-role { | |
| font-size: 11px; | |
| color: var(--cb-gray-400); | |
| font-weight: 500; | |
| line-height: 1.2; | |
| margin-top: 1px; | |
| } | |
| .kpi-cell-value { | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| gap: 8px; | |
| } | |
| .kpi-cell-raw { | |
| font-weight: 500; | |
| font-size: 13px; | |
| white-space: nowrap; | |
| } | |
| .kpi-cell-empty { | |
| color: var(--cb-gray-300); | |
| font-size: 14px; | |
| } | |
| .kpi-pct-badge { | |
| display: inline-block; | |
| font-size: 11px; | |
| font-weight: 700; | |
| padding: 2px 7px; | |
| border-radius: 6px; | |
| white-space: nowrap; | |
| } | |
| .kpi-pct-badge.good { | |
| background: rgba(48, 209, 88, 0.12); | |
| color: var(--cb-green); | |
| } | |
| .kpi-pct-badge.ok { | |
| background: rgba(255, 159, 10, 0.12); | |
| color: var(--cb-orange); | |
| } | |
| .kpi-pct-badge.bad { | |
| background: rgba(255, 69, 58, 0.12); | |
| color: var(--cb-red); | |
| } | |
| /* ===== EMPLOYEE PROFILE HEADER ===== */ | |
| .profile-header { | |
| display: flex; | |
| align-items: center; | |
| gap: 20px; | |
| padding: 24px 0; | |
| margin-bottom: 28px; | |
| border-bottom: 1px solid var(--cb-gray-200); | |
| } | |
| .profile-avatar { | |
| width: 64px; | |
| height: 64px; | |
| border-radius: 50%; | |
| background: linear-gradient(135deg, var(--cb-primary), var(--cb-navy)); | |
| color: white; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| font-weight: 600; | |
| font-size: 26px; | |
| flex-shrink: 0; | |
| } | |
| .profile-name { | |
| font-size: 28px; | |
| font-weight: 700; | |
| margin-bottom: 4px; | |
| } | |
| .profile-meta { | |
| font-size: 14px; | |
| color: var(--cb-gray-400); | |
| font-weight: 500; | |
| } | |
| /* ===== EMPLOYEE LAYOUT ===== */ | |
| .employee-layout { | |
| display: flex; | |
| gap: 24px; | |
| align-items: flex-start; | |
| } | |
| .emp-sidebar { | |
| width: 240px; | |
| flex-shrink: 0; | |
| background: var(--cb-white); | |
| border-radius: 14px; | |
| border: 1px solid var(--cb-gray-200); | |
| padding: 24px 16px; | |
| position: sticky; | |
| top: 120px; | |
| box-shadow: 0 1px 4px rgba(0,0,0,0.04); | |
| } | |
| .emp-sidebar-header { | |
| text-align: center; | |
| margin-bottom: 20px; | |
| padding-bottom: 16px; | |
| border-bottom: 1px solid var(--cb-gray-200); | |
| } | |
| .emp-avatar-wrap { | |
| width: 80px; | |
| height: 80px; | |
| margin: 0 auto 12px; | |
| border-radius: 50%; | |
| overflow: hidden; | |
| border: 3px solid var(--cb-primary); | |
| } | |
| .emp-avatar-img { | |
| width: 100%; | |
| height: 100%; | |
| object-fit: cover; | |
| } | |
| .emp-avatar-letter { | |
| width: 100%; | |
| height: 100%; | |
| background: linear-gradient(135deg, var(--cb-primary), var(--cb-navy)); | |
| color: white; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| font-weight: 600; | |
| font-size: 28px; | |
| } | |
| .emp-sidebar-name { | |
| font-size: 16px; | |
| font-weight: 700; | |
| margin-bottom: 2px; | |
| } | |
| .emp-sidebar-role { | |
| font-size: 12px; | |
| color: var(--cb-gray-400); | |
| font-weight: 500; | |
| } | |
| .emp-photo-btn { | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 4px; | |
| font-size: 12px; | |
| color: var(--cb-primary); | |
| cursor: pointer; | |
| padding: 4px 12px; | |
| border-radius: 6px; | |
| border: 1px solid var(--cb-primary); | |
| background: transparent; | |
| transition: all 0.2s; | |
| } | |
| .emp-photo-btn:hover { | |
| background: var(--cb-primary-light); | |
| } | |
| .emp-tabs { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 4px; | |
| margin-bottom: 20px; | |
| padding-bottom: 20px; | |
| border-bottom: 1px solid var(--cb-gray-200); | |
| } | |
| .emp-tab { | |
| display: flex; | |
| align-items: center; | |
| gap: 10px; | |
| padding: 12px 16px; | |
| border-radius: 8px; | |
| font-size: 13px; | |
| font-weight: 500; | |
| color: var(--cb-gray-500); | |
| text-decoration: none; | |
| transition: all 0.15s; | |
| line-height: 1.3; | |
| overflow: hidden; | |
| } | |
| .emp-tab:hover { | |
| background: var(--cb-primary-light); | |
| color: var(--cb-primary); | |
| } | |
| .emp-tab.active { | |
| background: var(--cb-primary-light); | |
| color: var(--cb-primary); | |
| font-weight: 600; | |
| } | |
| .emp-tab i { font-size: 16px; } | |
| .emp-sidebar-stats { | |
| text-align: center; | |
| } | |
| .emp-stat-val { | |
| font-size: 24px; | |
| font-weight: 700; | |
| color: var(--cb-primary); | |
| display: block; | |
| } | |
| .emp-stat-label { | |
| font-size: 11px; | |
| color: var(--cb-gray-400); | |
| text-transform: uppercase; | |
| letter-spacing: 0.5px; | |
| } | |
| .emp-content { | |
| flex: 1; | |
| min-width: 0; | |
| } | |
| .emp-tab-content { | |
| display: none; | |
| } | |
| .emp-tab-content.active { | |
| display: block; | |
| } | |
| .emp-tab-title { | |
| font-size: 22px; | |
| font-weight: 700; | |
| margin-bottom: 16px; | |
| } | |
| @media (max-width: 768px) { | |
| .employee-layout { flex-direction: column; } | |
| .emp-sidebar { width: 100%; position: static; } | |
| .emp-tabs { flex-direction: row; flex-wrap: wrap; } | |
| .emp-tab { flex: 1; justify-content: center; font-size: 12px; padding: 8px 10px; } | |
| .emp-tab i { display: none; } | |
| } | |
| /* ===== KPI DETAIL CARD ===== */ | |
| .kpi-detail-card { | |
| background: var(--cb-white); | |
| border-radius: 14px; | |
| padding: 24px; | |
| border: 1px solid var(--cb-gray-200); | |
| transition: all 0.3s ease; | |
| box-shadow: 0 1px 4px rgba(0,0,0,0.04); | |
| } | |
| .kpi-detail-card:hover { | |
| box-shadow: 0 8px 24px rgba(20, 40, 160, 0.08); | |
| border-color: var(--cb-primary); | |
| } | |
| .kpi-detail-header { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: flex-start; | |
| margin-bottom: 16px; | |
| } | |
| .kpi-detail-name { | |
| font-size: 18px; | |
| font-weight: 600; | |
| } | |
| .kpi-detail-target { | |
| font-size: 13px; | |
| color: var(--cb-gray-400); | |
| font-weight: 500; | |
| } | |
| .kpi-detail-current { | |
| font-size: 36px; | |
| font-weight: 700; | |
| line-height: 1; | |
| margin-bottom: 8px; | |
| color: var(--cb-primary); | |
| } | |
| .kpi-monthly-grid { | |
| display: grid; | |
| grid-template-columns: repeat(12, 1fr); | |
| gap: 6px; | |
| margin-top: 16px; | |
| } | |
| .kpi-month-bar { | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| gap: 4px; | |
| } | |
| .kpi-month-value { | |
| font-size: 12px; | |
| font-weight: 600; | |
| } | |
| .kpi-month-label { | |
| font-size: 10px; | |
| color: var(--cb-gray-400); | |
| font-weight: 500; | |
| text-transform: uppercase; | |
| } | |
| .month-bar { | |
| width: 100%; | |
| border-radius: 4px; | |
| min-height: 4px; | |
| transition: height 0.3s ease; | |
| background: var(--cb-primary); | |
| } | |
| /* ===== HISTORY TIMELINE ===== */ | |
| .history-section { | |
| margin-top: 32px; | |
| } | |
| .history-item { | |
| display: flex; | |
| align-items: center; | |
| gap: 16px; | |
| padding: 14px 0; | |
| border-bottom: 1px solid var(--cb-gray-200); | |
| } | |
| .history-period { | |
| font-size: 14px; | |
| font-weight: 600; | |
| min-width: 80px; | |
| color: var(--cb-gray-400); | |
| } | |
| .history-value { | |
| font-size: 18px; | |
| font-weight: 700; | |
| min-width: 60px; | |
| } | |
| .history-change { | |
| font-size: 13px; | |
| font-weight: 600; | |
| display: flex; | |
| align-items: center; | |
| gap: 4px; | |
| } | |
| .history-change.up { color: var(--cb-green); } | |
| .history-change.down { color: var(--cb-red); } | |
| /* ===== TABLE ===== */ | |
| .apple-table { | |
| width: 100%; | |
| border-collapse: separate; | |
| border-spacing: 0; | |
| } | |
| .apple-table th { | |
| font-size: 11px; | |
| font-weight: 600; | |
| text-transform: uppercase; | |
| letter-spacing: 0.5px; | |
| color: var(--cb-gray-400); | |
| padding: 12px 16px; | |
| text-align: left; | |
| border-bottom: 1px solid var(--cb-gray-200); | |
| } | |
| .apple-table td { | |
| padding: 12px 16px; | |
| border-bottom: 1px solid var(--cb-gray-200); | |
| font-size: 14px; | |
| } | |
| .apple-table tr:last-child td { border-bottom: none; } | |
| .apple-table tr:hover td { background: var(--cb-primary-light); } | |
| /* ===== CARD ===== */ | |
| .apple-card { | |
| background: var(--cb-white); | |
| border-radius: 14px; | |
| border: 1px solid var(--cb-gray-200); | |
| transition: all 0.3s ease; | |
| box-shadow: 0 1px 4px rgba(0,0,0,0.04); | |
| } | |
| .apple-card:hover { | |
| box-shadow: 0 8px 24px rgba(20, 40, 160, 0.08); | |
| } | |
| .apple-card-header { | |
| padding: 20px 24px 0; | |
| font-size: 18px; | |
| font-weight: 600; | |
| } | |
| .apple-card-body { | |
| padding: 20px 24px; | |
| } | |
| /* ===== BUTTONS ===== */ | |
| .btn-apple { | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 6px; | |
| background: var(--cb-primary); | |
| color: white; | |
| border: none; | |
| border-radius: 50px; | |
| padding: 8px 20px; | |
| font-size: 14px; | |
| font-weight: 500; | |
| font-family: var(--font); | |
| cursor: pointer; | |
| transition: all 0.2s ease; | |
| text-decoration: none; | |
| } | |
| .btn-apple:hover { | |
| background: var(--cb-primary-dark); | |
| color: white; | |
| transform: translateY(-1px); | |
| box-shadow: 0 4px 12px rgba(20, 40, 160, 0.25); | |
| } | |
| .btn-apple-outline { | |
| background: transparent; | |
| color: var(--cb-primary); | |
| border: 1px solid var(--cb-primary); | |
| } | |
| .btn-apple-outline:hover { | |
| background: var(--cb-primary-light); | |
| color: var(--cb-primary); | |
| box-shadow: none; | |
| } | |
| .btn-apple-ghost { | |
| background: transparent; | |
| color: var(--cb-gray-500); | |
| border: 1px solid var(--cb-gray-200); | |
| } | |
| .btn-apple-ghost:hover { | |
| background: var(--cb-gray-100); | |
| color: var(--cb-gray-600); | |
| box-shadow: none; | |
| } | |
| .btn-apple-sm { | |
| padding: 5px 14px; | |
| font-size: 12px; | |
| } | |
| /* ===== BADGE ===== */ | |
| .badge-apple { | |
| display: inline-flex; | |
| align-items: center; | |
| font-size: 12px; | |
| font-weight: 500; | |
| padding: 3px 10px; | |
| border-radius: 50px; | |
| } | |
| .badge-apple.green { background: rgba(48, 209, 88, 0.12); color: #248a3d; } | |
| .badge-apple.red { background: rgba(255, 69, 58, 0.12); color: #cc3a30; } | |
| .badge-apple.orange { background: rgba(255, 159, 10, 0.12); color: #cc7a08; } | |
| .badge-apple.blue { background: var(--cb-primary-light); color: var(--cb-primary); } | |
| .badge-apple.gray { background: var(--cb-gray-100); color: var(--cb-gray-400); } | |
| /* ===== PROGRESS BAR ===== */ | |
| .progress-apple { | |
| height: 4px; | |
| border-radius: 4px; | |
| background: var(--cb-gray-200); | |
| overflow: hidden; | |
| } | |
| .progress-apple-bar { | |
| height: 100%; | |
| border-radius: 4px; | |
| transition: width 0.5s ease; | |
| background: var(--cb-primary); | |
| } | |
| /* ===== FORM ===== */ | |
| .form-apple { | |
| border: 1px solid var(--cb-gray-200); | |
| border-radius: 10px; | |
| padding: 10px 14px; | |
| font-size: 14px; | |
| font-family: var(--font); | |
| background: var(--cb-white); | |
| transition: all 0.2s ease; | |
| width: 100%; | |
| } | |
| .form-apple:focus { | |
| border-color: var(--cb-primary); | |
| box-shadow: 0 0 0 3px var(--cb-primary-light); | |
| outline: none; | |
| } | |
| /* ===== DROPDOWN ===== */ | |
| .dropdown-apple { | |
| border-radius: 12px; | |
| border: 1px solid var(--cb-gray-200); | |
| box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08); | |
| padding: 6px; | |
| background: var(--cb-white); | |
| } | |
| .dropdown-apple .dropdown-item { | |
| border-radius: 8px; | |
| padding: 8px 12px; | |
| font-size: 13px; | |
| } | |
| .dropdown-apple .dropdown-item:hover { | |
| background: var(--cb-primary-light); | |
| color: var(--cb-primary); | |
| } | |
| /* ===== ALERT ===== */ | |
| .alert-apple { | |
| border-radius: 12px; | |
| border: none; | |
| font-size: 14px; | |
| padding: 14px 18px; | |
| } | |
| .alert-apple.success { background: rgba(48, 209, 88, 0.12); color: #248a3d; } | |
| .alert-apple.danger { background: rgba(255, 69, 58, 0.12); color: #cc3a30; } | |
| .alert-apple.info { background: var(--cb-primary-light); color: var(--cb-primary); } | |
| .alert-apple.warning { background: rgba(255, 159, 10, 0.12); color: #cc7a08; } | |
| /* ===== RANKING LIST ===== */ | |
| .ranking-list { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 8px; | |
| } | |
| .ranking-item { | |
| display: flex; | |
| align-items: center; | |
| gap: 16px; | |
| background: var(--cb-white); | |
| border-radius: 14px; | |
| padding: 16px 20px; | |
| border: 1px solid var(--cb-gray-200); | |
| transition: all 0.3s ease; | |
| cursor: pointer; | |
| text-decoration: none; | |
| color: inherit; | |
| box-shadow: 0 1px 4px rgba(0,0,0,0.04); | |
| } | |
| .ranking-item:hover { | |
| transform: translateX(4px); | |
| border-color: var(--cb-primary); | |
| box-shadow: 0 4px 16px rgba(20, 40, 160, 0.1); | |
| color: inherit; | |
| } | |
| .ranking-pos { | |
| font-size: 20px; | |
| font-weight: 700; | |
| min-width: 36px; | |
| text-align: center; | |
| } | |
| .ranking-pos.gold { color: #f5a623; } | |
| .ranking-pos.silver { color: #8e8e93; } | |
| .ranking-pos.bronze { color: #cd7f32; } | |
| .ranking-info { flex: 1; } | |
| .ranking-name { | |
| font-size: 15px; | |
| font-weight: 600; | |
| } | |
| .ranking-role { | |
| font-size: 12px; | |
| color: var(--cb-gray-400); | |
| } | |
| .ranking-score { text-align: right; } | |
| .ranking-score-value { | |
| font-size: 22px; | |
| font-weight: 700; | |
| } | |
| .ranking-score-label { | |
| font-size: 11px; | |
| color: var(--cb-gray-400); | |
| text-transform: uppercase; | |
| letter-spacing: 0.5px; | |
| } | |
| /* ===== CB TOPBAR ===== */ | |
| .cb-topbar { | |
| background: #fff; | |
| border-bottom: 1px solid var(--cb-gray-200); | |
| position: sticky; | |
| top: 0; | |
| z-index: 1020; | |
| } | |
| .cb-topbar-inner { | |
| max-width: 1400px; | |
| margin: 0 auto; | |
| padding: 0 24px; | |
| display: flex; | |
| align-items: center; | |
| height: 52px; | |
| gap: 12px; | |
| } | |
| .cb-logo { | |
| display: flex; | |
| align-items: center; | |
| gap: 8px; | |
| text-decoration: none; | |
| color: #222; | |
| font-size: 14px; | |
| font-weight: 700; | |
| letter-spacing: 0.5px; | |
| } | |
| .cb-logo-img { | |
| width: 28px; | |
| height: 28px; | |
| border-radius: 50%; | |
| object-fit: cover; | |
| flex-shrink: 0; | |
| } | |
| .cb-nav { | |
| display: flex; | |
| gap: 0; | |
| margin-left: 24px; | |
| } | |
| .cb-nav a { | |
| display: block; | |
| padding: 14px 14px; | |
| font-size: 13px; | |
| font-weight: 500; | |
| color: #555; | |
| text-decoration: none; | |
| transition: color 0.2s; | |
| white-space: nowrap; | |
| } | |
| .cb-nav a:hover { color: var(--cb-primary); } | |
| .cb-nav a.cb-active { color: var(--cb-primary); font-weight: 600; } | |
| .cb-badge { | |
| display: inline-block; | |
| background: var(--cb-primary); | |
| color: #fff; | |
| padding: 2px 8px; | |
| border-radius: 10px; | |
| font-size: 10px; | |
| font-weight: 600; | |
| margin-left: 4px; | |
| } | |
| /* ===== ANIMATIONS ===== */ | |
| /* ===== RESPONSIVE ===== */ | |
| @media (max-width: 768px) { | |
| .hero-title { font-size: 28px; } | |
| .hero-subtitle { font-size: 15px; } | |
| .stats-row { grid-template-columns: repeat(2, 1fr); } | |
| .top-nav-links { display: none; } | |
| .top-nav { top: 52px; } | |
| .top-nav .top-nav-right { display: none; } | |
| .profile-header { flex-direction: column; text-align: center; } | |
| .main-content { padding: 24px 16px; } | |
| .profile-name { font-size: 22px; } | |
| .cb-nav { display: none; } | |
| .cb-topbar-inner { height: 48px; } | |
| } | |
| @media (max-width: 480px) { | |
| .stats-row { grid-template-columns: 1fr; } | |
| } | |
| /* ===== CB TOPBAR RIGHT ===== */ | |
| .cb-topbar-right { display: flex; align-items: center; gap: 8px; margin-left: auto; } | |
| .cb-hamburger { background: none; border: none; cursor: pointer; padding: 8px; border-radius: 50%; display: none; align-items: center; justify-content: center; transition: background 0.2s; } | |
| .cb-hamburger:hover { background: var(--cb-gray-100); } | |
| .cb-hamburger svg { width: 24px; height: 24px; fill: #555; } | |
| .cb-avatar { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, var(--cb-primary), var(--cb-navy)); color: white; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 12px; flex-shrink: 0; } | |
| .cb-user-dropdown { display: flex; align-items: center; gap: 8px; text-decoration: none; color: inherit; } | |
| .cb-user-dropdown:hover { text-decoration: none; color: inherit; } | |
| .cb-user-name { font-size: 13px; font-weight: 500; color: var(--cb-gray-500); } | |
| /* ===== MOBILE RESPONSIVE ===== */ | |
| @media (max-width: 768px) { | |
| .cb-nav { display: none; } | |
| .cb-hamburger { display: inline-flex; } | |
| .cb-topbar-inner { padding: 0 12px; } | |
| } | |
| /* ===== MOBILE MENU ===== */ | |
| .cb-mobile-menu { display: none; position: fixed; inset: 0; background: #fff; z-index: 2000; flex-direction: column; } | |
| .cb-mobile-menu.open { display: flex; } | |
| .cb-mobile-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 24px; border-bottom: 1px solid var(--cb-gray-200); } | |
| .cb-mobile-close { background: none; border: none; font-size: 28px; cursor: pointer; padding: 4px; line-height: 1; color: #222; } | |
| .cb-mobile-nav { padding: 24px; flex: 1; } | |
| .cb-mobile-link { display: block; padding: 16px 0; font-size: 16px; font-weight: 500; color: #222; text-decoration: none; border-bottom: 1px solid var(--cb-gray-100); transition: color 0.2s; } | |
| .cb-mobile-link:hover { color: var(--cb-primary); } | |
| .cb-mobile-divider { height: 1px; background: var(--cb-gray-200); margin: 16px 0; } | |
| /* ===== FOOTER ===== */ | |
| .cb-footer { background: #111; color: #999; padding: 24px; margin-top: 40px; } | |
| .cb-footer-inner { max-width: 1400px; margin: 0 auto; } | |
| .cb-footer-bottom { border-top: 1px solid #333; padding-top: 24px; display: flex; justify-content: space-between; font-size: 12px; } | |
| /* ===== FLASH WRAP ===== */ | |
| .flash-wrap { max-width: 1400px; margin: 0 auto; padding: 12px 24px 0; } | |
| /* ===== LANDING PAGE ===== */ | |
| .landing-hero { | |
| background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%); | |
| color: #fff; | |
| padding: 80px 24px; | |
| text-align: center; | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .landing-hero::before { | |
| content: ''; | |
| position: absolute; | |
| inset: 0; | |
| background: url('../img/boutique-logo.webp') center/cover no-repeat; | |
| opacity: 0.05; | |
| } | |
| .landing-hero-inner { | |
| position: relative; | |
| max-width: 1400px; | |
| margin: 0 auto; | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| gap: 16px; | |
| } | |
| .landing-hero-logo { | |
| width: 100px; | |
| height: 100px; | |
| border-radius: 50%; | |
| border: 3px solid rgba(255,255,255,0.2); | |
| overflow: hidden; | |
| box-shadow: 0 8px 32px rgba(0,0,0,0.3); | |
| margin-bottom: 8px; | |
| } | |
| .landing-hero-logo img { width: 100%; height: 100%; object-fit: cover; } | |
| .landing-hero h1 { font-size: 42px; font-weight: 700; margin-bottom: 4px; } | |
| .landing-hero p { font-size: 16px; opacity: 0.7; max-width: 500px; line-height: 1.6; margin-bottom: 24px; } | |
| .landing-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; } | |
| .landing-btn { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: #000; padding: 10px 28px; border-radius: 50px; font-weight: 600; font-size: 14px; text-decoration: none; transition: all 0.2s; } | |
| .landing-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); color: #000; } | |
| .landing-btn-outline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.4); } | |
| .landing-btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; color: #fff; } | |
| .landing-section { max-width: 1400px; margin: 0 auto; padding: 48px 24px; } | |
| .landing-team { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin-top: 24px; } | |
| .landing-team-card { text-align: center; padding: 24px; border-radius: 16px; background: var(--cb-white); border: 1px solid var(--cb-gray-200); min-width: 200px; } | |
| .landing-team-avatar { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--cb-primary), var(--cb-navy)); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 22px; margin: 0 auto 12px; } | |
| .landing-team-name { font-weight: 600; font-size: 15px; } | |
| .landing-team-role { font-size: 12px; color: var(--cb-gray-400); margin-top: 2px; } | |
| /* ===== SCHEDULE PAGE ===== */ | |
| .schedule-hero { background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%); color: #fff; padding: 48px 24px 40px; position: relative; overflow: hidden; } | |
| .schedule-hero::before { content: ''; position: absolute; inset: 0; background: url('../img/boutique-logo.webp') center/cover no-repeat; opacity: 0.08; filter: blur(2px); } | |
| .schedule-hero-inner { max-width: 1400px; margin: 0 auto; display: flex; align-items: center; gap: 40px; position: relative; z-index: 1; } | |
| .schedule-hero-img { flex-shrink: 0; width: 180px; height: 180px; border-radius: 50%; overflow: hidden; border: 4px solid rgba(255,255,255,0.2); box-shadow: 0 8px 32px rgba(0,0,0,0.3); } | |
| .schedule-hero-img img { width: 100%; height: 100%; object-fit: cover; } | |
| .schedule-hero-text h1 { font-size: 36px; font-weight: 700; margin-bottom: 6px; } | |
| .schedule-hero-text p { font-size: 15px; opacity: 0.75; max-width: 500px; line-height: 1.6; } | |
| .schedule-hero-stats { display: flex; gap: 32px; margin-top: 16px; } | |
| .schedule-hero-stat { text-align: center; } | |
| .schedule-hero-stat-val { font-size: 24px; font-weight: 700; } | |
| .schedule-hero-stat-label { font-size: 11px; opacity: 0.6; text-transform: uppercase; letter-spacing: 1px; } | |
| .schedule-main { max-width: 1400px; margin: 0 auto; padding: 24px; } | |
| .schedule-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-bottom: 20px; } | |
| .schedule-metric { background: var(--cb-white); border-radius: 12px; padding: 14px 16px; box-shadow: 0 1px 6px rgba(0,0,0,0.05); border-left: 4px solid var(--cb-primary); } | |
| .schedule-metric-label { font-size: 11px; color: #888; text-transform: uppercase; letter-spacing: 0.5px; } | |
| .schedule-metric-val { font-size: 22px; font-weight: 700; color: #1a1a2e; } | |
| .schedule-metric-sub { font-size: 12px; color: #999; margin-top: 2px; } | |
| .schedule-legend { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0; font-size: 11px; align-items: center; } | |
| .schedule-legend-item { display: flex; align-items: center; gap: 4px; } | |
| .schedule-legend-dot { width: 14px; height: 14px; border-radius: 4px; border: 1px solid #ddd; } | |
| .schedule-table-wrap { overflow-x: auto; background: var(--cb-white); border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,0.08); padding: 8px; } | |
| .schedule-table { border-collapse: collapse; font-size: 11px; min-width: 100%; } | |
| .schedule-table th, .schedule-table td { border: 1px solid #e0e0e0; padding: 4px 2px; text-align: center; white-space: nowrap; } | |
| .schedule-table th { background: #1a1a2e; color: #fff; font-weight: 600; position: sticky; top: 0; z-index: 2; font-size: 10px; } | |
| .schedule-table th:first-child { background: #16213e; min-width: 75px; text-align: left; padding-left: 8px; } | |
| .schedule-table td:first-child { font-weight: 600; text-align: left; padding-left: 8px; background: #f8f9fa; font-size: 11px; } | |
| .schedule-table td:first-child:hover { outline: 2px dashed var(--cb-primary); outline-offset: -2px; } | |
| .schedule-table tr:nth-child(even) td:first-child { background: #eef0f4; } | |
| .schedule-table tr:nth-child(even) { background: #fafbfc; } | |
| .schedule-table tr:hover { background: #eef5ff; } | |
| .schedule-table th.weekend { background: #2d3436; color: #ffd93d; } | |
| .schedule-table td.weekend { background: #fff9e6; } | |
| .shift-9utro { background: #c8e6c9; color: #1b5e20; } | |
| .shift-9vecher { background: #b3e5fc; color: #01579b; } | |
| .shift-12 { background: #ffcdd2; color: #b71c1c; font-weight: 700; } | |
| .shift-11 { background: #ffe0b2; color: #e65100; font-weight: 600; } | |
| .shift-10 { background: #e1bee7; color: #4a148c; } | |
| .shift-off { background: #f5f5f5; color: #ccc; } | |
| .schedule-total-row td { background: #1a1a2e; color: #fff; font-weight: 600; padding: 5px 2px; font-size: 10px; } | |
| .schedule-total-row td:first-child { background: #16213e; } | |
| .schedule-summary { margin-top: 15px; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; } | |
| .schedule-summary-card { background: var(--cb-white); border-radius: 10px; padding: 10px 12px; box-shadow: 0 1px 6px rgba(0,0,0,0.06); border-top: 3px solid var(--cb-primary); } | |
| .schedule-summary-card .name { font-weight: 600; color: #1a1a2e; font-size: 12px; } | |
| .schedule-summary-card .stat { color: #666; font-size: 11px; margin-top: 3px; } | |
| .schedule-summary-card .stat span { color: #1a1a2e; font-weight: 600; } | |
| /* ===== SCHEDULE TOP BAR ===== */ | |
| .schedule-top-bar { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| flex-wrap: wrap; | |
| gap: 8px; | |
| margin-bottom: 16px; | |
| } | |
| .schedule-month-nav { | |
| display: flex; | |
| align-items: center; | |
| gap: 8px; | |
| } | |
| .btn-month-nav { | |
| display: inline-flex; | |
| align-items: center; | |
| padding: 6px 14px; | |
| font-size: 13px; | |
| font-weight: 500; | |
| color: var(--cb-primary); | |
| background: var(--cb-white); | |
| border: 1px solid var(--cb-gray-200); | |
| border-radius: 8px; | |
| text-decoration: none; | |
| transition: all 0.2s; | |
| } | |
| .btn-month-nav:hover { | |
| background: var(--cb-primary-light); | |
| border-color: var(--cb-primary); | |
| color: var(--cb-primary); | |
| text-decoration: none; | |
| } | |
| .schedule-month-select { | |
| font-size: 14px; | |
| font-weight: 600; | |
| padding: 6px 12px; | |
| border: 1px solid var(--cb-gray-200); | |
| border-radius: 8px; | |
| background: var(--cb-white); | |
| color: var(--cb-gray-600); | |
| cursor: pointer; | |
| } | |
| [data-bs-theme="dark"] .schedule-month-select { | |
| background: #2c2c2e; | |
| border-color: #38383a; | |
| color: #e5e5e7; | |
| } | |
| /* Schedule cell */ | |
| .s-cell { | |
| cursor: default; | |
| transition: background 0.15s; | |
| vertical-align: middle; | |
| padding: 4px 3px ; | |
| font-size: 11px; | |
| position: relative; | |
| } | |
| .s-cell.editable { | |
| cursor: pointer; | |
| } | |
| .s-cell.editable:hover { | |
| outline: 2px solid var(--cb-primary); | |
| outline-offset: -2px; | |
| z-index: 1; | |
| position: relative; | |
| } | |
| .cell-inner { | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| gap: 1px; | |
| min-height: 28px; | |
| justify-content: center; | |
| } | |
| .cell-employee-name { | |
| font-weight: 600; | |
| text-align: left; | |
| padding-left: 8px ; | |
| background: #f8f9fa; | |
| font-size: 11px; | |
| min-width: 80px; | |
| } | |
| [data-bs-theme="dark"] .cell-employee-name { | |
| background: #2c2c2e; | |
| color: #f5f5f7; | |
| } | |
| .shift-display { | |
| font-weight: 600; | |
| line-height: 1.2; | |
| } | |
| .shift-work { | |
| color: #1b5e20; | |
| font-size: 10px; | |
| } | |
| .shift-hours { | |
| font-size: 9px; | |
| color: #666; | |
| font-weight: 500; | |
| } | |
| .shift-empty { | |
| color: #ccc; | |
| font-size: 12px; | |
| } | |
| .shift-weekend-label { | |
| color: #e65100; | |
| font-weight: 700; | |
| font-size: 12px; | |
| } | |
| .shift-vacation-label { | |
| color: #1565c0; | |
| font-weight: 700; | |
| font-size: 12px; | |
| } | |
| .shift-sick-label { | |
| color: #c62828; | |
| font-weight: 700; | |
| font-size: 12px; | |
| } | |
| .cell-total-hours, .cell-total-days { | |
| font-weight: 700; | |
| font-size: 12px; | |
| color: var(--cb-dark); | |
| background: #f0f4ff ; | |
| } | |
| [data-bs-theme="dark"] .cell-total-hours, | |
| [data-bs-theme="dark"] .cell-total-days { | |
| background: rgba(20,40,160,0.15) ; | |
| color: #f5f5f7; | |
| } | |
| .shift-weekend { background: #fff9e6; } | |
| .shift-vacation { background: #e3f2fd; } | |
| .shift-sick { background: #fce4ec; } | |
| .shift-other { background: #f3e5f5; } | |
| .shift-9utro { background: #c8e6c9; } | |
| .shift-12 { background: #ffcdd2; } | |
| [data-bs-theme="dark"] .shift-weekend { background: #3d3520; } | |
| [data-bs-theme="dark"] .shift-vacation { background: #1a2744; } | |
| [data-bs-theme="dark"] .shift-sick { background: #3d1a1a; } | |
| [data-bs-theme="dark"] .shift-other { background: #2a1a3d; } | |
| [data-bs-theme="dark"] .shift-9utro { background: #1a3d1a; } | |
| [data-bs-theme="dark"] .shift-12 { background: #3d1a1a; } | |
| [data-bs-theme="dark"] .shift-work { color: #81c784; } | |
| [data-bs-theme="dark"] .shift-hours { color: #aaa; } | |
| [data-bs-theme="dark"] .shift-weekend-label { color: #ffd54f; } | |
| [data-bs-theme="dark"] .shift-vacation-label { color: #64b5f6; } | |
| [data-bs-theme="dark"] .shift-sick-label { color: #ef9a9a; } | |
| .schedule-table .s-cell.weekend { background: #fff9e6; } | |
| [data-bs-theme="dark"] .schedule-table .s-cell.weekend { background: #2d2a1a; } | |
| /* Shift type grid selector */ | |
| .shift-type-grid { | |
| display: grid; | |
| grid-template-columns: 1fr 1fr; | |
| gap: 6px; | |
| } | |
| .shift-type-option { | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| gap: 6px; | |
| padding: 10px 8px; | |
| border: 2px solid var(--cb-gray-200); | |
| border-radius: 10px; | |
| cursor: pointer; | |
| transition: all 0.2s; | |
| font-size: 14px; | |
| font-weight: 600; | |
| } | |
| .shift-type-option:hover { | |
| border-color: var(--cb-primary); | |
| background: var(--cb-primary-light); | |
| } | |
| .shift-type-option input { display: none; } | |
| .shift-type-option:has(input:checked) { | |
| border-color: var(--cb-primary); | |
| background: var(--cb-primary-light); | |
| color: var(--cb-primary); | |
| } | |
| /* ===== DARK MODE ===== */ | |
| [data-bs-theme="dark"] .cb-topbar, | |
| [data-bs-theme="dark"] .cb-mobile-menu { background: #1c1c1e; } | |
| [data-bs-theme="dark"] .cb-topbar { border-color: #38383a; } | |
| [data-bs-theme="dark"] .cb-hamburger svg { fill: #f5f5f7; } | |
| [data-bs-theme="dark"] .cb-logo { color: #f5f5f7; } | |
| [data-bs-theme="dark"] .cb-nav a { color: #a1a1a6; } | |
| [data-bs-theme="dark"] .cb-nav a:hover { color: #fff; } | |
| [data-bs-theme="dark"] .cb-nav a.cb-active { color: #fff; } | |
| [data-bs-theme="dark"] .cb-user-name { color: #a1a1a6; } | |
| [data-bs-theme="dark"] .cb-mobile-link { color: #f5f5f7; border-color: #38383a; } | |
| [data-bs-theme="dark"] .cb-mobile-header { border-color: #38383a; } | |
| [data-bs-theme="dark"] .cb-mobile-close { color: #f5f5f7; } | |
| [data-bs-theme="dark"] .top-nav-link { color: #a1a1a6; } | |
| [data-bs-theme="dark"] .top-nav-link:hover { color: #f5f5f7; } | |
| [data-bs-theme="dark"] .top-nav-user { color: #a1a1a6; } | |
| [data-bs-theme="dark"] .landing-team-name { color: #f5f5f7; } | |
| [data-bs-theme="dark"] .text-muted { color: #98989d ; } | |
| [data-bs-theme="dark"] .emp-sidebar { background: #2c2c2e; border-color: #38383a; } | |
| [data-bs-theme="dark"] .emp-sidebar-name { color: #f5f5f7; } | |
| [data-bs-theme="dark"] .emp-tab { color: #a1a1a6; } | |
| [data-bs-theme="dark"] .emp-tab:hover, | |
| [data-bs-theme="dark"] .emp-tab.active { background: rgba(20,40,160,0.2); color: #fff; } | |
| [data-bs-theme="dark"] .landing-team-card { background: #2c2c2e; border-color: #38383a; } | |
| [data-bs-theme="dark"] .landing-team-card .name { color: #f5f5f7; } | |
| [data-bs-theme="dark"] .schedule-table td:first-child { background: #2c2c2e; color: #f5f5f7; } | |
| [data-bs-theme="dark"] .schedule-table tr:nth-child(even) td:first-child { background: #38383a; } | |
| [data-bs-theme="dark"] .schedule-table tr:nth-child(even) { background: #2c2c2e; } | |
| [data-bs-theme="dark"] .schedule-table tr:hover { background: rgba(20,40,160,0.15); } | |
| [data-bs-theme="dark"] .schedule-metric { background: #2c2c2e; } | |
| [data-bs-theme="dark"] .schedule-metric-label { color: #a1a1a6; } | |
| [data-bs-theme="dark"] .schedule-metric-val { color: #f5f5f7; } | |
| [data-bs-theme="dark"] .schedule-table-wrap { background: #1c1c1e; } | |
| [data-bs-theme="dark"] .schedule-summary-card { background: #2c2c2e; } | |
| [data-bs-theme="dark"] .schedule-summary-card .name { color: #f5f5f7; } | |
| [data-bs-theme="dark"] .cb-footer { background: #151517; color: #98989d; } | |
| [data-bs-theme="dark"] .cb-footer-bottom { border-top-color: #38383a; } | |
| [data-bs-theme="dark"] .badge-apple.green, | |
| [data-bs-theme="dark"] .alert-apple.success { color: #81c784; } | |
| [data-bs-theme="dark"] .badge-apple.red, | |
| [data-bs-theme="dark"] .alert-apple.danger { color: #ef9a9a; } | |
| [data-bs-theme="dark"] .badge-apple.orange, | |
| [data-bs-theme="dark"] .alert-apple.warning { color: #ffd54f; } | |
| [data-bs-theme="dark"] .shift-9vecher { background: #1a2a3d; color: #81d4fa; } | |
| [data-bs-theme="dark"] .shift-11 { background: #3d2a1a; color: #ffcc80; } | |
| [data-bs-theme="dark"] .shift-10 { background: #2a1a3d; color: #ce93d8; } | |
| [data-bs-theme="dark"] .shift-off { background: #2c2c2e; color: #666; } | |
| [data-bs-theme="dark"] .shift-empty { color: #666; } | |
| [data-bs-theme="dark"] .schedule-metric-sub { color: #98989d; } | |
| [data-bs-theme="dark"] .schedule-summary-card .stat { color: #a1a1a6; } | |
| [data-bs-theme="dark"] .schedule-summary-card .stat span { color: #f5f5f7; } | |
| [data-bs-theme="dark"] .kpi-employee-table tbody tr:hover { background: rgba(20,40,160,0.15); } | |
| [data-bs-theme="dark"] .kpi-pct-badge.good { background: rgba(48, 209, 88, 0.2); } | |
| [data-bs-theme="dark"] .kpi-pct-badge.ok { background: rgba(255, 159, 10, 0.2); } | |
| [data-bs-theme="dark"] .kpi-pct-badge.bad { background: rgba(255, 69, 58, 0.2); } | |
| [data-bs-theme="dark"] .kpi-employee-name { color: #f5f5f7; } | |
| /* ===== KPI GAUGE CARDS ===== */ | |
| .kpi-gauge-grid { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); | |
| gap: 16px; | |
| margin-bottom: 32px; | |
| } | |
| .kpi-gauge-card { | |
| background: var(--cb-white); | |
| border-radius: 16px; | |
| padding: 20px; | |
| text-align: center; | |
| border: 1px solid var(--cb-gray-200); | |
| box-shadow: 0 1px 6px rgba(0,0,0,0.04); | |
| transition: transform 0.2s, box-shadow 0.2s; | |
| } | |
| .kpi-gauge-card:hover { | |
| transform: translateY(-2px); | |
| box-shadow: 0 8px 24px rgba(20,40,160,0.08); | |
| } | |
| .kpi-gauge-name { | |
| font-size: 13px; | |
| font-weight: 600; | |
| color: var(--cb-dark); | |
| margin: 12px 0 4px; | |
| line-height: 1.3; | |
| } | |
| .kpi-gauge-target { | |
| font-size: 11px; | |
| color: var(--cb-gray-400); | |
| margin-bottom: 8px; | |
| } | |
| .kpi-gauge-value { | |
| font-size: 13px; | |
| font-weight: 700; | |
| color: var(--cb-dark); | |
| } | |
| .kpi-gauge-sub { | |
| font-size: 11px; | |
| color: var(--cb-gray-400); | |
| } | |
| .kpi-gauge-svg { | |
| width: 100px; | |
| height: 100px; | |
| display: block; | |
| margin: 0 auto; | |
| } | |
| /* ===== EMPLOYEE INFO GRID ===== */ | |
| .emp-info-grid { | |
| display: grid; | |
| grid-template-columns: 1fr 1fr; | |
| gap: 16px; | |
| } | |
| .emp-info-item { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 2px; | |
| } | |
| .emp-info-label { | |
| font-size: 11px; | |
| font-weight: 600; | |
| color: var(--cb-gray-400); | |
| text-transform: uppercase; | |
| letter-spacing: 0.3px; | |
| } | |
| .emp-info-value { | |
| font-size: 15px; | |
| font-weight: 500; | |
| color: var(--cb-dark); | |
| } | |
| [data-bs-theme="dark"] .kpi-gauge-card { background: #2c2c2e; border-color: #38383a; } | |
| [data-bs-theme="dark"] .kpi-gauge-name { color: #f5f5f7; } | |
| [data-bs-theme="dark"] .kpi-gauge-value { color: #f5f5f7; } | |
| [data-bs-theme="dark"] .emp-info-value { color: #f5f5f7; } | |
| /* ===== EMPLOYEE DASHBOARD CARDS ===== */ | |
| .emp-dash-grid { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); | |
| gap: 16px; | |
| margin-bottom: 32px; | |
| } | |
| .emp-dash-card { | |
| background: var(--cb-white); | |
| border-radius: 16px; | |
| padding: 16px 20px; | |
| border: 1px solid var(--cb-gray-200); | |
| box-shadow: 0 1px 6px rgba(0,0,0,0.04); | |
| text-decoration: none; | |
| color: inherit; | |
| display: block; | |
| transition: transform 0.2s, box-shadow 0.2s; | |
| } | |
| .emp-dash-card:hover { | |
| transform: translateY(-2px); | |
| box-shadow: 0 8px 24px rgba(20,40,160,0.08); | |
| text-decoration: none; | |
| color: inherit; | |
| } | |
| .emp-dash-top { | |
| display: flex; | |
| align-items: center; | |
| gap: 10px; | |
| margin-bottom: 12px; | |
| } | |
| .emp-dash-avatar { | |
| width: 36px; | |
| height: 36px; | |
| border-radius: 50%; | |
| background: linear-gradient(135deg, var(--cb-primary), var(--cb-navy)); | |
| color: #fff; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| font-weight: 600; | |
| overflow: hidden; | |
| flex-shrink: 0; | |
| font-size: 14px; | |
| flex-shrink: 0; | |
| } | |
| .emp-dash-name { | |
| font-weight: 600; | |
| font-size: 14px; | |
| color: var(--cb-dark); | |
| } | |
| .emp-dash-role { | |
| font-size: 11px; | |
| color: var(--cb-gray-400); | |
| } | |
| .emp-dash-pct { | |
| margin-left: auto; | |
| font-size: 18px; | |
| font-weight: 700; | |
| } | |
| .emp-dash-bars { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 6px; | |
| } | |
| .emp-dash-bar-wrap { | |
| display: flex; | |
| align-items: center; | |
| gap: 6px; | |
| } | |
| .emp-dash-bar-label { | |
| font-size: 10px; | |
| color: var(--cb-gray-400); | |
| width: 40px; | |
| flex-shrink: 0; | |
| text-align: right; | |
| } | |
| .emp-dash-bar-track { | |
| flex: 1; | |
| height: 6px; | |
| background: var(--cb-gray-200); | |
| border-radius: 4px; | |
| overflow: hidden; | |
| } | |
| .emp-dash-bar-fill { | |
| height: 100%; | |
| border-radius: 4px; | |
| transition: width 0.3s; | |
| } | |
| [data-bs-theme="dark"] .emp-dash-card { background: #2c2c2e; border-color: #38383a; } | |
| [data-bs-theme="dark"] .emp-dash-name { color: #f5f5f7; } | |
| @media (max-width: 600px) { | |
| .emp-info-grid { grid-template-columns: 1fr; } | |
| .kpi-gauge-grid { grid-template-columns: repeat(2, 1fr); } | |
| .emp-dash-grid { grid-template-columns: 1fr; } | |
| } | |
| /* ===== KPI Category Cards ===== */ | |
| .kpi-page { | |
| max-width: 1400px; | |
| margin: 0 auto; | |
| padding: 10px 8px; | |
| } | |
| .kpi-top-bar { | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| margin-bottom: 8px; | |
| gap: 8px; | |
| } | |
| .kpi-title { | |
| font-size: 14px; | |
| font-weight: 700; | |
| margin: 0; | |
| color: var(--cb-gray-600); | |
| } | |
| [data-bs-theme="dark"] .kpi-title { color: #f5f5f7; } | |
| .kpi-month-select { | |
| font-size: 11px; | |
| padding: 3px 8px; | |
| border: 1px solid var(--cb-gray-200); | |
| border-radius: 6px; | |
| background: #fff; | |
| color: var(--cb-gray-600); | |
| cursor: pointer; | |
| } | |
| [data-bs-theme="dark"] .kpi-month-select { background: #2c2c2e; border-color: #38383a; color: #e5e5e7; } | |
| .kpi-cat-grid { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); | |
| gap: 6px; | |
| } | |
| @media (min-width: 1200px) { | |
| .kpi-cat-grid { grid-template-columns: repeat(4, 1fr); } | |
| } | |
| @media (max-width: 600px) { | |
| .kpi-cat-grid { grid-template-columns: repeat(2, 1fr); } | |
| } | |
| @media (max-width: 400px) { | |
| .kpi-cat-grid { grid-template-columns: 1fr; } | |
| } | |
| .kpi-cat-card { | |
| background: #fff; | |
| border: 1px solid var(--cb-gray-200); | |
| border-radius: 8px; | |
| overflow: hidden; | |
| display: flex; | |
| flex-direction: column; | |
| } | |
| [data-bs-theme="dark"] .kpi-cat-card { background: #2c2c2e; border-color: #38383a; } | |
| .kpi-cat-head { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| padding: 5px 8px; | |
| background: var(--cb-gray-100); | |
| border-bottom: 1px solid var(--cb-gray-200); | |
| } | |
| [data-bs-theme="dark"] .kpi-cat-head { background: #1c1c1e; border-color: #38383a; } | |
| .kpi-cat-name { | |
| font-size: 10px; | |
| font-weight: 700; | |
| text-transform: uppercase; | |
| letter-spacing: 0.4px; | |
| color: var(--cb-gray-500); | |
| } | |
| [data-bs-theme="dark"] .kpi-cat-name { color: #8e8e93; } | |
| .kpi-cat-counts { | |
| display: flex; | |
| gap: 3px; | |
| font-size: 9px; | |
| font-weight: 700; | |
| } | |
| .count-ok { color: var(--cb-green); } | |
| .count-fail { color: var(--cb-red); } | |
| .kpi-cat-body { | |
| padding: 3px 0; | |
| } | |
| .kc-row { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| padding: 2px 8px; | |
| font-size: 10px; | |
| line-height: 1.3; | |
| border-left: 2px solid transparent; | |
| } | |
| .kc-row-ok { border-left-color: var(--cb-green); } | |
| .kc-row-fail { border-left-color: var(--cb-red); } | |
| .kc-row-total { | |
| border-left-color: var(--cb-blue); | |
| background: color-mix(in srgb, var(--cb-blue) 8%, transparent); | |
| font-weight: 600; | |
| } | |
| .kc-row-name { | |
| color: var(--cb-gray-500); | |
| flex: 1; | |
| min-width: 0; | |
| overflow: hidden; | |
| text-overflow: ellipsis; | |
| white-space: nowrap; | |
| padding-right: 4px; | |
| } | |
| [data-bs-theme="dark"] .kc-row-name { color: #a1a1a6; } | |
| .kc-row-right { | |
| display: flex; | |
| align-items: center; | |
| gap: 4px; | |
| flex-shrink: 0; | |
| font-size: 10px; | |
| } | |
| .kc-row-val { | |
| font-weight: 600; | |
| font-variant-numeric: tabular-nums; | |
| color: var(--cb-gray-600); | |
| font-size: 10px; | |
| } | |
| [data-bs-theme="dark"] .kc-row-val { color: #e5e5e7; } | |
| .kc-row-plan { | |
| font-weight: 400; | |
| color: var(--cb-gray-500); | |
| font-size: 9px; | |
| } | |
| .kc-val-fact { | |
| font-weight: 700; | |
| color: var(--cb-gray-700); | |
| } | |
| .kc-val-plan { | |
| font-weight: 600; | |
| color: var(--cb-gray-600); | |
| } | |
| [data-bs-theme="dark"] .kc-val-fact { color: #f0f0f2; } | |
| [data-bs-theme="dark"] .kc-row-plan { color: #888; } | |
| .kc-val-ok { | |
| font-weight: 700; | |
| color: var(--cb-green); | |
| } | |
| .kc-val-fail { | |
| font-weight: 700; | |
| color: var(--cb-red); | |
| } | |
| .kc-row-sep { | |
| color: var(--cb-gray-400); | |
| font-size: 8px; | |
| } | |
| .kc-icon { | |
| width: 16px; | |
| height: 16px; | |
| border-radius: 50%; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| font-size: 8px; | |
| font-weight: 700; | |
| flex-shrink: 0; | |
| } | |
| .kc-icon-ok { background: var(--cb-green); color: #fff; } | |
| .kc-icon-fail { background: var(--cb-red); color: #fff; } | |
| .kc-icon-plan { background: var(--cb-gray-300); color: var(--cb-gray-600); font-size: 9px; } | |
| .kpi-actions { | |
| margin-top: 24px; | |
| text-align: center; | |
| } | |
| /* --- KPI ENTRY --- */ | |
| .kpi-entry-scroll { | |
| overflow-x: auto; | |
| margin-bottom: 24px; | |
| } | |
| .kpi-entry-table { | |
| border-collapse: collapse; | |
| font-size: 11px; | |
| width: 100%; | |
| min-width: 1400px; | |
| } | |
| .kpi-entry-table th, | |
| .kpi-entry-table td { | |
| border: 1px solid var(--cb-gray-300); | |
| padding: 4px 6px; | |
| text-align: center; | |
| vertical-align: middle; | |
| } | |
| [data-bs-theme="dark"] .kpi-entry-table th, | |
| [data-bs-theme="dark"] .kpi-entry-table td { | |
| border-color: #333; | |
| } | |
| .cell-employee { | |
| font-weight: 600; | |
| text-align: left; | |
| white-space: nowrap; | |
| background: var(--cb-card-bg, #fff); | |
| position: sticky; | |
| left: 0; | |
| z-index: 2; | |
| box-shadow: 2px 0 4px rgba(0,0,0,0.08); | |
| min-width: 140px; | |
| } | |
| [data-bs-theme="dark"] .cell-employee { | |
| background: var(--cb-card-bg-dark, #1c1c1e); | |
| } | |
| .emp-link { | |
| color: var(--cb-primary); | |
| text-decoration: none; | |
| font-weight: 600; | |
| } | |
| .emp-link:hover { | |
| text-decoration: underline; | |
| } | |
| .cell-category { | |
| background: var(--cb-primary); | |
| color: #fff; | |
| font-weight: 700; | |
| font-size: 10px; | |
| } | |
| .cell-metric { | |
| font-size: 10px; | |
| font-weight: 600; | |
| white-space: normal; | |
| word-break: break-word; | |
| max-width: 100px; | |
| min-width: 70px; | |
| vertical-align: bottom; | |
| color: var(--cb-gray-600); | |
| line-height: 1.2; | |
| padding: 4px 4px ; | |
| } | |
| [data-bs-theme="dark"] .cell-metric { color: #aaa; } | |
| .row-fields th { | |
| font-size: 8px; | |
| font-weight: 400; | |
| color: var(--cb-gray-500); | |
| padding: 2px 4px ; | |
| } | |
| .field-label { | |
| display: inline; | |
| margin: 0 2px; | |
| } | |
| .cell-inputs { | |
| padding: 2px 4px ; | |
| white-space: nowrap; | |
| } | |
| .inp-plan, .inp-fact { | |
| width: 60px; | |
| padding: 2px 4px; | |
| font-size: 11px; | |
| border: 1px solid var(--cb-gray-300); | |
| border-radius: 3px; | |
| text-align: center; | |
| background: transparent; | |
| color: inherit; | |
| } | |
| .inp-plan { border-color: var(--cb-primary); } | |
| [data-bs-theme="dark"] .inp-plan, | |
| [data-bs-theme="dark"] .inp-fact { | |
| border-color: #444; | |
| } | |
| .plan-group { | |
| border-bottom: 1px solid var(--cb-gray-200); | |
| padding: 0; | |
| } | |
| .plan-group:last-child { border-bottom: none; } | |
| .plan-group-title { | |
| padding: 6px 10px; | |
| font-size: 12px; | |
| font-weight: 600; | |
| cursor: pointer; | |
| color: var(--cb-primary); | |
| user-select: none; | |
| list-style: '▶ '; | |
| } | |
| .plan-group[open] > .plan-group-title { | |
| list-style: '▼ '; | |
| } | |
| .plan-group-body { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); | |
| gap: 2px 8px; | |
| padding: 0 10px 8px; | |
| } | |
| .plan-row { | |
| display: flex; | |
| align-items: center; | |
| gap: 6px; | |
| } | |
| .plan-metric { | |
| font-size: 11px; | |
| flex: 1; | |
| white-space: nowrap; | |
| overflow: hidden; | |
| text-overflow: ellipsis; | |
| color: var(--cb-gray-500); | |
| } | |
| .plan-row .inp-plan { | |
| width: 80px; | |
| flex-shrink: 0; | |
| } | |
| .week-card { | |
| background: var(--cb-card-bg, #fff); | |
| border: 1px solid var(--cb-gray-300); | |
| border-radius: 8px; | |
| padding: 12px; | |
| margin-bottom: 20px; | |
| box-shadow: 0 1px 4px rgba(0,0,0,0.06); | |
| } | |
| [data-bs-theme="dark"] .week-card { | |
| background: var(--cb-card-bg-dark, #1c1c1e); | |
| border-color: #333; | |
| } | |
| .week-card-header { | |
| font-size: 15px; | |
| font-weight: 700; | |
| color: var(--cb-primary); | |
| margin-bottom: 10px; | |
| padding-bottom: 8px; | |
| border-bottom: 2px solid var(--cb-primary); | |
| display: flex; | |
| align-items: center; | |
| gap: 12px; | |
| } | |
| .week-date-label { | |
| font-size: 13px; | |
| font-weight: 600; | |
| color: var(--cb-gray-600); | |
| display: flex; | |
| align-items: center; | |
| gap: 6px; | |
| } | |
| .week-date-input { | |
| font-size: 13px; | |
| padding: 3px 6px; | |
| border: 1px solid var(--cb-gray-300); | |
| border-radius: 4px; | |
| background: transparent; | |
| color: inherit; | |
| } | |
| .agg-table { min-width: 500px; } | |
| .agg-radio { | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 3px; | |
| margin-right: 12px; | |
| font-size: 11px; | |
| cursor: pointer; | |
| } | |
| .agg-radio input { cursor: pointer; } | |
| .form-actions { | |
| margin-top: 16px; | |
| display: flex; | |
| gap: 12px; | |
| align-items: center; | |
| } | |
| .text-muted { color: var(--cb-gray-500); font-size: 12px; } | |
| /* --- EMPLOYEE KPI TAB --- */ | |
| .emp-kpi-cat { | |
| margin-bottom: 12px; | |
| } | |
| .emp-kpi-row { | |
| display: flex; | |
| align-items: center; | |
| padding: 6px 8px; | |
| border-radius: 4px; | |
| margin-bottom: 2px; | |
| font-size: 12px; | |
| border-left: 3px solid transparent; | |
| } | |
| .emp-kpi-row.ekpi-ok { border-left-color: var(--cb-green); } | |
| .emp-kpi-row.ekpi-fail { border-left-color: var(--cb-red); } | |
| .ekpi-name { | |
| flex: 1; | |
| font-weight: 500; | |
| color: var(--cb-gray-600); | |
| min-width: 0; | |
| } | |
| [data-bs-theme="dark"] .ekpi-name { color: #bbb; } | |
| .ekpi-vals { | |
| display: flex; | |
| align-items: center; | |
| gap: 4px; | |
| flex-shrink: 0; | |
| margin: 0 12px; | |
| } | |
| .ekpi-plan { | |
| font-size: 11px; | |
| color: var(--cb-gray-500); | |
| } | |
| .ekpi-sep { | |
| font-size: 9px; | |
| color: var(--cb-gray-400); | |
| } | |
| .ekpi-fact { | |
| font-weight: 700; | |
| font-size: 12px; | |
| color: var(--cb-gray-700); | |
| } | |
| [data-bs-theme="dark"] .ekpi-fact { color: #eee; } | |
| .ekpi-status { | |
| flex-shrink: 0; | |
| width: 20px; | |
| text-align: center; | |
| } | |
| /* ===== PDF VIEWER ===== */ | |
| .btn-eye, .btn-download, .btn-trash { | |
| display:inline-flex;align-items:center;justify-content:center; | |
| padding:4px 10px;border:1px solid var(--cb-gray-300); | |
| border-radius:8px;background:var(--cb-white);color:var(--cb-gray-500); | |
| font-size:13px;text-decoration:none;transition:all 0.2s; | |
| } | |
| .btn-eye:hover, .btn-download:hover { | |
| border-color:var(--cb-primary);color:var(--cb-primary);background:var(--cb-primary-light); | |
| } | |
| .btn-trash:hover { | |
| border-color:var(--cb-red);color:var(--cb-red);background:#fef2f2; | |
| } | |
| .btn-eye.anim { | |
| animation: eye-pulse 2s ease-in-out infinite; | |
| } | |
| @keyframes eye-pulse { | |
| 0%, 100% { opacity:0.7; transform:scale(1); } | |
| 50% { opacity:1; transform:scale(1.12); } | |
| } | |