/* 属性详情面板 */
.attribute-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 380px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border-left: 1px solid var(--light-gray);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
}

.attribute-panel.active {
    transform: translateX(0);
}

.attribute-panel-header {
    padding: 25px;
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--gradient-1);
    color: var(--white);
}

.attribute-panel-body {
    flex: 1;
    padding: 25px;
    overflow-y: auto;
}

.attribute-panel-header h3 {
    font-size: 1.2rem;
    font-weight: bold;
}

.close-button {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.close-button:hover {
    color: rgba(255, 255, 255, 0.8);
}

.attribute-panel-body {
    flex: 1;
    padding: 25px;
    overflow-y: auto;
}

.attribute-details {
    margin-bottom: 30px;
}

.attribute-details h4 {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 20px;
    border-bottom: 1px solid var(--light-gray);
    padding-bottom: 10px;
    position: relative;
}

.attribute-details h4::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 80px;
    height: 2px;
    background: var(--gradient-2);
    border-radius: 1px;
}

.attribute-detail {
    margin: 20px 0;
    padding: 15px;
    background: rgba(245, 245, 245, 0.7);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.attribute-detail .detail-label {
    display: block;
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 8px;
    font-weight: bold;
}

.attribute-detail .detail-value {
    display: block;
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 10px;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.attribute-detail .attribute-description {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}