@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --bg-color: #050508;
    --card-bg: rgba(255, 255, 255, 0.05);
    --primary-blue: #3b82f6;
    --accent-purple: #a855f7;
    --text-white: #ffffff;
    --text-muted: #94a3b8;
    --success: #10b981;
    --glass-border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-white);
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* App Container (Phone Frame Vibe inside web) */
.app-container {
    width: 375px; 
    height: 760px;
    background: radial-gradient(circle at 50% -20%, #1e1b4b 0%, #050508 60%);
    border-radius: 40px;
    position: relative;
    box-shadow: 0 40px 100px rgba(0,0,0,0.6);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 10px solid #1a1a1a;
}

/* Header (Simple Three-Column Layout) */
header {
    padding: 12px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.005));
    backdrop-filter: blur(45px) saturate(200%);
    -webkit-backdrop-filter: blur(45px) saturate(200%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

header #main-header {
    display: flex;
    flex-direction: row;
}

.logo {
    font-size: 22px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.user-profile {
    width: 40px;
    height: 40px;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Screen Content */
.screen {
    flex: 1;
    overflow-y: auto;
    padding: 16px 16px 100px;
    display: none;
}

/* Adjust padding for screens below the header */
#discovery, #favorites, #messages, #profile {
    padding-top: 16px;
}

.screen.active {
    display: block;
    animation: fadeIn 0.4s ease-out;
}

#discovery.active {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    position: relative;
    padding: 16px 18px 100px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Discovery Cards & Generic Cards */
.card, .job-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
    backdrop-filter: blur(45px) saturate(220%);
    -webkit-backdrop-filter: blur(45px) saturate(220%);
    border-radius: 28px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    margin-bottom: 12px;
    position: relative;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
    display: flex;
    flex-direction: column;
}

.card:active, .job-card:active {
    transform: scale(0.97);
    background: rgba(255, 255, 255, 0.08);
}

.job-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.job-card .company {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 12px;
}

.job-card .salary {
    color: var(--success);
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 12px;
}

.job-card .tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    background: rgba(255,255,255,0.08);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 11px;
    color: var(--text-muted);
}

