/* 知岁OS数据导入页样式 */

.zsos-import-page {
    min-height: 100vh;
    background: linear-gradient(180deg, #E8F0FE 0%, #F5F7FA 40%, #fff 70%);
}

/* 顶部区域 */
.import-header {
    padding: 16px 20px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.import-back {
    font-size: 18px;
    color: #374151;
    cursor: pointer;
    padding: 4px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.import-title-area {
    flex: 1;
    margin-top: 24px;
}

.import-main-title {
    font-size: 22px;
    font-weight: 700;
    color: #1f2937;
    letter-spacing: -0.3px;
}

.import-subtitle {
    font-size: 13px;
    color: #6b7280;
    margin-top: 4px;
    letter-spacing: 1.5px;
}

/* 右侧装饰图占位 */
.import-illustration {
    width: 120px;
    height: 90px;
    position: relative;
}

.import-illustration::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10px;
    width: 80px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, #C4D5F8 0%, #A5C4F0 100%);
    opacity: 0.6;
}

.import-illustration::before {
    content: '';
    position: absolute;
    right: 15px;
    top: 0;
    width: 50px;
    height: 35px;
    border-radius: 8px;
    background: linear-gradient(135deg, #D9E5FC 0%, #BDD1F5 100%);
}

/* 导入卡片 */
.import-card {
    margin: 20px 16px 0;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(79, 110, 247, 0.08);
    overflow: hidden;
}

.import-step {
    padding: 18px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.import-step:last-child {
    border-bottom: none;
}

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

.step-num {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #4F6EF7;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-text {
    font-size: 14px;
    color: #374151;
    line-height: 1.4;
}

.btn-primary-full {
    display: block;
    width: 100%;
    padding: 11px 0;
    text-align: center;
    background: linear-gradient(135deg, #4F6EF7, #6B85FA);
    color: #fff;
    border: none;
    border-radius: 9px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.1s;
}

.btn-primary-full:active {
    opacity: 0.85;
    transform: scale(0.98);
}

.token-textarea {
    width: 100%;
    min-height: 80px;
    padding: 12px 14px;
    border: 1.5px solid #e8ecf2;
    border-radius: 9px;
    font-size: 14px;
    color: #374151;
    resize: vertical;
    outline: none;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #fafbfc;
    transition: border-color 0.2s;
}

.token-textarea:focus {
    border-color: #4F6EF7;
    background: #fff;
}

.token-textarea::placeholder {
    color: #b0b7c3;
}

.btn-import-wrapper {
    margin-top: 12px;
    text-align: right;
}

.btn-import {
    padding: 8px 28px;
    background: linear-gradient(135deg, #4F6EF7, #6B85FA);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.1s;
}

.btn-import:active {
    opacity: 0.85;
    transform: scale(0.97);
}

.btn-import.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

/* 说明区域 */
.import-notes {
    margin: 20px 16px 0;
    padding: 0 4px;
}

.notes-title {
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 12px;
}

.note-item {
    display: flex;
    gap: 8px;
    padding: 6px 0;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.55;
}

.note-num {
    flex-shrink: 0;
    color: #9ca3af;
}
