/* ============================================================
   澳門招聘網 - 手機版樣式表
   Mobile CSS for RecruitMo.com
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 14px; -webkit-text-size-adjust: 100%; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    background: #f5f6f8;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    padding-bottom: 70px;
    padding-top: 50px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
input, select, textarea { font-family: inherit; font-size: inherit; }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-thumb { background: #ccc; border-radius: 4px; }

/* ---------- Color Variables ---------- */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #dbeafe;
    --accent: #f97316;
    --accent-light: #ffedd5;
    --success: #10b981;
    --success-light: #d1fae5;
    --danger: #ef4444;
    --danger-light: #fee2e2;
    --warning: #f59e0b;
    --bg-page: #f5f6f8;
    --bg-card: #fff;
    --bg-grey: #f0f2f5;
    --border: #e5e7eb;
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
}

/* ============================================================
   HEADER / TOPBAR
   ============================================================ */
.topbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 50px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}
.topbar-logo {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.topbar-logo .logo-icon {
    width: 28px; height: 28px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px;
}
.topbar-actions { display: flex; align-items: center; gap: 8px; }
.topbar-btn {
    width: 34px; height: 34px;
    background: rgba(255,255,255,0.15);
    border: none; border-radius: 50%;
    color: #fff; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
}
.topbar-btn:hover { background: rgba(255,255,255,0.3); }
.topbar-city {
    font-size: 13px;
    background: rgba(255,255,255,0.15);
    padding: 4px 10px;
    border-radius: 20px;
    display: flex; align-items: center; gap: 4px;
}

/* ============================================================
   BANNER / SWIPER
   ============================================================ */
.banner-section { padding: 12px 16px 0; }
.banner-swiper {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 16 / 7;
    position: relative;
}
.banner-swiper img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.banner-dots {
    position: absolute;
    bottom: 10px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 5px;
}
.banner-dot {
    width: 6px; height: 6px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
}
.banner-dot.active { background: #fff; width: 18px; border-radius: 3px; }

/* ============================================================
   SEARCH BAR
   ============================================================ */
.search-wrap { padding: 12px 16px; }
.search-bar {
    display: flex;
    background: #fff;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid var(--border);
}
.search-bar input {
    flex: 1;
    padding: 12px 16px;
    border: none; outline: none;
    font-size: 14px;
    background: transparent;
}
.search-bar .search-btn {
    padding: 10px 20px;
    background: var(--primary);
    color: #fff; border: none;
    font-size: 14px; font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.search-bar .search-btn:hover { background: var(--primary-dark); }

/* Filter chips */
.filter-chips {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 10px 16px 0;
    scrollbar-width: none;
}
.filter-chips::-webkit-scrollbar { display: none; }
.filter-chip {
    flex-shrink: 0;
    padding: 6px 14px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 12px;
    color: var(--text-secondary);
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s;
}
.filter-chip.active, .filter-chip:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ============================================================
   SECTION TITLES
   ============================================================ */
.section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 16px 12px;
}
.section-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex; align-items: center; gap: 6px;
}
.section-title::before {
    content: '';
    width: 3px; height: 16px;
    background: var(--primary);
    border-radius: 2px;
}
.section-more {
    font-size: 12px;
    color: var(--text-secondary);
    display: flex; align-items: center; gap: 2px;
}

/* ============================================================
   JOB CATEGORIES GRID
   ============================================================ */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    margin: 0 16px 16px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.cat-item {
    background: #fff;
    padding: 14px 8px;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s;
}
.cat-item:hover { background: var(--primary-light); }
.cat-icon {
    width: 40px; height: 40px;
    margin: 0 auto 6px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
}
.cat-name {
    font-size: 11px;
    color: var(--text-secondary);
    line-height: 1.3;
}

/* ============================================================
   JOB CARD LIST
   ============================================================ */
.job-list { padding: 0 16px; }
.job-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
    display: block;
    transition: box-shadow 0.2s, transform 0.2s;
}
.job-card:active { transform: scale(0.99); }
.job-card:hover { box-shadow: var(--shadow-md); }
.job-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}
.job-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    flex: 1;
    padding-right: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.job-salary {
    font-size: 15px;
    font-weight: 700;
    color: #ef4444;
    white-space: nowrap;
}
.job-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.job-tag {
    font-size: 11px;
    padding: 2px 8px;
    background: var(--bg-grey);
    border-radius: 4px;
    color: var(--text-secondary);
}
.job-tag.highlight { background: #dbeafe; color: #2563eb; }
.job-company {
    font-size: 13px;
    color: var(--text-secondary);
    display: flex; align-items: center; gap: 6px;
    margin-bottom: 8px;
}
.job-company img {
    width: 20px; height: 20px;
    border-radius: 4px;
    background: var(--bg-grey);
}
.job-info-row {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: var(--text-light);
    flex-wrap: wrap;
}
.job-info-item {
    display: flex; align-items: center; gap: 4px;
}
.job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--bg-grey);
}
.job-time { font-size: 11px; color: var(--text-light); }
.job-urgent {
    font-size: 11px;
    padding: 2px 8px;
    background: #fee2e2;
    color: #ef4444;
    border-radius: 4px;
}

