@charset "UTF-8";
/* ==========================================================================
   CUPANG FLEX MOBILE MODERN DESIGN SYSTEM
   ========================================================================== */

:root {
  /* Colors - Primary Brand & Accent */
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #eff6ff;
  --primary-dark: #1e40af;
  
  --accent: #0284c7;
  --accent-light: #e0f2fe;

  /* Status Colors */
  --success: #10b981;
  --success-light: #ecfdf5;
  --danger: #ef4444;
  --danger-light: #fef2f2;
  --warning: #f59e0b;
  --warning-light: #fffbeb;
  --info: #3b82f6;
  --info-light: #eff6ff;

  /* Neutral Colors */
  --bg-app: #f8fafc;
  --bg-card: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-hover: #f8fafc;
  
  --text-main: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-white: #ffffff;

  --border-light: #e2e8f0;
  --border-subtle: #f1f5f9;
  --border-focus: #3b82f6;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 10px 25px rgba(15, 23, 42, 0.12);
  --shadow-float: 0 -4px 20px rgba(15, 23, 42, 0.06);

  /* Border Radius */
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* Typography */
  --font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
}

/* Base App Setup */
body {
  font-family: var(--font-family) !important;
  background-color: var(--bg-app) !important;
  color: var(--text-body) !important;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.m-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}

.m-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding: 0 16px;
}

.m-navbar-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.m-navbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.m-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  color: var(--text-body) !important;
  border: none;
  font-size: 16px;
  transition: var(--transition-fast);
  text-decoration: none !important;
}

.m-icon-btn:active {
  background: var(--border-light);
  transform: scale(0.95);
}

/* Sub-Tab Navigation (Pill Tabs) */
.m-subtabs-scroll {
  display: flex;
  overflow-x: auto;
  padding: 8px 16px 10px;
  gap: 8px;
  background: #ffffff;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}
.m-subtabs-scroll::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.m-pill-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  color: var(--text-muted) !important;
  text-decoration: none !important;
  white-space: nowrap;
  transition: var(--transition-fast);
  border: 1px solid transparent;
}

.m-pill-tab i {
  font-size: 13px;
}

.m-pill-tab.active {
  background: var(--primary) !important;
  color: var(--text-white) !important;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.m-pill-tab:active {
  transform: scale(0.96);
}

/* ==========================================================================
   Filter Chip Group (Work History & Statistics)
   ========================================================================== */
.m-filter-chip-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 10px;
  margin-bottom: 22px;
}

.m-filter-chip {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 44px;
  padding: 0 12px;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  color: var(--text-body) !important;
  text-decoration: none !important;
  cursor: pointer;
  margin: 0;
  transition: all 0.2s ease;
  user-select: none;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.m-filter-chip i {
  font-size: 14px;
}

.m-filter-chip.active {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #ffffff !important;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.m-filter-chip:active {
  transform: scale(0.97);
}

/* ==========================================================================
   Bottom Navigation Bar
   ========================================================================== */
.m-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 64px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 4px;
  box-shadow: var(--shadow-float);
}

.m-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 100%;
  color: var(--text-muted) !important;
  text-decoration: none !important;
  font-size: 11px;
  font-weight: 600;
  transition: var(--transition-fast);
  position: relative;
}

.m-nav-item i {
  font-size: 18px;
  transition: var(--transition-fast);
}

.m-nav-item.active {
  color: var(--primary) !important;
  font-weight: 700;
}

.m-nav-item.active i {
  transform: translateY(-2px);
  color: var(--primary);
}

.m-nav-item:active {
  transform: scale(0.92);
}

/* ==========================================================================
   Container & Layout Structure
   ========================================================================== */
.m-container {
  padding: 16px 14px 100px;
  max-width: 540px;
  margin: 0 auto;
}

.m-has-subtabs {
  padding-top: 110px !important;
}

.m-no-subtabs {
  padding-top: 68px !important;
}

/* ==========================================================================
   Cards & Surfaces
   ========================================================================== */
.m-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  padding: 18px 16px;
  margin-bottom: 14px;
  transition: var(--transition-normal);
}

.m-card-hero {
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
  color: var(--text-white);
  border: none;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.25);
  border-radius: var(--radius-xl);
  padding: 22px 18px;
  position: relative;
  overflow: hidden;
}

