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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

header {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    text-align: center;
    padding: 30px 20px;
}

header h1 {
    font-size: 1.8rem;
    margin-bottom: 8px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

header h2 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    font-weight: normal;
}

header .subtitle {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* 导航样式 */
.main-nav {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
    padding: 0 20px;
}

.nav-btn {
    flex: 1;
    padding: 15px 20px;
    border: none;
    background: transparent;
    color: #666;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.nav-btn:hover {
    color: #4facfe;
    background: rgba(79, 172, 254, 0.1);
}

.nav-btn.active {
    color: #4facfe;
    background: white;
}

.nav-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

main {
    padding: 30px;
    min-height: 500px;
}

.page-section {
    animation: fadeIn 0.5s ease;
}

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

.hidden {
    display: none !important;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.page-header h3 {
    color: #333;
    font-size: 1.5rem;
}

.page-desc {
    color: #888;
    font-size: 0.9rem;
}

/* 按钮样式 */
.btn {
    padding: 10px 24px;
    border: none;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 172, 254, 0.6);
}

.btn-secondary {
    background: #f0f0f0;
    color: #555;
}

.btn-secondary:hover {
    background: #e0e0e0;
}

.btn-danger {
    background: linear-gradient(135deg, #eb3349 0%, #f45c43 100%);
    color: white;
}

.btn-small {
    padding: 6px 16px;
    font-size: 0.85rem;
}

/* 评估卡片样式 */
.assessments-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.assessment-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.assessment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.assessment-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.assessment-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.assessment-card-date {
    font-size: 0.85rem;
    color: #888;
}

.assessment-card-baby {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 10px;
}

.baby-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.baby-info {
    flex: 1;
}

.baby-name {
    font-weight: 600;
    color: #333;
}

.baby-age {
    font-size: 0.85rem;
    color: #888;
}

.assessment-card-scores {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin-bottom: 15px;
}

.score-badge {
    text-align: center;
    padding: 8px 4px;
    border-radius: 8px;
    font-size: 0.75rem;
}

.score-badge.gross-motor {
    background: rgba(245, 87, 108, 0.1);
    color: #f5576c;
}

.score-badge.fine-motor {
    background: rgba(79, 172, 254, 0.1);
    color: #4facfe;
}

.score-badge.adaptive {
    background: rgba(56, 239, 125, 0.1);
    color: #38ef7d;
}

.score-badge.language {
    background: rgba(250, 112, 154, 0.1);
    color: #fa709a;
}

.score-badge.social {
    background: rgba(161, 140, 209, 0.1);
    color: #a18cd1;
}

.score-badge-value {
    font-weight: 700;
    font-size: 1rem;
}

.assessment-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.total-score-badge {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
}

.next-assessment {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 0.85rem;
}

.next-assessment.overdue {
    color: #f5576c;
}

.next-assessment.soon {
    color: #fee140;
}

/* 空状态样式 */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.empty-state p {
    color: #888;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* 宝贝卡片样式 */
.babies-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.baby-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.baby-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.baby-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.baby-card-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
}

.baby-card-info h4 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.baby-card-info p {
    color: #888;
    font-size: 0.9rem;
}

.baby-card-details {
    padding: 15px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 15px;
}

.baby-card-detail {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.baby-card-detail label {
    color: #888;
}

.baby-card-detail span {
    color: #333;
    font-weight: 500;
}

.baby-card-actions {
    display: flex;
    gap: 10px;
}

.baby-card-actions .btn {
    flex: 1;
}

/* 表单样式 */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4facfe;
    box-shadow: 0 0 0 3px rgba(79, 172, 254, 0.2);
}

.assessment-form,
.baby-form {
    max-width: 500px;
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
}

.baby-info-display {
    background: white;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
}

.calculated-age {
    background: #e8f4fd;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    color: #333;
    font-size: 0.95rem;
}

.calculated-age strong {
    color: #4facfe;
}

.age-group-label {
    display: inline-block;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
}

/* 评估执行页面样式 */
.assessment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.progress-info {
    text-align: right;
}

.progress-bar {
    width: 200px;
    height: 10px;
    background: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
    margin-top: 5px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    width: 0%;
    transition: width 0.3s ease;
}

.age-selector {
    background: #f8f9fa;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.age-selector label {
    margin-right: 15px;
    font-weight: 500;
    color: #555;
}

.assessment-items {
    margin-bottom: 25px;
}

.domain-section {
    margin-bottom: 30px;
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    overflow: hidden;
}

.domain-header {
    padding: 15px 20px;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.domain-header.gross-motor {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.domain-header.fine-motor {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.domain-header.adaptive {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.domain-header.language {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.domain-header.social {
    background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
}

.domain-score {
    background: rgba(255, 255, 255, 0.3);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.item-card {
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    background: white;
    transition: all 0.3s ease;
}

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

.item-card:hover {
    background: #fafafa;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.item-number {
    background: #4facfe;
    color: white;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

.item-number.attention {
    background: #f5576c;
}

.item-title {
    font-weight: 600;
    color: #333;
    margin-left: 10px;
    flex: 1;
}

.item-tag {
    background: #e8f4fd;
    color: #4facfe;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
    margin-left: 10px;
}

.item-content {
    margin-left: 45px;
}

.item-method {
    color: #666;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.item-standard {
    color: #888;
    font-size: 0.9rem;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid #4facfe;
}

.item-actions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.item-btn {
    padding: 8px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 20px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.item-btn:hover {
    border-color: #4facfe;
    color: #4facfe;
}

.item-btn.pass {
    border-color: #38ef7d;
    background: #38ef7d;
    color: white;
}

.item-btn.fail {
    border-color: #f5576c;
    background: #f5576c;
    color: white;
}

.result-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* 评估列表页面样式 */
.age-groups-overview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.age-group-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    border: 2px solid #f0f0f0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.age-group-card:hover {
    border-color: #4facfe;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.age-group-card h4 {
    color: #333;
    margin-bottom: 8px;
}

.age-group-card p {
    color: #888;
    font-size: 0.85rem;
}

/* 评估详情页面样式 */
.detail-actions {
    display: flex;
    gap: 10px;
}

.radar-chart-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto 30px;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

#radarChart {
    max-height: 400px;
}

.report-summary {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 25px;
}

.report-summary h5 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.score-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.score-item {
    text-align: center;
    padding: 20px;
    border-radius: 12px;
    background: white;
}

.score-item.gross-motor {
    border: 2px solid #f5576c;
}

.score-item.fine-motor {
    border: 2px solid #4facfe;
}

.score-item.adaptive {
    border: 2px solid #38ef7d;
}

.score-item.language {
    border: 2px solid #fa709a;
}

.score-item.social {
    border: 2px solid #a18cd1;
}

.score-item .domain-name {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 8px;
}

.score-item .score-value {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
}

.score-item .score-label {
    font-size: 0.8rem;
    color: #888;
}

.total-score {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.total-score .domain-name,
.total-score .score-value,
.total-score .score-label {
    color: white;
}

.report-interpretation {
    background: white;
    padding: 25px;
    border-radius: 15px;
}

.report-interpretation h5 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.interpretation-item {
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 10px;
    background: #f8f9fa;
}

.interpretation-item.normal {
    border-left: 4px solid #38ef7d;
}

.interpretation-item.warning {
    border-left: 4px solid #fee140;
}

.interpretation-item.attention {
    border-left: 4px solid #f5576c;
}

.interpretation-item h6 {
    color: #333;
    margin-bottom: 5px;
}

.interpretation-item p {
    color: #666;
    font-size: 0.9rem;
}

footer {
    background: #f8f9fa;
    color: #666;
    font-size: 0.85rem;
    padding: 30px 0 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 0 30px 30px 30px;
}

.footer-section h4 {
    font-size: 1rem;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #4facfe;
}

.footer-section p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-bottom {
    background: #e9ecef;
    padding: 25px 30px;
    text-align: center;
}

.footer-copyright {
    text-align: left;
}

.footer-copyright p {
    margin-bottom: 8px;
    font-size: 0.85rem;
}

.footer-disclaimer {
    text-align: left;
}

.disclaimer-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.disclaimer-text {
    font-size: 0.8rem;
    line-height: 1.8;
    color: #666;
}

@media print {
    body {
        background: white;
        padding: 0;
    }
    
    .container {
        box-shadow: none;
        border-radius: 0;
    }
    
    .main-nav,
    .btn,
    .assessment-nav,
    .result-actions {
        display: none !important;
    }
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    header {
        padding: 20px 15px;
    }
    
    header h1 {
        font-size: 1.4rem;
    }
    
    main {
        padding: 20px;
    }
    
    .main-nav {
        flex-wrap: wrap;
    }
    
    .nav-btn {
        flex: 1;
        min-width: 100px;
        padding: 12px 10px;
        font-size: 0.9rem;
    }
    
    .page-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .assessments-list,
    .babies-list {
        grid-template-columns: 1fr;
    }
    
    .assessment-card-scores {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .assessment-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .progress-info {
        text-align: left;
        width: 100%;
    }
    
    .progress-bar {
        width: 100%;
    }
    
    .item-content {
        margin-left: 0;
    }
    
    .item-header {
        flex-wrap: wrap;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        padding: 0 20px 20px 20px;
    }
    
    .footer-bottom {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    
    .footer-copyright,
    .footer-disclaimer {
        text-align: left;
    }
    
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 检索和过滤样式 */
.search-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.search-box {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.search-box input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.search-box input:focus {
    outline: none;
    border-color: #4facfe;
}

.search-btn {
    padding: 12px 20px;
    background: #4facfe;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.3s;
}

.search-btn:hover {
    background: #3a9bdc;
}

.filter-section select {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    cursor: pointer;
}

.filter-section select:focus {
    outline: none;
    border-color: #4facfe;
}

/* 量表列表样式 */
.scales-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.scale-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.scale-card:hover {
    border-color: #4facfe;
    box-shadow: 0 8px 20px rgba(79, 172, 254, 0.2);
    transform: translateY(-2px);
}

.scale-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.scale-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.scale-card-icon {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f7ff;
    border-radius: 10px;
}

.scale-card-title {
    flex: 1;
}

.scale-card-title h4 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 5px;
}

.scale-card-category {
    font-size: 0.85rem;
    color: #666;
    background: #e8f4f8;
    padding: 3px 10px;
    border-radius: 12px;
    display: inline-block;
}

.scale-card-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.scale-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.scale-card-age {
    font-size: 0.85rem;
    color: #888;
}

.scale-card-domains {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.scale-domain-tag {
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 4px;
    background: #f0f0f0;
    color: #666;
}

/* 量表详情页面样式 */
.scale-detail {
    padding: 20px;
}

.scale-detail-header {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.scale-detail-header h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.scale-detail-header p {
    opacity: 0.95;
    line-height: 1.6;
}

.scale-detail-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.scale-meta-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
}

.scale-meta-label {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 5px;
}

.scale-meta-value {
    font-size: 1.1rem;
    color: #333;
    font-weight: 500;
}

.scale-domains-section {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.scale-domains-section h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #4facfe;
}

.scale-domains-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}

.scale-domain-card {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s;
}

.scale-domain-card:hover {
    background: #e8f4f8;
    transform: translateY(-2px);
}

.scale-domain-card-icon {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.scale-domain-card-name {
    font-size: 0.9rem;
    color: #333;
}

.scale-age-groups-section {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.scale-age-groups-section h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #4facfe;
}

.scale-age-groups-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
}

.scale-age-group-item {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    font-size: 0.85rem;
    color: #666;
}

.scale-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.scale-actions .btn {
    flex: 1;
}

/* 空状态 */
.empty-scales {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.empty-scales-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.empty-scales-text {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.empty-scales-hint {
    font-size: 0.9rem;
    color: #bbb;
}

/* 产品介绍弹窗样式 */
.product-modal-content {
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
}

.product-intro {
    text-align: center;
}

.product-logo {
    font-size: 4rem;
    margin-bottom: 10px;
}

.product-intro h2 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 5px;
}

.product-tagline {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 25px;
}

.product-section {
    text-align: left;
    margin-bottom: 25px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
}

.product-section h4 {
    font-size: 1.1rem;
    color: #4facfe;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-section p {
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 10px;
    background: white;
    border-radius: 8px;
    transition: all 0.3s;
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.feature-text {
    font-size: 0.85rem;
    color: #666;
}

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

.scale-list li {
    padding: 8px 0;
    border-bottom: 1px dashed #e0e0e0;
    font-size: 0.9rem;
    color: #555;
}

.scale-list li:last-child {
    border-bottom: none;
}

.scale-list strong {
    color: #4facfe;
}

.more-scales {
    text-align: center;
    color: #999;
    font-size: 0.85rem;
    margin-top: 10px;
    font-style: italic;
}

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

.audience-tag {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.usage-steps {
    padding-left: 20px;
    color: #555;
}

.usage-steps li {
    padding: 5px 0;
    font-size: 0.9rem;
}

.footer-links {
    margin-top: 10px;
}

.footer-links a {
    color: #4facfe;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* 模态框样式 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 2px solid #f0f0f0;
}

.modal-header h3 {
    font-size: 1.2rem;
    color: #333;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    transition: color 0.3s;
}

.close-btn:hover {
    color: #333;
}

.modal-body {
    padding: 25px;
    max-height: 60vh;
    overflow-y: auto;
}

.modal-footer {
    padding: 20px 25px;
    border-top: 2px solid #f0f0f0;
    text-align: center;
}

/* 首次访问提示 */
.welcome-banner {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.welcome-banner-text {
    font-size: 0.95rem;
}

.welcome-banner-btn {
    background: white;
    color: #4facfe;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.welcome-banner-btn:hover {
    background: #f0f7ff;
    transform: translateY(-1px);
}

/* 能区部分样式 */
.domain-section {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.domain-title {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #4facfe;
    display: flex;
    align-items: center;
    gap: 8px;
}

.domain-icon {
    font-size: 1.3rem;
}

.domain-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Likert量表输入样式 */
.likert-input {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.likert-input .radio-label {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 80px;
    text-align: center;
}

.likert-input .radio-label:hover {
    border-color: #4facfe;
    background: #f0f7ff;
}

.likert-input input[type="radio"]:checked + span {
    color: #4facfe;
    font-weight: 600;
}

.likert-input input[type="radio"]:checked + span::before {
    content: '✓';
    margin-right: 4px;
}

/* 通过/未通过输入样式 */
.pass-fail-input {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.pass-fail-input .radio-label {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    background: white;
    border: 2px solid #e0e0e0;
}

.pass-fail-input .radio-label:hover {
    border-color: #4facfe;
    background: #f0f7ff;
}

.pass-fail-input input[type="radio"]:checked + span {
    color: #4facfe;
    font-weight: 600;
}

.pass-fail-input input[type="radio"]:checked + span::before {
    content: '✓';
    margin-right: 4px;
}

/* 单选按钮样式 */
input[type="radio"] {
    display: none;
}

.radio-label span {
    display: inline-block;
    font-size: 0.9rem;
    color: #666;
}

/* 评估项目方法样式 */
.item-method,
.item-standard {
    background: white;
    padding: 10px 12px;
    border-radius: 6px;
    margin-bottom: 8px;
    font-size: 0.85rem;
    line-height: 1.5;
    color: #555;
}

.item-method strong,
.item-standard strong {
    color: #333;
    display: block;
    margin-bottom: 4px;
}

