/* ==========================================
   高禾电商人才甄选系统 - 手机端样式
   参照 ghrczx.com 官方设计
   ========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #03bb7a;
    --primary-hover: #029a65;
    --danger-color: #ff4d4f;
    --warning-color: #faad14;
    --orange-color: #ff6b35;
    --text-color: #333;
    --text-secondary: #666;
    --text-light: #999;
    --border-color: #e8e8e8;
    --bg-color: #f5f5f5;
    --white: #fff;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-size: 14px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* ==================== 页面容器 ==================== */
#app {
    min-height: 100vh;
    max-width: 750px;
    margin: 0 auto;
    background-color: var(--white);
}

.page {
    display: none;
    min-height: 100vh;
    background-color: var(--bg-color);
}

.page.active {
    display: block;
}

/* ==================== 顶部应用栏 ==================== */
.app-header {
    background: var(--white);
    padding: 12px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
}

.header-close {
    font-size: 24px;
    color: var(--text-light);
    width: 30px;
    cursor: pointer;
}

.header-title {
    text-align: center;
    flex: 1;
}

.title-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
}

.title-url {
    font-size: 12px;
    color: var(--text-light);
}

.header-menu {
    font-size: 20px;
    color: var(--text-light);
    width: 30px;
    text-align: right;
}

/* ==================== 进度指示器 ==================== */
.progress-indicator {
    padding: 15px 20px 5px;
    background: var(--white);
}

.progress-dots {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin-bottom: 5px;
}

.progress-dots .dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--border-color);
    border: 3px solid var(--white);
    z-index: 2;
    transition: all 0.3s;
}

.progress-dots .dot.active {
    background: var(--primary-color);
}

.progress-dots .dot.done {
    background: var(--primary-color);
}

.progress-line {
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
}

.progress-line-fill {
    height: 100%;
    background: linear-gradient(90deg, #7c3aed, #a855f7);
    border-radius: 3px;
    transition: width 0.3s;
}

/* ==================== 进度文字 ==================== */
.progress-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
}

.progress-text span {
    font-size: 14px;
    color: var(--text-secondary);
}

.btn-start-all {
    background: var(--white);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
}

/* ==================== 模块网格 - 2列布局 ==================== */
.module-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 15px;
    padding-bottom: 80px;
}