/* VIP Company Badge */
.vip-badge {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 10px;
    padding: 1px 5px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    border-radius: 3px;
    font-weight: 600;
}

/* ============================================================
   HOT / RECOMMENDED SECTION
   ============================================================ */
.hot-section {
    margin: 0 16px 12px;
    background: linear-gradient(135deg, #1e3a5f, #0f2540);
    border-radius: var(--radius-md);
    padding: 16px;
    color: #fff;
}
.hot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.hot-title { font-size: 14px; font-weight: 700; }
.hot-badge {
    font-size: 10px;
    padding: 2px 8px;
    background: #ef4444;
    border-radius: 10px;
}
.hot-job-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 4px;
}
.hot-job-scroll::-webkit-scrollbar { display: none; }
.hot-job-item {
    flex-shrink: 0;
    width: 140px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    padding: 10px;
    cursor: pointer;
}
.hot-job-item:hover { background: rgba(255,255,255,0.18); }
.hot-job-name {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 6px;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.hot-job-salary { font-size: 13px; font-weight: 700; color: #fbbf24; margin-bottom: 4px; }
.hot-job-company { font-size: 11px; opacity: 0.7; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ============================================================
   LOGIN PAGE
   ============================================================ */
.login-page { background: #fff; min-height: 100vh; padding: 0; }
.login-header {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    padding: 50px 24px 40px;
    color: #fff;
    text-align: center;
    border-radius: 0 0 30px 30px;
}
.login-logo { font-size: 28px; font-weight: 800; margin-bottom: 8px; }
.login-subtitle { font-size: 13px; opacity: 0.8; }
.login-body { padding: 24px; }
.login-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 24px;
    border-bottom: 2px solid var(--border);
}
.login-tab {
    flex: 1;
    padding: 12px;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    transition: all 0.2s;
}
.login-tab.active { color: var(--primary); border-color: var(--primary); }
.login-tab-content { display: none; }
.login-tab-content.active { display: block; }
.form-group { margin-bottom: 16px; }
.form-label {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 6px;
    display: block;
}
.form-input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
    background: #fafafa;
}
.form-input:focus { border-color: var(--primary); background: #fff; }
.form-input-icon {
    position: relative;
}
.form-input-icon .form-input { padding-left: 40px; }
.form-input-icon .input-icon {
    position: absolute;
    left: 12px; top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 16px;
}
.code-input-wrap { display: flex; gap: 10px; }
.code-input-wrap .form-input { flex: 1; }
.code-btn {
    padding: 0 16px;
    background: var(--bg-grey);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--primary);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}
.code-btn:hover { background: var(--primary-light); }
.btn-primary {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4); }
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }
.login-bottom {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: var(--text-secondary);
}
.login-third {
    margin-top: 30px;
    text-align: center;
}
.login-third-title {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 16px;
    position: relative;
}
.login-third-title::before, .login-third-title::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30%; height: 1px;
    background: var(--border);
}
.login-third-title::before { left: 0; }
.login-third-title::after { right: 0; }
.login-third-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}
.third-btn {
    width: 50px; height: 50px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.2s;
}
.third-btn:hover { transform: scale(1.1); }

/* ============================================================
   SEARCH / FILTER PAGE
   ============================================================ */
.filter-bar {
    position: fixed;
    top: 50px; left: 0; right: 0;
    background: #fff;
    z-index: 999;
    border-bottom: 1px solid var(--border);
    display: flex;
    padding: 0 8px;
    overflow-x: auto;
    scrollbar-width: none;
}
.filter-bar::-webkit-scrollbar { display: none; }
.filter-tab {
    flex-shrink: 0;
    padding: 12px 12px;
    font-size: 13px;
    color: var(--text-secondary);
    display: flex; align-items: center; gap: 4px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    transition: all 0.2s;
}
.filter-tab.active { color: var(--primary); border-color: var(--primary); font-weight: 600; }
.filter-tab .arrow { font-size: 10px; transition: transform 0.2s; }
.filter-tab.active .arrow { transform: rotate(180deg); }
.search-content { padding-top: 102px; }

