body {
    background: #f5f6fa;
    font-family: 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', Arial, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.generator-container {
    background: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 auto !important;
    min-height: 0 !important;
    max-width: 100% !important;
}

/* 转圈动画 */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 8px;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 动画 */
.form-step {
    display: flex;
    flex-direction: column;
    gap: 18px;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s, transform 0.4s;
}
.form-step.fade-out {
    opacity: 0;
    transform: translateY(30px);
    pointer-events: none;
}
.form-step.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.generator-header {
    text-align: center;
    margin-bottom: 32px;
}
.generator-header .logo {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
}
.generator-header h1 {
    font-size: 2rem;
    margin: 0 0 8px 0;
    font-weight: 700;
    letter-spacing: 2px;
}
.generator-header p {
    color: #888;
    font-size: 1rem;
    margin: 0;
}
#generator-form {
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
    background: none;
    box-shadow: none;
    padding: 0;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.form-group label {
    font-weight: 500;
    color: #333;
    margin-bottom: 2px;
}
.form-group input,
.form-group textarea,
.form-group select {
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    background: #fafbfc;
    transition: border 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #007bff;
    outline: none;
}
.form-group textarea {
    resize: vertical;
    min-height: 60px;
    max-height: 200px;
}
.step-indicator {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 18px;
}
.step-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d1d5db;
    transition: background 0.2s;
}
.step-dot.active {
    background: #007bff;
}
.btn {
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 0;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn:hover {
    background: #0056b3;
}
.btn-secondary {
    background: #e9ecef;
    color: #333;
}
.btn-secondary:hover {
    background: #d1d5db;
}
.btn-group {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}
#generator-footer {
    text-align: center;
    margin-top: 32px;
    color: #aaa;
    font-size: 0.95rem;
}
#generator-footer .powered {
    margin: 0;
}
/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.25);
    justify-content: center;
    align-items: center;
}
.modal.show {
    display: flex;
}
.modal-content {
    background: #fff;
    border-radius: 12px;
    padding: 32px 24px 24px 24px;
    max-width: 480px;
    width: 90vw;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    text-align: center;
}
.modal-content h2 {
    margin-top: 0;
    margin-bottom: 18px;
    font-size: 1.3rem;
}
#config-result {
    width: 100%;
    min-height: 180px;
    font-size: 0.98rem;
    font-family: 'Fira Mono', 'Consolas', 'Menlo', monospace;
    margin-bottom: 18px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    background: #fafbfc;
    padding: 12px;
    resize: vertical;
}
@media (max-width: 600px) {
    body {
        padding: 0;
    }
    .generator-header.no-card {
        padding: 18px 0 0 0;
    }
    .progress-bar-container {
        margin-bottom: 18px;
    }
}

/* 两栏布局 */
.generator-layout {
    display: flex;
    min-height: 100vh;
    width: 100vw;
    background: #f5f6fa;
}
.generator-side {
    width: 380px;
    background: linear-gradient(135deg, #e3e9ff 0%, #f5f6fa 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 2px 0 16px rgba(0,0,0,0.04);
    z-index: 1;
}
.side-content {
    width: 90%;
    max-width: 320px;
    text-align: center;
    margin: 0 auto;
    padding: 32px 0;
}
.side-logo {
    width: 64px;
    height: 64px;
    margin-bottom: 18px;
}
.side-content h2 {
    font-size: 1.5rem;
    margin: 0 0 12px 0;
    font-weight: 700;
    letter-spacing: 1px;
}
.side-content p {
    color: #555;
    font-size: 1.08rem;
    margin-bottom: 18px;
}
.side-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}
.side-list li {
    font-size: 1rem;
    color: #333;
    margin: 12px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.side-list a {
    color: #007bff;
    text-decoration: none;
}
.side-list a:hover {
    color: #007bff;
}
.generator-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    min-height: 100vh;
    background: #fff;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
}
.generator-header.no-card {
    background: none;
    box-shadow: none;
    border-radius: 0;
    margin: 0 auto 24px auto;
    padding: 48px 0 0 0;
    text-align: center;
}
.generator-header.no-card .logo {
    margin-bottom: 12px;
}

/* 进度条样式 */
.progress-bar-container {
    width: 100%;
    height: 6px;
    background: #e6eaf2;
    border-radius: 3px;
    margin: 0 0 32px 0;
    overflow: hidden;
}
.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #007bff 60%, #4fc3f7 100%);
    border-radius: 3px;
    transition: width 0.4s cubic-bezier(.4,1.3,.6,1);
}

@media (max-width: 900px) {
    .generator-layout {
        flex-direction: column;
    }
    .generator-side {
        width: 100vw;
        min-height: 180px;
        box-shadow: none;
        border-radius: 0 0 16px 16px;
    }
    .generator-main {
        min-height: auto;
        padding: 0 0 24px 0;
    }
}
@media (max-width: 600px) {
    .generator-side {
        min-height: 120px;
        padding: 8px 0;
    }
    .side-content {
        padding: 12px 0;
    }
}

.side-tips {
    margin-top: 24px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.side-tips h4 {
    margin: 0 0 12px 0;
    font-size: 14px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 6px;
}

.side-tips ul {
    margin: 0;
    padding-left: 16px;
    list-style: none;
}

.side-tips li {
    margin-bottom: 6px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

.side-tips code {
    background: rgba(255, 255, 255, 0.2);
    padding: 1px 4px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 11px;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
    margin-bottom: 4px;
}
.skill-tag {
    display: inline-block;
    background: #e3f0ff;
    color: #1976d2;
    border-radius: 16px;
    padding: 4px 14px;
    font-size: 13px;
    margin: 0;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    border: 1px solid #b3d7ff;
    user-select: none;
}
.skill-tag:hover {
    background: #1976d2;
    color: #fff;
    border-color: #1976d2;
} 