.like-btn {
    position: absolute;
    right: 20px;
    bottom: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.like-btn i { color: #f43f5e; }

/* Message Center */
.message-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 18px;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s;
    cursor: pointer;
}

.message-item:active {
    transform: scale(0.98);
    background: rgba(255,255,255,0.06);
}

.msg-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.msg-content { flex: 1; }
.msg-content h4 { font-size: 15px; font-weight: 700; color: white; margin-bottom: 2px; }
.msg-content p { font-size: 12px; color: rgba(255,255,255,0.5); line-height: 1.4; }
.msg-time { font-size: 10px; color: rgba(255,255,255,0.3); margin-top: 4px; display: block; }

/* Segmented Control for Profile Activity */
.segmented-control {
    display: flex;
    background: rgba(11, 14, 26, 0.85); /* Darker solid base for sticky readability */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 14px;
    padding: 3px;
    margin-bottom: 24px;
    position: sticky;
    top: -4px; /* Matches screen padding adjustment */
    z-index: 100;
    border: 1px solid rgba(255, 255, 255, 0.08); /* Stronger border for separation */
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.tab-btn {
    flex: 1;
    padding: 10px;
    border-radius: 11px;
    border: none;
    background: transparent;
    /* Leaflet Fixes */
    .leaflet-div-icon {
        border: none !important;
        background: transparent !important;
    }
    color: rgba(255, 255, 255, 0.45);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.tab-btn.active {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.tab-btn i {
    font-size: 11px;
    opacity: 0.6;
}

.tab-btn.active i {
    opacity: 1;
    color: #3b82f6;
}

.status-badge {
    font-size: 9px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 800;
    text-transform: uppercase;
}
.status-applied { background: rgba(16, 185, 129, 0.15); color: #10b981; }
.status-wishlist { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }

/* Global language pill bar (Profile, resume edit, resume_generation) */
.lang-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}
.lang-bar button {
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: 0.2s;
}
.lang-bar button.active {
    background: rgba(59, 130, 246, 0.22);
    border-color: rgba(59, 130, 246, 0.45);
    color: #fff;
}

/* Bottom Nav (Premium Glassmorphism) */
/* Floating Bottom Navigation - Starship Style */
.bottom-nav {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    height: 70px;
    background: rgba(10, 10, 15, 0.7);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border-radius: 20px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    z-index: 5000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    flex: 1;
    gap: 4px;
    position: relative;
}

.icon-wrapper {
    width: 48px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s;
}

.nav-item i {
    font-size: 19px;
    transition: all 0.3s;
}

.nav-item span {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.3s;
}

.nav-item.active {
    color: white;
}

/* The Active Indicator Pill - Attached to Wrapper */
.nav-item.active .icon-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 46px;
    height: 30px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(139, 92, 246, 0.25));
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: -1;
    animation: pillScale 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes pillScale {
    from { transform: translate(-50%, -50%) scale(0.7); opacity: 0; }
    to { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

.nav-item.active .icon-wrapper i {
    color: #60a5fa;
    filter: drop-shadow(0 0 8px rgba(96, 165, 250, 0.3));
}

.nav-item:active i {
    transform: scale(0.9);
}
.post-btn {
    width: 40px;
    height: 30px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-purple));
    border-radius: 9px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.post-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    opacity: 0.5;
}

/* Recruiter Form */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; color: var(--text-muted); margin-bottom: 8px; }
input, textarea {
    width: 100%;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 14px;
    color: white;
    font-size: 14px;
}

.ai-hint {
    font-size: 11px;
    color: var(--accent-purple);
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Telegram CTA */
.chat-cta {
    position: fixed;
    bottom: 120px;
    right: 24px;
    left: 24px;
    background: #0088cc; /* Telegram Blue */
    color: white;
    padding: 18px;
    border-radius: 16px;
    text-align: center;
    font-weight: 700;
    display: none;
    box-shadow: 0 10px 30px rgba(0, 136, 204, 0.3);
    border: none;
    z-index: 1001;
    cursor: pointer;
}

.chat-cta i { margin-right: 8px; }

/* TezCard Styling */
.tez-card-preview {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    border: 1px solid var(--glass-border);
    padding: 24px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.tez-card-preview::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
}

/* Modal Overlay */
.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: flex-end;
    z-index: 100000;
    border-radius: 30px; /* Match app container inner radius */
}

.modal-content {
    width: 100%;
    height: 92%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(45px) saturate(220%);
    -webkit-backdrop-filter: blur(45px) saturate(220%);
    border-radius: 32px 32px 0 0;
    padding: 0;
    position: relative;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.18, 0.89, 0.32, 1.28);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.4);
}

.modal-overlay.active {
    display: flex;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 24px;
    background: var(--card-bg);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
}

.unlock-box {
    background: rgba(251, 191, 36, 0.1);
    border: 1px dashed #fbbf24;
    padding: 24px;
    border-radius: 20px;
    text-align: center;
    margin-top: 20px;
}

.action-btn {
    width: 100%;
    padding: 16px;
    border-radius: 14px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    margin-top: 12px;
    transition: all 0.2s ease;
    letter-spacing: 0.3px;
}

.action-btn:active {
    opacity: 0.8;
    transform: scale(0.98);
}

.action-btn:hover {
    transform: translateY(-1px);
}

/* Onboarding & Card Stack */
#onboarding {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.onboarding-card {
    background: var(--card-bg);
    border-radius: 24px;
    padding: 32px 28px;
    text-align: center;
    border: 1px solid var(--glass-border);
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.onboarding-card:active {
    transform: scale(0.96);
    background: var(--glass-bg);
}

.onboarding-card .msg-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
}