/* Filter dropdown overlay */
.filter-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}
.filter-overlay.show { opacity: 1; visibility: visible; }
.filter-panel {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: 80%;
    max-width: 360px;
    background: #fff;
    z-index: 1002;
    transform: translateX(100%);
    transition: transform 0.3s;
    overflow-y: auto;
}
.filter-panel.show { transform: translateX(0); }
.filter-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid var(--border);
    font-weight: 600;
}
.filter-panel-close {
    width: 30px; height: 30px;
    background: var(--bg-grey);
    border-radius: 50%;
    border: none; cursor: pointer;
    font-size: 18px;
}
.filter-section { padding: 16px; border-bottom: 1px solid var(--bg-grey); }
.filter-section-title { font-size: 13px; font-weight: 600; margin-bottom: 12px; color: var(--text-primary); }
.filter-options { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-option {
    padding: 6px 14px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
}
.filter-option.active {
    background: var(--primary-light);
    color: var(--primary);
    border-color: var(--primary);
}
.filter-panel-foot {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    max-width: 360px;
    display: flex;
    gap: 10px;
    padding: 12px 16px;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}
.filter-reset {
    flex: 1; padding: 12px;
    background: var(--bg-grey);
    border: none; border-radius: var(--radius-sm);
    font-size: 14px; cursor: pointer;
}
.filter-confirm {
    flex: 2; padding: 12px;
    background: var(--primary);
    color: #fff; border: none;
    border-radius: var(--radius-sm);
    font-size: 14px; font-weight: 600; cursor: pointer;
}

/* Sort tabs */
.sort-bar {
    display: flex;
    gap: 0;
    padding: 0 16px;
    margin-bottom: 10px;
}
.sort-tab {
    flex: 1;
    padding: 8px 4px;
    text-align: center;
    font-size: 12px;
    color: var(--text-secondary);
    border-bottom: 2px solid transparent;
    cursor: pointer;
}
.sort-tab.active { color: var(--primary); border-color: var(--primary); font-weight: 600; }

/* ============================================================
   JOB DETAIL PAGE
   ============================================================ */
.detail-header {
    background: #fff;
    padding: 16px;
    border-bottom: 1px solid var(--border);
}
.detail-title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.detail-salary { font-size: 22px; font-weight: 700; color: #ef4444; margin-bottom: 12px; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.detail-tag {
    padding: 4px 10px;
    background: var(--bg-grey);
    border-radius: 4px;
    font-size: 12px;
    color: var(--text-secondary);
}
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: var(--text-secondary);
}
.detail-meta-item { display: flex; align-items: center; gap: 4px; }
.detail-company-card {
    background: #fff;
    margin: 12px 16px;
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-sm);
}
.detail-company-logo {
    width: 50px; height: 50px;
    border-radius: var(--radius-sm);
    background: var(--bg-grey);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
}
.detail-company-name { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.detail-company-info { font-size: 12px; color: var(--text-secondary); }
.detail-section {
    background: #fff;
    margin: 12px 16px;
    border-radius: var(--radius-md);
    padding: 16px;
    box-shadow: var(--shadow-sm);
}
.detail-section-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
    display: flex; align-items: center; gap: 6px;
}
.detail-content { font-size: 14px; line-height: 1.8; color: var(--text-primary); }
.detail-content p { margin-bottom: 8px; }
.detail-map {
    background: var(--bg-grey);
    border-radius: var(--radius-sm);
    padding: 10px;
    font-size: 13px;
    color: var(--text-secondary);
    display: flex; align-items: center; gap: 6px;
}

/* Apply bottom bar */
.apply-bar {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: #fff;
    padding: 10px 16px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 100;
}
.apply-bar-left { display: flex; gap: 16px; }
.apply-icon-btn {
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    color: var(--text-secondary);
    font-size: 10px;
    cursor: pointer;
}
.apply-icon-btn .icon { font-size: 20px; }
.apply-btn {
    flex: 1;
    padding: 14px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}