.module-card-new {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.module-banner-new {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 15px;
}

.module-banner-new img {
    max-width: 60px;
    max-height: 60px;
    object-fit: contain;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.banner-text {
    color: var(--white);
    font-size: 18px;
    font-weight: 600;
    position: absolute;
    right: 15px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.module-desc {
    padding: 12px 15px;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    min-height: 60px;
}

.module-btn {
    display: block;
    width: calc(100% - 30px);
    margin: 0 15px 15px;
    padding: 10px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    text-align: center;
}

.module-btn.disabled {
    background: #ccc;
    color: var(--text-light);
}

/* ==================== 首页顶部Banner ==================== */
.home-top-banner {
    width: 100%;
}

.home-top-banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* ==================== 进度信息区域 ==================== */
.progress-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: var(--white);
}

.progress-info {
    font-size: 14px;
    color: var(--text-secondary);
}

.progress-info strong {
    color: var(--primary-color);
    font-size: 16px;
}

.btn-start-main {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 10px 25px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-start-main:active {
    transform: scale(0.96);
}

/* ==================== 首页进度条 ==================== */
.progress-bar-main {
    height: 6px;
    background: #e0e0e0;
    margin: 0 20px 15px;
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill-main {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), #7dd3c0);
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* ==================== 首页模块卡片 ==================== */
.module-card-home {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.module-banner-img {
    width: 100%;
}

.module-banner-img img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px 12px 0 0;
}

.module-info {
    padding: 12px 15px;
}

.module-desc-text {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
    min-height: 36px;
}

.module-action-btn {
    display: block;
    width: calc(100% - 24px);
    margin: 0 12px 12px;
    padding: 8px 0;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s;
}

.module-action-btn:active {
    transform: scale(0.96);
}

.module-action-btn.disabled {
    background: #e0e0e0;
    color: var(--text-light);
    cursor: default;
}

.module-action-btn.disabled:active {
    transform: none;
}

/* ==================== 首页内容 ==================== */
.home-content {
    padding: 20px;
    padding-bottom: 80px;
}

.home-banner {
    position: relative;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    margin-bottom: 20px;
}

.home-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
}

.banner-overlay h2 {
    font-size: 24px;
    margin-bottom: 8px;
}

.banner-overlay p {
    font-size: 14px;
    opacity: 0.9;
}

.home-info {
    display: flex;
    justify-content: space-around;
    background: var(--white);
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.info-item {
    text-align: center;
}

.info-label {
    display: block;
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 5px;
}

.info-value {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
}

.home-modules {
    background: var(--white);
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.module-preview {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed var(--border-color);
}

.module-preview:last-child {
    border-bottom: none;
}

.module-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 12px;
}

.module-preview span:last-child {
    font-size: 14px;
    color: var(--text-color);
}

.btn-start-test {
    width: 100%;
    padding: 16px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 25px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
}

/* ==================== 模块标签栏 ==================== */
.module-tabs {
    display: flex;
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.module-tab {
    flex: 1;
    min-width: 70px;
    padding: 12px 8px;
    text-align: center;
    font-size: 13px;
    color: var(--text-secondary);
    white-space: nowrap;
    cursor: pointer;
    position: relative;
}

.module-tab.active {
    color: var(--primary-color);
    font-weight: 500;
}

.module-tab.done {
    color: var(--primary-color);
}

.module-tab.done::after {
    content: '✓';
    font-size: 10px;
    margin-left: 2px;
}

/* ==================== 模块进度条 ==================== */
.module-progress-bar {
    background: var(--white);
    padding: 15px 20px;
}

.progress-track {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.progress-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #e0e0e0;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 2px #e0e0e0;
    z-index: 2;
}

.progress-dot.active {
    background: var(--primary-color);
    box-shadow: 0 0 0 2px var(--primary-color);
}

.progress-dot.done {
    background: var(--primary-color);
    box-shadow: 0 0 0 2px var(--primary-color);
}

.progress-line {
    flex: 1;
    height: 3px;
    background: #e0e0e0;
    margin: 0 -5px;
}

.progress-line.done {
    background: var(--primary-color);
}

/* ==================== 模块介绍页 ==================== */
.module-intro {
    background: var(--white);
}

.intro-banner {
    width: 100%;
}

.intro-banner img {
    width: 100%;
    height: auto;
    display: block;
}

.intro-title {
    position: absolute;
    right: 30px;
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.intro-content {
    padding: 20px;
}

.intro-content p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.intro-sample {
    padding: 0 20px 20px;
}

.sample-title {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 15px;
}

.sample-question {
    background: var(--bg-color);
    padding: 15px;
    border-radius: 8px;
}

.sample-question > p {
    font-size: 14px;
    margin-bottom: 10px;
}

.sample-options {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 13px;
    color: var(--text-secondary);
}

.sample-scale {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    position: relative;
}

.sample-scale::before {
    content: '';
    position: absolute;
    left: 10%;
    right: 10%;
    top: 50%;
    height: 2px;
    background: #ddd;
    z-index: 0;
}

.sample-scale .scale-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid #ddd;
    z-index: 1;
}

.sample-scale .scale-dot.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.scale-labels {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: var(--text-light);
}

/* ==================== 答题区域 ==================== */
.test-area {
    background: var(--white);
}

/* ==================== 模块完成过渡页 ==================== */
.module-complete-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 40px 20px;
    text-align: center;
    background: var(--white);
}

.complete-icon-small {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 15px;
}

.module-complete-container h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.module-complete-container > p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.next-module-info {
    background: var(--bg-color);
    padding: 20px 40px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.next-module-info p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.next-module-info h2 {
    font-size: 24px;
    color: var(--primary-color);
}

/* ==================== 底部导航 ==================== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 750px;
    margin: 0 auto;
    background: var(--white);
    display: flex;
    justify-content: space-around;
    padding: 8px 0;
    border-top: 1px solid var(--border-color);
    z-index: 100;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    padding: 5px 20px;
}

.nav-icon {
    font-size: 20px;
    margin-bottom: 2px;
}

.nav-text {
    font-size: 12px;
    color: var(--text-light);
}

.nav-item.active .nav-text {
    color: var(--primary-color);
}

/* ==================== 表单样式 ==================== */
.form-container {
    padding: 20px;
    background: var(--white);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-color);
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="date"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.gender-options {
    display: flex;
    gap: 20px;
}

.gender-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.gender-option input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.btn-primary {
    width: 100%;
    padding: 14px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 20px;
}

.btn-secondary {
    width: 100%;
    padding: 14px;
    background: var(--white);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
}

/* ==================== 弹窗样式 ==================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: var(--white);
    border-radius: 12px;
    width: 80%;
    max-width: 320px;
    padding: 25px;
}

.modal-header {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 20px;
}

.modal-question {
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    margin: 20px 0;
}

.modal-buttons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.modal-btn {
    flex: 1;
    padding: 12px;
    border-radius: 25px;
    font-size: 14px;
    cursor: pointer;
}

.modal-btn.secondary {
    background: var(--white);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.modal-btn.primary {
    background: var(--primary-color);
    color: var(--white);
    border: none;
}

/* ==================== 测评头部 - 新样式 ==================== */
.test-header-new {
    background: var(--primary-color);
    color: var(--white);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.test-back {
    font-size: 20px;
    cursor: pointer;
}

.test-module-name {
    font-size: 16px;
    font-weight: 500;
}

.test-page-info {
    font-size: 14px;
}

.test-timer-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.test-timer-circle::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: var(--white);
    animation: timer-rotate 60s linear infinite;
}

@keyframes timer-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.test-timer-circle span {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
}

/* 测试模式按钮 */
.test-mode-btn {
    padding: 6px 12px;
    font-size: 13px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    color: var(--white);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.test-mode-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.test-mode-btn.active {
    background: #ff6b6b;
    border-color: #ff6b6b;
    font-weight: 600;
}

/* 测试模式横幅 */
.test-mode-banner {
    background: linear-gradient(90deg, #ff6b6b, #ee5a6f);
    color: var(--white);
    text-align: center;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.9; }
}


.test-timer-circle.warning {
    animation: pulse 0.5s infinite;
}

.test-timer-circle.warning span {
    color: var(--danger-color);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ==================== 题目容器 - 多题一页 ==================== */
.questions-container {
    padding: 0 20px 220px;
    background: var(--white);
}

.question-item {
    padding: 20px 0;
    border-bottom: 1px dashed var(--border-color);
}

.question-item:last-child {
    border-bottom: none;
}

.question-stem {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 15px;
}

.question-options-ab {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 10px 5px;
    background: #f8f9fa;
    border-radius: 6px;
}

.option-a, .option-b {
    font-size: 14px;
    color: var(--text-color);
    max-width: 45%;
    line-height: 1.5;
}

.option-a {
    text-align: left;
}

.option-b {
    text-align: right;
}

/* 5档选择 - 横向排列 */
.scale-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.scale-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    flex: 1;
}

.scale-radio {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #ddd;
    background: var(--white);
    margin-bottom: 8px;
    transition: all 0.2s;
    position: relative;
}

.scale-option:hover .scale-radio {
    border-color: var(--primary-color);
}

.scale-option.selected .scale-radio {
    border-color: var(--primary-color);
    background: var(--primary-color);
}

.scale-option.selected .scale-radio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--white);
}

.scale-label {
    font-size: 12px;
    color: var(--text-light);
    white-space: nowrap;
}

/* 选项之间的连接线 */
.scale-options::before {
    content: '';
    position: absolute;
    left: 14%;
    right: 14%;
    top: 14px;
    height: 2px;
    background: #ddd;
    z-index: 0;
}

.scale-options {
    position: relative;
}

.scale-option {
    z-index: 1;
}

/* ==================== 测评底部按钮 ==================== */
.test-footer-new {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 750px;
    margin: 0 auto;
    background: var(--white);
    padding: 15px 20px;
    display: flex;
    gap: 15px;
    border-top: 1px solid var(--border-color);
    z-index: 999;
}

.btn-prev-new, .btn-next-new {
    flex: 1;
    padding: 12px;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-prev-new {
    background: var(--white);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.btn-prev-new:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-next-new {
    background: var(--primary-color);
    color: var(--white);
    border: none;
}

/* ==================== 价值观测评样式 ==================== */
.values-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 15px 20px;
    display: flex;
    align-items: center;
}

.values-back {
    font-size: 20px;
    margin-right: 15px;
    cursor: pointer;
}

.values-title {
    font-size: 18px;
    font-weight: 500;
}

.values-step {
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 20px 20px;
    font-size: 14px;
}

.values-group-header {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
}

.group-title {
    font-size: 16px;
    font-weight: 600;
}

.group-count {
    font-size: 14px;
    color: var(--orange-color);
}

/* 词语网格 */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 15px 20px;
    background: var(--white);
    min-height: 400px;
}

.value-word {
    padding: 12px 8px;
    text-align: center;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.2s;
}

.value-word:hover {
    border-color: var(--primary-color);
}

.value-word.selected {
    background: rgba(3, 187, 122, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.values-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 750px;
    margin: 0 auto;
    padding: 15px 20px;
    background: var(--white);
    border-top: 1px solid var(--border-color);
}

.btn-values-next {
    width: 100%;
    padding: 14px;
    background: var(--white);
    color: var(--primary-color);
    border: none;
    font-size: 16px;
    cursor: pointer;
}

/* ==================== 完成页面 ==================== */
.complete-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 40px 20px;
    text-align: center;
    background: var(--white);
}

.complete-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin-bottom: 20px;
}

.complete-container h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.complete-container p {
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.generating-text {
    color: var(--primary-color);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.result-preview {
    background: var(--white);
    padding: 30px 50px;
    border-radius: 12px;
    margin: 20px 0;
    box-shadow: var(--shadow);
}

.mbti-type {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.mbti-name {
    font-size: 18px;
    color: var(--text-secondary);
}

/* ==================== 报告页面 ==================== */
.report-container {
    padding: 20px;
    background: var(--bg-color);
}

.report-section {
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: var(--shadow);
}

.report-section h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.report-section p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-color);
}

.report-section ul {
    list-style: none;
    padding: 0;
}

.report-section li {
    padding: 8px 0;
    border-bottom: 1px dashed var(--border-color);
    font-size: 14px;
}

.report-section li:last-child {
    border-bottom: none;
}

.btn-download {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
}

/* ==================== 词语选择题样式 ==================== */
.word-selection {
    padding: 25px 0;
}

.word-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 20px 0;
}

.word-option {
    padding: 12px 8px;
    text-align: center;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.word-option:hover {
    border-color: var(--primary-color);
    background: rgba(3, 187, 122, 0.05);
}

.word-option.selected {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    font-weight: 500;
}

.word-count {
    text-align: center;
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 15px;
}

.word-count span {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 16px;
}

/* ==================== Toast 提示 ==================== */
.toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.75);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    z-index: 1000;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ==================== 响应式 ==================== */
@media screen and (min-width: 750px) {
    #app {
        border-left: 1px solid var(--border-color);
        border-right: 1px solid var(--border-color);
    }
}

@media screen and (max-width: 375px) {
    .module-grid {
        gap: 10px;
        padding: 10px;
    }

    .module-banner-new {
        height: 80px;
    }

    .banner-text {
        font-size: 16px;
    }

    .scale-label {
        font-size: 10px;
    }
}

/* ==================== 词语选择题页面样式 ==================== */
.word-choice-page {
    background: var(--bg-color);
    min-height: 100vh;
}

.word-choice-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 15px 20px;
    display: flex;
    align-items: center;
}

.word-choice-back {
    font-size: 20px;
    margin-right: 15px;
    cursor: pointer;
}

.word-choice-module {
    font-size: 18px;
    font-weight: 500;
}

.word-choice-tip {
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 15px 15px;
    font-size: 13px;
    line-height: 1.6;
}

.word-choice-body {
    background: var(--white);
    margin: 10px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 15px;
    overflow-y: auto;
    max-height: calc(100vh - 250px);
}

.word-choice-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.word-choice-group {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
}

.word-choice-count {
    font-size: 14px;
    color: var(--orange-color);
}

.word-choice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.word-item {
    padding: 10px 12px;
    text-align: center;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.2s;
}

.word-item:hover {
    border-color: var(--primary-color);
    background: rgba(3, 187, 122, 0.05);
}

.word-item.selected {
    background: rgba(3, 187, 122, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
    font-weight: 500;
}

.word-choice-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 750px;
    margin: 0 auto;
    padding: 15px 20px;
    background: var(--white);
    border-top: 1px solid var(--border-color);
    z-index: 999;
}

.btn-word-next {
    width: 100%;
    padding: 14px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-word-next:active {
    transform: scale(0.98);
}

/* ==================== 词语排序页面样式 ==================== */
.word-sort-page {
    background: var(--bg-color);
    min-height: 100vh;
}

.word-sort-body {
    background: var(--white);
    margin: 10px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 15px;
    padding-bottom: 100px;
}

.word-sort-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.word-sort-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: grab;
    transition: all 0.2s;
}

.word-sort-item:hover {
    border-color: var(--primary-color);
    background: rgba(3, 187, 122, 0.03);
}

.word-sort-item:active {
    cursor: grabbing;
}

.word-sort-item.dragging {
    opacity: 0.5;
    background: rgba(3, 187, 122, 0.1);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.sort-number {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    min-width: 30px;
}

.sort-word {
    flex: 1;
    font-size: 15px;
    color: var(--text-color);
}

.sort-handle {
    font-size: 18px;
    color: var(--text-light);
    cursor: grab;
}

.sort-handle:active {
    cursor: grabbing;
}

.btn-word-submit {
    width: 100%;
    padding: 14px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-word-submit:active {
    transform: scale(0.98);
}

/* ==================== 报告页面样式 ==================== */
.report-section {
    background: var(--white);
    margin: 15px;
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.report-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.report-section p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.trait-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.trait-tag {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, var(--primary-color), #4ecdc4);
    color: var(--white);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.scores-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.score-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.score-item > span:first-child {
    width: 60px;
    font-size: 13px;
    color: var(--text-secondary);
}

.score-item > span:last-child {
    width: 45px;
    text-align: right;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-color);
}

.score-bar {
    flex: 1;
    height: 10px;
    background: #e8e8e8;
    border-radius: 5px;
    overflow: hidden;
}

.score-bar > div {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), #4ecdc4);
    border-radius: 5px;
    transition: width 0.5s ease;
}

.advice-grid {
    display: grid;
    gap: 15px;
}

.advice-item {
    background: var(--bg-color);
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.advice-item h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
}

.advice-item p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.report-actions {
    margin-top: 20px;
}

/* ==================== 加载动画 ==================== */
.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #e8e8e8;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ==================== 登录注册页面 ==================== */
.login-container {
    padding: 40px 30px;
    background: var(--white);
    min-height: 100vh;
}

.login-logo {
    width: 100%;
    max-width: 200px;
    margin: 0 auto 20px;
}

.login-logo img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.login-title {
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 30px;
}

.login-tabs {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.login-tab {
    font-size: 16px;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 5px 10px;
    position: relative;
}

.login-tab.active {
    color: var(--primary-color);
    font-weight: 600;
}

.login-tab.active::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
}

.login-form,
.register-form {
    margin-top: 20px;
}

.form-group input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s;
}

.form-group input[type="password"]:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* ==================== 简化顶部标题 ==================== */
.form-header {
    background: var(--white);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.header-back {
    font-size: 22px;
    color: var(--text-color);
    cursor: pointer;
    width: 30px;
}

.header-title-text {
    flex: 1;
    text-align: center;
    font-size: 17px;
    font-weight: 600;
    color: var(--text-color);
    margin-right: 30px;
}

/* ==================== 报告页面 - 滑动切换 ==================== */
#page-report {
    background: var(--white);
    display: none;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}
#page-report.active {
    display: flex;
}

.report-header {
    background: #2d8cf0;
    color: var(--white);
    padding: 12px 15px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    z-index: 10;
}
.report-header .header-back {
    color: var(--white);
    font-size: 22px;
    cursor: pointer;
    width: 30px;
}
.report-header .header-title-text {
    color: var(--white);
    margin-right: 0;
    flex: 1;
}
.report-page-indicator {
    font-size: 13px;
    opacity: 0.9;
    margin-right: 10px;
}
.report-header .btn-download {
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.5);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
}