.stack-card {
    position: absolute;
    width: 100%;
    height: calc(100% - 40px);
    background-color: #111424; /* Solid base to prevent bleed-through and rendering glitches */
    background-image: linear-gradient(165deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.01));
    backdrop-filter: blur(45px) saturate(200%);
    -webkit-backdrop-filter: blur(45px) saturate(200%);
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.5), 
                inset 0 0 1px 1px rgba(255, 255, 255, 0.03);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.45s cubic-bezier(0.18, 0.89, 0.32, 1.28), opacity 0.3s ease;
    cursor: grab;
    user-select: none;
    touch-action: none;
    transform: translateZ(0); /* Hardware acceleration fix for iOS tab switching */
    will-change: transform;
}

.stack-card:active {
    cursor: grabbing;
}

.stack-card.swiping {
    transition: none !important;
}





.stack-card-content {
    padding: 20px 24px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #1a1a2e;
    z-index: 2;
}

.swipe-left {
    transform: translateX(-150%) rotate(-25deg) !important;
    opacity: 0 !important;
}

.swipe-right {
    transform: translateX(150%) rotate(25deg) !important;
    opacity: 0 !important;
}

.swipe-up {
    transform: translateY(-150%) scale(0.9) !important;
    opacity: 0 !important;
}

.message-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: var(--card-bg);
    border-radius: 20px;
    margin-bottom: 12px;
    border: 1px solid var(--glass-border);
}

.msg-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Resume Form Specifics */
.custom-select-button {
    width: 100%;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 14px;
    color: white;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.picker-option {
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    text-align: center;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.picker-option:active {
    background: var(--primary-blue);
    transform: scale(0.98);
}

/* Search Screen Specific */
.search-view {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% -20%, #1e1b4b 0%, #050508 60%);
    z-index: 6000;
    display: none;
    flex-direction: column;
    padding: 60px 24px 20px;
    border-radius: 30px;
    overflow: hidden;
}

.search-view.active {
    display: flex;
    animation: slideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.search-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.search-bar-inner {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.search-bar-inner input {
    width: 100%;
    height: 48px;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 0 45px;
    color: white;
    font-size: 15px;
    outline: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.2s;
}

.search-bar-inner input:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.5);
    background: rgba(255,255,255,0.08);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.2);
}

.search-bar-inner i {
    position: absolute;
    left: 18px;
    color: var(--text-muted);
}

.search-section-title {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin: 24px 0 12px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.search-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.search-tag {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    padding: 8px 16px;
    border-radius: 18px;
    font-size: 13px;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.2s;
    cursor: pointer;
}

.search-tag i {
    font-size: 11px;
    opacity: 0.5;
}

.search-tag:active {
    background: rgba(59, 130, 246, 0.2);
    border-color: var(--primary-blue);
    transform: scale(0.95);
}

.search-result-item {
    background: rgba(255,255,255,0.03);
    border-radius: 20px;
    padding: 14px 16px;
    margin-bottom: 10px;
    border: 1px solid var(--glass-border);
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    flex-direction: column;
}

.search-result-item:active {
    background: rgba(255,255,255,0.06);
    transform: scale(0.98);
}

.search-result-item .title {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 4px;
}

.search-result-item .meta {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    gap: 12px;
}

.search-result-item .score-badge {
    font-size: 10px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 800;
}

/* Map Cluster Highlight */
.cluster-highlighted > div {
    background: linear-gradient(135deg, #ef4444, #b91c1c) !important;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.7) !important;
    transform: scale(1.1) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    transition: all 0.2s cubic-bezier(0.18, 0.89, 0.32, 1.28) !important;
}

/* Hide the 0.3 opacity ghost left behind by Leaflet.markercluster spiderfy */
.hide-spiderfied-cluster {
    opacity: 0 !important;
    pointer-events: none !important;
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}
.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.fade-horizontal {
    white-space: nowrap;
    overflow: hidden;
    mask-image: linear-gradient(to right, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black 80%, transparent 100%);
}

.fade-vertical {
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}

.stack-card-content {
    background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.03) 100%) !important;
    backdrop-filter: blur(40px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(40px) saturate(150%) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
}

@keyframes swipeLeftHint {
    0% { transform: translateX(10px); opacity: 0; }
    20% { opacity: 1; }
    80% { transform: translateX(-20px); opacity: 0; }
    100% { transform: translateX(-20px); opacity: 0; }
}

@keyframes swipeRightHint {
    0% { transform: translateX(-10px); opacity: 0; }
    20% { opacity: 1; }
    80% { transform: translateX(20px); opacity: 0; }
    100% { transform: translateX(20px); opacity: 0; }
}

.leaflet-div-icon { background: transparent !important; border: none !important; }
.leaflet-container { background: #050508 !important; }
.leaflet-marker-icon { border: none !important; }

/* Native <select>: 避免部分浏览器/系统下拉层面板为白底白字（与深色主题一致） */
html {
    color-scheme: dark;
}

select {
    color-scheme: dark;
    accent-color: var(--primary-blue);
    background-color: #151525;
    color: #f1f5f9;
    border: 1px solid var(--glass-border);
}

select:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.45);
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.25);
}

