/* ============================================================
   提交软件页专属样式
   包含：拖拽上传区/已选文件/字符计数
   ============================================================ */

/* ============================================================
   提交软件页面
   ============================================================ */
.submit-wrap { max-width: 700px; margin: 0 auto; }
.page-title { font-size: 22px; font-weight: 700; color: #eaf4ff; margin-bottom: 6px; text-shadow: 0 1px 2px rgba(0,0,0,0.5); }
.page-sub { font-size: 13px; color: rgba(180,205,240,0.6); margin-bottom: 20px; }

/* 文件上传拖拽区 */
.drop-zone {
    border: 2px dashed rgba(120,170,230,0.4);
    border-radius: 10px;
    padding: 36px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s;
    background: rgba(20,40,75,0.3);
    position: relative;
}
.drop-zone:hover, .drop-zone.dragover {
    border-color: rgba(100,170,255,0.7);
    background: rgba(40,80,140,0.3);
    box-shadow: 0 0 20px rgba(80,150,230,0.15) inset;
}
.drop-zone.dragover { transform: scale(1.01); }
.drop-zone-icon { width: 48px; height: 48px; margin: 0 auto 12px; color: rgba(120,180,255,0.6); }
.drop-zone-icon svg { width: 100%; height: 100%; }
.drop-zone-text { font-size: 14px; color: #c8e0ff; font-weight: 500; margin-bottom: 4px; }
.drop-zone-hint { font-size: 12px; color: rgba(160,190,230,0.5); }
.drop-zone input[type="file"] { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }

/* 已选文件显示 */
.file-selected {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 16px;
    border-radius: 8px;
    background: linear-gradient(160deg, rgba(80,208,128,0.1), rgba(80,208,128,0.05));
    border: 1px solid rgba(80,208,128,0.3);
    margin-top: 12px;
}
.file-selected-icon { flex-shrink: 0; width: 36px; height: 36px; border-radius: 6px; background: linear-gradient(180deg, #50d080, #2a9050); display: flex; align-items: center; justify-content: center; }
.file-selected-icon svg { width: 18px; height: 18px; color: #fff; }
.file-selected-info { flex: 1; min-width: 0; }
.file-selected-name { font-size: 13.5px; font-weight: 600; color: #e0edff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file-selected-size { font-size: 12px; color: rgba(160,200,180,0.7); margin-top: 2px; }
.file-selected-remove { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: rgba(240,80,80,0.2); border: 1px solid rgba(240,80,80,0.3); color: #f08080; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 16px; line-height: 1; }
.file-selected-remove:hover { background: rgba(240,80,80,0.35); color: #fff; }

/* 字符计数 */
.char-count { text-align: right; font-size: 11.5px; color: rgba(160,190,230,0.5); margin-top: 6px; }
.char-count.over { color: #f08080; }

/* 提交按钮 */
.submit-btn { width: 100%; justify-content: center; padding: 14px; font-size: 15px; margin-top: 8px; }
.submit-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* 未登录提示 */
.login-required {
    text-align: center;
    padding: 50px 20px;
}
.login-required-icon { width: 56px; height: 56px; margin: 0 auto 16px; color: rgba(240,192,64,0.6); }
.login-required-icon svg { width: 100%; height: 100%; }
.login-required h3 { font-size: 18px; color: #f0c878; margin-bottom: 8px; text-shadow: 0 1px 2px rgba(0,0,0,0.5); }
.login-required p { font-size: 13px; color: rgba(200,220,250,0.7); margin-bottom: 20px; line-height: 1.7; }