/* 滑动容器 */
.report-swiper {
    flex: 1;
    overflow: hidden;
    position: relative;
    touch-action: pan-y;
}
.report-slides {
    display: flex;
    transition: transform 0.35s ease;
    height: 100%;
}
.report-slide {
    min-width: 100%;
    height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.slide-content {
    padding: 20px 16px 30px;
    max-width: 100%;
}

/* 底部导航 */
.report-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    background: var(--white);
    border-top: 1px solid var(--border-color);
    flex-shrink: 0;
    gap: 12px;
}
.report-nav-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: var(--white);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}
.report-nav-btn:active {
    background: #f0f0f0;
}
.report-dots {
    display: flex;
    gap: 6px;
    align-items: center;
}
.report-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    transition: all 0.3s;
    cursor: pointer;
}
.report-dot.active {
    background: #2d8cf0;
    width: 20px;
    border-radius: 4px;
}

/* ==================== 封面页 ==================== */
.slide-cover {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 140px);
    text-align: center;
}
.cover-illustration {
    margin-bottom: 30px;
}
.cover-title {
    font-size: 26px;
    font-weight: 700;
    color: #2d8cf0;
    margin-bottom: 30px;
}
.cover-info {
    text-align: left;
    width: 100%;
    max-width: 340px;
}
.cover-row {
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-secondary);
}
.cover-label {
    color: var(--text-light);
}
.cover-value {
    color: var(--text-color);
    font-weight: 500;
}