select option {
    background-color: #151525;
    color: #e2e8f0;
}

select option:checked {
    background-color: rgba(59, 130, 246, 0.35);
    color: #ffffff;
}

/* 求职卡片预览弹窗：避免全局 .modal-content 的 backdrop-filter / 高度 / transform 导致子节点在 TMA WebView 中不绘制 */
#job-card-preview-modal.modal-overlay.active {
    align-items: center;
    justify-content: center;
}
#job-card-preview-modal .job-card-preview-dialog.modal-content {
    height: auto !important;
    max-height: 90vh;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transform: none !important;
    transition: none;
    border-top: none;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
}
/* 主程序预览卡主体由内联样式渲染（.job-card-preview-surface）；此处仅保留问卷页等使用的 .biz-card */

/* 求职卡片预览：与 web_design/resume_generation.html .biz-card 一致 */
.biz-card {
    position: relative;
    border-radius: 20px;
    padding: 22px 20px;
    background: linear-gradient(145deg, #0c1220 0%, #1a1033 50%, #0f172a 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    text-align: left;
    overflow: hidden;
}
.biz-card::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 70%;
    height: 70%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 65%);
    pointer-events: none;
}
.biz-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    position: relative;
    z-index: 2;
    margin-bottom: 18px;
}
.biz-card-headlines {
    flex: 1;
    min-width: 0;
}
.biz-card-tma {
    flex-shrink: 0;
    text-align: center;
    max-width: 88px;
}
.biz-card-tma-name {
    font-size: 10px;
    font-weight: 800;
    color: rgba(148, 163, 184, 0.95);
    margin-bottom: 4px;
    line-height: 1.2;
    letter-spacing: 0.02em;
}
.biz-card-tma-qr {
    width: 72px;
    height: 72px;
    margin: 0 auto;
}
.biz-card-tma-qr img {
    display: block;
    width: 72px;
    height: 72px;
    border-radius: 8px;
    background: #fff;
    padding: 2px;
    box-sizing: border-box;
}
.biz-card h3 {
    position: relative;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 4px;
    color: #ffffff;
}
.biz-card .role {
    position: relative;
    font-size: 13px;
    color: #60a5fa;
    font-weight: 600;
    margin-bottom: 14px;
}
.biz-card .row {
    position: relative;
    font-size: 11px;
    color: rgba(226, 232, 240, 0.9);
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    gap: 8px;
}
.biz-card .row span:first-child {
    color: rgba(148, 163, 184, 0.85);
    flex-shrink: 0;
}
.biz-card .chips {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}
.biz-card .chips i {
    font-style: normal;
    font-size: 9px;
    padding: 5px 10px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
}