.apply-btn:disabled { background: #ccc; box-shadow: none; cursor: not-allowed; }

/* ============================================================
   USER CENTER / MY PAGE
   ============================================================ */
.uc-header {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    padding: 30px 16px 20px;
    color: #fff;
}
.uc-avatar-row { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.uc-avatar {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: 3px solid rgba(255,255,255,0.4);
    display: flex; align-items: center; justify-content: center;
    font-size: 28px;
}
.uc-info-name { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.uc-info-phone { font-size: 12px; opacity: 0.7; }
.uc-vip-tag {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 3px 10px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-radius: 20px;
    font-size: 11px; font-weight: 700; color: #fff;
}
.uc-stats {
    display: flex;
    background: rgba(255,255,255,0.12);
    border-radius: var(--radius-sm);
    padding: 12px;
    gap: 0;
}
.uc-stat {
    flex: 1;
    text-align: center;
    cursor: pointer;
}
.uc-stat + .uc-stat { border-left: 1px solid rgba(255,255,255,0.2); }
.uc-stat-num { font-size: 18px; font-weight: 700; }
.uc-stat-label { font-size: 11px; opacity: 0.7; margin-top: 2px; }

/* Menu cards */
.uc-menu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    margin: 16px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.uc-menu-item {
    background: #fff;
    padding: 16px 8px;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s;
}
.uc-menu-item:hover { background: var(--bg-grey); }
.uc-menu-icon {
    width: 36px; height: 36px;
    margin: 0 auto 8px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
}
.uc-menu-name { font-size: 12px; color: var(--text-secondary); }
.uc-menu-badge {
    position: absolute;
    top: -2px; right: calc(50% - 22px);
    background: #ef4444;
    color: #fff;
    font-size: 10px;
    padding: 1px 5px;
    border-radius: 10px;
    min-width: 16px;
}

/* Resume form */
.resume-form-section {
    background: #fff;
    margin: 12px 16px;
    border-radius: var(--radius-md);
    padding: 16px;
    box-shadow: var(--shadow-sm);
}
.resume-form-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

/* ============================================================
   EMPTY STATE / LOADING
   ============================================================ */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}
.empty-icon { font-size: 60px; margin-bottom: 16px; opacity: 0.4; }
.empty-title { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.empty-desc { font-size: 13px; }
.empty-state .btn-primary { margin-top: 16px; max-width: 200px; }
.loading-spinner {
    text-align: center;
    padding: 40px;
    color: var(--text-secondary);
}

/* ============================================================
   TOAST / ALERT
   ============================================================ */
.toast {
    position: fixed;
    top: 70px; left: 50%;
    transform: translateX(-50%) translateY(-20px);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 13px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    white-space: nowrap;
    box-shadow: var(--shadow-md);
}
.toast.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.toast.success { background: var(--success); color: #fff; }
.toast.error { background: var(--danger); color: #fff; }
.toast.info { background: var(--primary); color: #fff; }

/* ============================================================
   TABS (generic)
   ============================================================ */
.tab-nav {
    display: flex;
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 50px;
    z-index: 10;
}
.tab-item {
    flex: 1;
    padding: 14px 8px;
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
}
.tab-item.active { color: var(--primary); border-color: var(--primary); font-weight: 600; }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ============================================================
   UTILITIES
   ============================================================ */
.text-primary { color: var(--primary) !important; }
.text-danger { color: var(--danger) !important; }
.text-success { color: var(--success) !important; }
.text-muted { color: var(--text-secondary) !important; }
.text-center { text-align: center; }
.font-bold { font-weight: 700; }
.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mb-8 { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.px-16 { padding-left: 16px; padding-right: 16px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.w-full { width: 100%; }

/* Pull to refresh animation */
@keyframes spin { to { transform: rotate(360deg); } }
.spin { animation: spin 1s linear infinite; }

/* Fade in animation */
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.fade-in { animation: fadeIn 0.3s ease forwards; }

/* Pulse dot */
.pulse-dot {
    width: 8px; height: 8px;
    background: #ef4444;
    border-radius: 50%;
    display: inline-block;
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(239,68,68,0.4); }
    70% { box-shadow: 0 0 0 8px rgba(239,68,68,0); }
    100% { box-shadow: 0 0 0 0 rgba(239,68,68,0); }
}

/* Application list item */
.app-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #fff;
    border-bottom: 1px solid var(--bg-grey);
    cursor: pointer;
    transition: background 0.2s;
}
.app-item:hover { background: var(--bg-grey); }
.app-logo {
    width: 44px; height: 44px;
    border-radius: var(--radius-sm);
    background: var(--primary-light);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.app-info { flex: 1; min-width: 0; }
.app-name { font-size: 14px; font-weight: 600; margin-bottom: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-company { font-size: 12px; color: var(--text-secondary); }
.app-status {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    flex-shrink: 0;
}
.app-status.pending { background: #fef3c7; color: #d97706; }
.app-status.interview { background: #d1fae5; color: #059669; }
.app-status.rejected { background: #fee2e2; color: #dc2626; }

/* Page transitions */
.page-enter { animation: fadeIn 0.3s ease; }

/* Divider */
.divider { height: 1px; background: var(--border); margin: 16px 0; }

/* Status badge */
.badge {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 600;
}
.badge-green { background: #d1fae5; color: #059669; }
.badge-yellow { background: #fef3c7; color: #d97706; }
.badge-red { background: #fee2e2; color: #dc2626; }
.badge-blue { background: #dbeafe; color: #2563eb; }

/* Quick action bar (home) */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    margin: 0 16px 16px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.quick-action {
    background: #fff;
    padding: 14px 8px;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s;
}
.quick-action:hover { background: var(--bg-grey); }
.quick-action-icon {
    width: 36px; height: 36px;
    margin: 0 auto 6px;
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
}
.quick-action-name { font-size: 11px; color: var(--text-secondary); }