/* ==================== 目录页 ==================== */
.slide-main-title {
    font-size: 24px;
    font-weight: 700;
    color: #2d8cf0;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #2d8cf0;
}
.title-en {
    font-size: 14px;
    color: #aaa;
    font-weight: 400;
    margin-left: 10px;
}
.toc-section-tag {
    display: inline-block;
    background: #26c6a0;
    color: var(--white);
    padding: 3px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin: 12px 0 6px;
}
.toc-chapter {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    padding: 6px 0;
}
.toc-item {
    font-size: 13px;
    color: var(--text-secondary);
    padding: 4px 0 4px 16px;
    display: flex;
    align-items: center;
}
.toc-dots {
    flex: 1;
    border-bottom: 1px dotted #ccc;
    margin: 0 8px;
    height: 1px;
}
.toc-page {
    color: var(--text-light);
    font-size: 12px;
}

/* ==================== 通用报告样式 ==================== */
.slide-section-title {
    font-size: 22px;
    font-weight: 700;
    color: #2d8cf0;
    padding-left: 12px;
    border-left: 4px solid #2d8cf0;
    margin-bottom: 12px;
}
.slide-subtitle {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    margin: 16px 0 8px;
}
.slide-desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.6;
}
.slide-text {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 8px;
}
.highlight-text {
    color: #2d8cf0;
    font-weight: 500;
    background: rgba(45,140,240,0.06);
    padding: 10px 12px;
    border-radius: 6px;
    border-left: 3px solid #2d8cf0;
}

