/* 下载区域容器 */
.wpcd-download-section {
    margin: 30px 0;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    background-color: #f9f9f9;
}

/* 下载按钮容器（横向排列） */
.wpcd-download-buttons-container {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

/* 按钮包装器 */
.wpcd-download-button-wrapper {
    text-align: center;
}

/* 下载按钮样式 */
.wpcd-download-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #2563eb;
    color: white;
    padding: 5px 10px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

/* 按钮 hover 效果（保持原逻辑） */
.wpcd-download-button:hover {
    background-color: #1d4ed8;
    color: white;
}

/* 共享信息区域 */
.wpcd-download-shared-info {
    margin: 0;
    text-align: center;
    font-size: 14px;
    color: #555;
    line-height: 1.8;
}

/* 信息项通用样式 */
.wpcd-info-item {
    margin-right: 20px;
}

/* 信息行（上传时间+下载次数） */
.wpcd-info-row {
    margin-bottom: 5px;
}

/* 后台元框样式 - 关键修改：默认隐藏元框内容 */
.wpcd-button {
    cursor: pointer;
}

/* 核心修改：默认 display: none，实现默认收起 */
.wpcd-meta-content {
    display: none; 
    margin-top: 10px;
}

.wpcd-meta-item {
    margin-bottom: 10px;
}

.wpcd-meta-label {
    display: inline-block;
    margin-right: 10px;
    font-weight: 600;
}

.wpcd-meta-input {
    width: 100%;
    max-width: 300px;
    padding: 4px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.wpcd-input-full {
    max-width: 100%;
}

.wpcd-meta-select {
    width: 100%;
    max-width: 300px;
    padding: 4px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.wpcd-meta-divider {
    margin: 15px 0;
    border: 0;
    border-top: 1px solid #ddd;
}

.wpcd-meta-subtitle {
    margin-bottom: 10px;
    font-size: 15px;
    font-weight: 600;
}

.wpcd-links-container {
    margin-bottom: 15px;
}

.wpcd-download-link-group {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.wpcd-link-group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.wpcd-link-group-title {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
}

.wpcd-button-remove {
    color: #dc3232;
    border-color: #dc3232;
}

.wpcd-button-primary {
    background-color: #2271b1;
    color: white;
    border-color: #2271b1;
}

.wpcd-meta-count {
    color: #666;
}

.wpcd-meta-action {
    margin-top: 15px;
}