.m-card-hero::after {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.m-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.m-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.m-card-title i {
  color: var(--primary);
  font-size: 17px;
}

/* Summary Numbers */
.m-stat-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 4px;
  font-weight: 500;
}

.m-stat-val-huge {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-main);
  line-height: 1.2;
}

.m-stat-val-huge.primary {
  color: var(--primary);
}

.m-stat-val-huge.white {
  color: #ffffff;
}

.m-stat-val-large {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

/* ==========================================================================
   Date Navigator (Clean Mobile Picker Style)
   ========================================================================== */
.m-date-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 8px 12px;
  margin-top: 0;
  margin-bottom: 14px;
  box-shadow: var(--shadow-xs);
}

.m-date-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  color: var(--text-body) !important;
  border: none;
  font-size: 14px;
  text-decoration: none !important;
}

.m-date-btn:active {
  background: var(--border-light);
}

.m-date-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  text-align: center;
}

/* ==========================================================================
   Form Controls & Modern Stepper
   ========================================================================== */
.m-form-group {
  margin-bottom: 16px;
}

.m-form-label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
}

.m-form-label .req {
  color: var(--danger);
  margin-left: 2px;
}

.m-input, .m-select {
  width: 100% !important;
  height: 46px !important;
  padding: 10px 14px !important;
  font-size: 15px !important;
  font-family: var(--font-family) !important;
  color: var(--text-main) !important;
  background: var(--bg-card) !important;
  border: 1.5px solid var(--border-light) !important;
  border-radius: var(--radius-md) !important;
  box-sizing: border-box !important;
  transition: var(--transition-fast) !important;
}

.m-input:focus, .m-select:focus {
  outline: none !important;
  border-color: var(--border-focus) !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12) !important;
}

.m-input.readonly {
  background: var(--bg-subtle) !important;
  color: var(--text-muted) !important;
}

/* Stepper Component (+1, +5, +10) */
.m-stepper-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.m-stepper-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.m-stepper-btn-group {
  display: flex;
  gap: 6px;
}

.m-step-btn {
  flex: 1;
  height: 34px;
  border: 1px solid var(--border-light);
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-body);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.m-step-btn:active {
  background: var(--border-light);
  transform: scale(0.96);
}

.m-step-btn.plus {
  color: var(--primary);
  background: var(--primary-light);
  border-color: rgba(37, 99, 235, 0.2);
}

.m-step-btn.plus:active {
  background: #dbeafe;
}

/* ==========================================================================
   Badges, Tags & Chips
   ========================================================================== */
.m-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--radius-full);
  line-height: 1;
}

.m-badge-primary { background: var(--primary-light); color: var(--primary); }
.m-badge-success { background: var(--success-light); color: var(--success); }
.m-badge-danger { background: var(--danger-light); color: var(--danger); }
.m-badge-warning { background: var(--warning-light); color: var(--warning); }
.m-badge-neutral { background: var(--bg-subtle); color: var(--text-muted); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.m-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  transition: var(--transition-fast);
  box-sizing: border-box;
}

.m-btn-block {
  width: 100%;
}

.m-btn-primary {
  background: var(--primary) !important;
  color: var(--text-white) !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.m-btn-primary:active {
  background: var(--primary-hover) !important;
  transform: scale(0.98);
}

.m-btn-danger {
  background: var(--danger) !important;
  color: var(--text-white) !important;
}

.m-btn-danger:active {
  background: #dc2626 !important;
  transform: scale(0.98);
}

.m-btn-subtle {
  background: var(--bg-subtle) !important;
  color: var(--text-body) !important;
  border: 1px solid var(--border-light) !important;
}

.m-btn-subtle:active {
  background: var(--border-light) !important;
}

/* Floating Sticky Action Bar */
.m-sticky-bar {
  position: fixed;
  bottom: 64px;
  left: 0;
  right: 0;
  z-index: 990;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-light);
  padding: 10px 16px;
  box-shadow: var(--shadow-float);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* ==========================================================================
   Accordion & List Cards
   ========================================================================== */
.m-list-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition-fast);
}

.m-list-card:active {
  border-color: var(--primary);
}

.m-list-header {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.m-list-body {
  padding: 12px 16px 16px;
  background: #fafbfc;
  border-top: 1px dashed var(--border-light);
}

.m-detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 13.5px;
}

.m-detail-row .label {
  color: var(--text-muted);
}

.m-detail-row .value {
  font-weight: 600;
  color: var(--text-main);
}