/* ==================== 概要页 ==================== */
.guide-steps {
    background: rgba(45,140,240,0.06);
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 12px;
}
.guide-step {
    padding: 6px 0;
    font-size: 14px;
    color: #2d8cf0;
    font-weight: 500;
}
.step-num {
    margin-right: 6px;
}
.test-situation {
    background: #f8f9fa;
    padding: 12px 16px;
    border-radius: 8px;
}
.situation-row {
    padding: 4px 0;
    font-size: 13px;
}
.sit-label { color: var(--text-light); }
.sit-value { color: var(--text-color); font-weight: 500; }
.sit-note {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 8px;
    line-height: 1.6;
}

/* ==================== 图表容器 ==================== */
.chart-container {
    margin: 10px 0;
    position: relative;
}
.chart-radar-container {
    max-width: 300px;
    margin: 10px auto;
}
.chart-bar-container {
    max-height: 220px;
}
.chart-pie-container {
    max-width: 260px;
    margin: 10px auto;
}

/* ==================== 元五人格页 ==================== */
.trait-details {
    margin: 8px 0;
}
.trait-detail-item {
    padding: 6px 0;
    font-size: 12px;
    line-height: 1.6;
    color: var(--text-secondary);
}
.trait-detail-item strong {
    color: var(--text-color);
}
.label-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}
.label-tag {
    padding: 6px 14px;
    background: #2d8cf0;
    color: var(--white);
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
}
.label-tag:nth-child(even) {
    background: #26c6a0;
}

