/* =========================================
   Assessment Page Styles
   ========================================= */
:root {
    --bg-page: #f4f7f6;
    --color-dark: #2c3e50;
    --color-accent: #27ae60; /* 使用绿色代表“诊断/通过” */
    --color-border: #e0e0e0;
}

body {
    background-color: var(--bg-page);
}

/* --- Hero --- */
.assessment-hero {
    text-align: center;
    padding: 80px 0 60px;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
}

.hero-badge {
    display: inline-block;
    background: rgba(39, 174, 96, 0.1);
    color: var(--color-accent);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.assessment-hero h1 {
    font-size: 2.5rem;
    color: var(--color-dark);
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
}

.assessment-hero p {
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --- Form Section --- */
.form-section {
    padding: 60px 0;
}

.form-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    display: flex;
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
    min-height: 600px;
}

/* --- Sidebar (Left) --- */
.form-sidebar {
    width: 35%;
    background: var(--color-dark);
    color: #fff;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.form-sidebar h3 {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: rgba(255,255,255,0.9);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 15px;
}

.process-list {
    list-style: none;
    padding: 0;
}

.process-list li {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    opacity: 0.5;
    transition: 0.3s;
}

.process-list li.active {
    opacity: 1;
}

.step-num {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--color-accent);
    font-weight: 700;
}

.step-info strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 5px;
}

.step-info p {
    font-size: 0.85rem;
    margin: 0;
    color: rgba(255,255,255,0.6);
    line-height: 1.4;
}

.security-note {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
}

/* --- Main Form (Right) --- */
.form-main {
    flex: 1;
    padding: 50px;
}

.input-group {
    margin-bottom: 25px;
}

.input-group-row {
    display: flex;
    gap: 20px;
}

.input-group-row .input-group {
    flex: 1;
}

label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 8px;
}

input[type="text"], 
select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-size: 1rem;
    transition: 0.3s;
    background: #f9f9f9;
}

input:focus, 
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1);
}

/* Radio Buttons Styling */
.radio-options {
    display: flex;
    gap: 15px;
}

.radio-box {
    flex: 1;
    position: relative;
}

.radio-box input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-box span {
    display: block;
    text-align: center;
    padding: 10px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-size: 0.9rem;
    color: #555;
    cursor: pointer;
    transition: 0.2s;
}

.radio-box input:checked + span {
    background: rgba(39, 174, 96, 0.1);
    border-color: var(--color-accent);
    color: var(--color-accent);
    font-weight: 600;
}

/* Textarea */
.textarea-wrapper {
    position: relative;
}

textarea {
    width: 100%;
    height: 200px;
    padding: 15px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Lato', sans-serif; /* Monospace feels too code-like, use clean sans */
    resize: vertical;
    background: #f9f9f9;
    line-height: 1.6;
}

.word-count {
    position: absolute;
    bottom: 10px;
    right: 15px;
    font-size: 0.75rem;
    color: #aaa;
    pointer-events: none;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    padding: 15px;
    background: var(--color-dark);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.btn-submit:hover {
    background: #000;
    transform: translateY(-2px);
}

.submit-hint {
    text-align: center;
    font-size: 0.8rem;
    color: #999;
    margin-top: 15px;
}

.submit-hint a {
    color: #999;
    text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .form-card { flex-direction: column; }
    .form-sidebar { width: 100%; padding: 30px; }
    .process-list { display: flex; overflow-x: auto; gap: 30px; padding-bottom: 10px; }
    .process-list li { min-width: 150px; display: block; margin: 0; }
    .input-group-row { flex-direction: column; gap: 0; }
    .radio-options { flex-direction: column; }
}