/* app.css - 自定义补充样式(Bootstrap 已覆盖大部分) */

/* 上传按钮内的小字 */
#btn-upload-img small,
#btn-upload-video small {
    font-size: 0.7rem;
    opacity: 0.85;
}

/* 上传列表项 */
#upload-list .upload-item {
    display: flex;
    flex-direction: column;
    padding: 0.75rem 1rem;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    margin-bottom: 0.5rem;
    background: #fff;
}

.upload-item .row-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.upload-item .filename {
    font-weight: 500;
    word-break: break-all;
}

.upload-item .status {
    font-size: 0.85rem;
    white-space: nowrap;
}

.upload-item .status.success { color: #198754; }
.upload-item .status.error   { color: #dc3545; }
.upload-item .status.pending { color: #6c757d; }
.upload-item .status.uploading { color: #0d6efd; }

.upload-item .progress {
    height: 0.5rem;
    margin-top: 0.5rem;
}

.upload-item .row-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
    font-size: 0.85rem;
}

.upload-item .cdn-url {
    font-family: monospace;
    color: #0d6efd;
    text-decoration: none;
    word-break: break-all;
}

.upload-item .cdn-url:hover { text-decoration: underline; }

/* 记录列表项 */
.records-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.75rem;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    margin-bottom: 0.4rem;
    background: #fff;
}

.records-row .col-name {
    flex: 1;
    word-break: break-all;
}

.records-row .col-meta {
    font-size: 0.8rem;
    color: #6c757d;
    white-space: nowrap;
}

.records-row .col-url {
    font-size: 0.8rem;
    font-family: monospace;
}

.records-row .col-action {
    display: flex;
    gap: 0.25rem;
}

/* 顶部用户信息 */
#user-info {
    font-size: 0.9rem;
}