/* ==================== 职业角色页 ==================== */
.role-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 10px 0;
}
.role-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 12px;
    border-top: 3px solid #2d8cf0;
}
.role-card:nth-child(2) {
    border-top-color: #26c6a0;
}
.role-card-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 6px;
}
.role-card-type {
    display: inline-block;
    background: #2d8cf0;
    color: var(--white);
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 11px;
    margin-bottom: 6px;
}
.role-card p {
    font-size: 11px;
    line-height: 1.5;
    color: var(--text-secondary);
}
.job-recommend {
    margin-top: 8px;
}
.job-section {
    margin-bottom: 10px;
}
.job-section-title {
    font-size: 13px;
    font-weight: 600;
    color: #26c6a0;
    margin-bottom: 4px;
}
.job-section-title.avoid {
    color: #ff4d4f;
}
.job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.job-tag {
    padding: 4px 10px;
    background: rgba(38,198,160,0.1);
    color: #26c6a0;
    border-radius: 4px;
    font-size: 12px;
}
.job-tag.avoid {
    background: rgba(255,77,79,0.1);
    color: #ff4d4f;
}

/* ==================== 职业能力页 ==================== */
.ability-rank-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 10px 0;
}
.ability-rank-list {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 10px;
}
.rank-title {
    font-size: 13px;
    font-weight: 600;
    color: #2d8cf0;
    margin-bottom: 8px;
}
#ability-rank-bottom .rank-title {
    color: #ff4d4f;
}
.rank-item {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    font-size: 12px;
    color: var(--text-secondary);
}
.rank-item .rank-score {
    font-weight: 600;
    color: #2d8cf0;
}
#ability-rank-bottom .rank-item .rank-score {
    color: #ff4d4f;
}
.ability-layers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 10px;
}
.ability-layer {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
}
.layer-name {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}
.layer-score {
    font-size: 24px;
    font-weight: 700;
    color: #2d8cf0;
}
.layer-level {
    font-size: 11px;
    color: var(--text-light);
}

