/* NPC详情面板样式 */
.npc-detail-content {
    padding: 0;
}

.npc-greeting {
    padding: 12px;
    background: rgba(76, 175, 80, 0.2);
    border-radius: 5px;
    margin-bottom: 15px;
    border-left: 3px solid #4CAF50;
}

.npc-greeting strong {
    color: #4CAF50;
}

.info-section {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-section:last-child {
    border-bottom: none;
}

.info-section h4 {
    color: #4CAF50;
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: bold;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.info-item {
    display: flex;
    flex-direction: column;
    padding: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.info-label {
    font-size: 12px;
    color: #aaa;
    margin-bottom: 4px;
}

.info-value {
    font-size: 14px;
    color: #fff;
    font-weight: 500;
}

.attributes-list, .skills-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.attribute-item, .skill-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    border-left: 3px solid #4CAF50;
}

.attr-key, .skill-name {
    font-weight: bold;
    color: #4CAF50;
    margin-right: 10px;
}

.attr-value, .skill-value {
    color: #ccc;
    flex: 1;
    text-align: right;
}

.loading, .error {
    padding: 20px;
    text-align: center;
    color: #ccc;
}

.error {
    color: #f44336;
}