/* ==================== 职业动机页 ==================== */
.motivation-combo {
    margin: 8px 0;
}
.combo-row {
    display: flex;
    align-items: center;
    padding: 5px 0;
    font-size: 13px;
}
.combo-label {
    width: 70px;
    color: var(--text-light);
    font-size: 12px;
}
.combo-value {
    color: var(--text-color);
    font-weight: 500;
}
.motivation-tendency {
    margin-top: 8px;
}
.tendency-bar {
    display: flex;
    align-items: center;
    margin: 8px 0;
    gap: 8px;
}
.tendency-label {
    width: 50px;
    font-size: 12px;
    color: var(--text-secondary);
    text-align: center;
}
.tendency-track {
    flex: 1;
    height: 24px;
    background: #e8e8e8;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}
.tendency-fill {
    height: 100%;
    background: linear-gradient(90deg, #2d8cf0, #26c6a0);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
    min-width: 30px;
}

/* ==================== 职业价值观页 ==================== */
.values-anchor-cards {
    margin-top: 10px;
}
.anchor-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 8px;
    border-left: 3px solid #26c6a0;
}
.anchor-card-title {
    font-size: 14px;
    font-weight: 600;
    color: #26c6a0;
    margin-bottom: 4px;
}
.anchor-card p {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ==================== 职业优势页 ==================== */
.talent-board {
    margin-top: 10px;
}
.talent-category {
    margin-bottom: 10px;
}
.talent-cat-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-color);
    padding: 4px 8px;
    background: rgba(45,140,240,0.1);
    border-radius: 4px;
    margin-bottom: 6px;
    display: inline-block;
}
.talent-items {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.talent-item {
    padding: 4px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 12px;
    color: var(--text-secondary);
}
.talent-item.highlight {
    background: #2d8cf0;
    color: var(--white);
    border-color: #2d8cf0;
}
.talent-item.weak {
    background: #fff3e0;
    color: #ff9800;
    border-color: #ff9800;
}

/* ==================== MBTI风格页 ==================== */
.mbti-dimensions-chart {
    margin: 12px 0;
}
.mbti-dim-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    gap: 6px;
}
.mbti-dim-label {
    width: 22px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
}
.mbti-dim-label.left { color: #2d8cf0; }
.mbti-dim-label.right { color: #aaa; }
.mbti-dim-bar {
    flex: 1;
    height: 28px;
    background: #e8e8e8;
    border-radius: 14px;
    position: relative;
    overflow: hidden;
}
.mbti-dim-fill {
    height: 100%;
    background: linear-gradient(90deg, #2d8cf0, #5cadff);
    border-radius: 14px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
}
.mbti-dim-name {
    font-size: 11px;
    color: var(--text-light);
    width: 45px;
    text-align: center;
}
.mbti-temperament, .mbti-type-display {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #2d8cf0 !important;
}
.mbti-style-box {
    background: rgba(45,140,240,0.06);
    padding: 14px 16px;
    border-radius: 8px;
    margin-top: 10px;
}
.mbti-style-box h4 {
    font-size: 14px;
    color: #2d8cf0;
    margin-bottom: 8px;
}
.mbti-style-box p {
    font-size: 12px;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* ==================== 发展建议页 ==================== */
.slide-advice .slide-text {
    background: #f8f9fa;
    padding: 10px 14px;
    border-radius: 6px;
    margin-bottom: 10px;
}
.advice-jobs {
    margin: 8px 0;
}
.advice-job-item {
    background: #f8f9fa;
    padding: 10px 14px;
    border-radius: 6px;
    margin-bottom: 6px;
    font-size: 12px;
    line-height: 1.6;
    color: var(--text-secondary);
}
