/* ========== 舞台审核页面样式 ========== */

.page-content {
    overflow-y: auto;
    max-height: calc(100vh - 48px - 42px);
    scrollbar-width: thin;
    scrollbar-color: var(--vbs) transparent;
}

.stage-section {
    margin-bottom: 2.5rem;
}

.section-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--vbs);
    margin-bottom: 1rem;
    padding-left: 0.6rem;
    border-left: 3px solid var(--vbs);
}

/* 报名须知 */
.notice-box {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(238,17,102,0.2);
    border-radius: 8px;
    padding: 1.2rem 1.5rem;
    line-height: 1.8;
    font-size: 0.9rem;
    color: var(--text-dim);
}

/* 表单 */
.stage-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
}

.required {
    color: var(--vbs);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 6px;
    padding: 0.6rem 0.8rem;
    font-size: 0.9rem;
    color: #fff;
    outline: none;
    transition: border-color 0.2s;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--vbs);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
    padding-right: 2rem;
}

.form-group select option {
    background: #1a1a24;
    color: #fff;
}

.form-group textarea {
    resize: vertical;
    min-height: 60px;
}

/* 提交按钮 */
.btn-submit {
    align-self: flex-start;
    background: var(--vbs);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.65rem 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.1s;
}

.btn-submit:hover {
    opacity: 0.85;
}

.btn-submit:active {
    transform: scale(0.97);
}

.btn-submit:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* 上传提示 */
.upload-hint {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-bottom: 1rem;
}

/* 拖拽区域 */
.drop-zone {
    border: 2px dashed rgba(238,17,102,0.35);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    margin: 0.8rem 0;
}

.drop-zone:hover,
.drop-zone.drag-over {
    border-color: var(--vbs);
    background: rgba(238,17,102,0.06);
}

.drop-text {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.3rem;
}

.drop-hint {
    font-size: 0.75rem;
    color: var(--text-dim);
}

/* 上传进度 */
.upload-progress {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin: 0.5rem 0;
}

.progress-bar {
    flex: 1;
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0;
    background: var(--vbs);
    border-radius: 3px;
    transition: width 0.2s ease;
}

.progress-text {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
    min-width: 3em;
}

/* Toast 提示 */
.toast {
    position: fixed;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(20,20,30,0.95);
    backdrop-filter: blur(8px);
    color: #fff;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    font-size: 0.88rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
    z-index: 200;
    border: 1px solid rgba(255,255,255,0.1);
    max-width: 90vw;
    text-align: center;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast.success {
    border-color: rgba(0,200,100,0.4);
}

.toast.error {
    border-color: rgba(255,50,50,0.4);
}

.btn-upload {
    margin-top: 0.5rem;
}


/* ========== 步骤指示条 ========== */
.steps-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 2rem;
    padding: 1rem 0;
}

.step {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--text-dim);
    transition: color 0.3s;
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.15);
    font-size: 0.75rem;
    font-weight: 700;
    transition: all 0.3s;
}

.step.active {
    color: #fff;
}

.step.active .step-num {
    background: var(--vbs);
    border-color: var(--vbs);
    color: #fff;
}

.step.done {
    color: rgba(255,255,255,0.6);
}

.step.done .step-num {
    background: rgba(0,200,100,0.7);
    border-color: rgba(0,200,100,0.7);
    color: #fff;
}

.step-line {
    width: 40px;
    height: 1px;
    background: rgba(255,255,255,0.12);
    margin: 0 0.6rem;
}

/* ========== 上传状态 ========== */
.upload-status {
    margin: 0.5rem 0;
    font-size: 0.85rem;
}

.status-ok {
    color: #4cdf8a;
}

/* ========== 回执卡片 ========== */
.receipt-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(238,17,102,0.3);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
}

.receipt-label {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-bottom: 0.5rem;
}

.receipt-code {
    font-size: 2rem;
    font-weight: 900;
    color: var(--vbs);
    letter-spacing: 0.15em;
    margin: 0.8rem 0;
    user-select: all;
}

.receipt-tip {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 0.8rem;
}

/* ========== 分隔线 ========== */
.section-divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin: 2.5rem 0;
}

/* ========== 查询 ========== */
.query-row {
    display: flex;
    gap: 0.6rem;
    align-items: center;
}

.query-input {
    flex: 1;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 6px;
    padding: 0.6rem 0.8rem;
    font-size: 0.9rem;
    color: #fff;
    outline: none;
    transition: border-color 0.2s;
    font-family: inherit;
}

.query-input:focus {
    border-color: var(--vbs);
}

.query-result {
    margin-top: 1rem;
}

.result-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 1.2rem;
}

.result-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 0.88rem;
}

.result-row:last-child {
    border-bottom: none;
}

.result-label {
    color: var(--text-dim);
    font-weight: 600;
    min-width: 5em;
}

.status-badge {
    padding: 0.15rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-badge.pending {
    background: rgba(255,180,0,0.15);
    color: #ffb400;
}

.status-badge.approved {
    background: rgba(0,200,100,0.15);
    color: #4cdf8a;
}

.status-badge.rejected {
    background: rgba(255,50,50,0.15);
    color: #ff5555;
}

.query-empty {
    color: var(--text-dim);
    font-size: 0.88rem;
    text-align: center;
    padding: 1rem;
}

/* 报名关闭提示 */
.closed-notice {
    text-align: center;
    padding: 6rem 2rem;
    animation: fadeNotice 0.5s ease forwards;
}

@keyframes fadeNotice {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.closed-notice h1 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
}

.closed-notice p {
    font-size: 1.1rem;
    color: var(--text-dim);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    display: inline-block;
    padding: 1rem 2.5rem;
}

@media (max-width: 768px) {
    .page-content { padding: 4rem 1.5rem 2rem; max-height: calc(100vh - 48px - 42px); }
    .section-title { font-size: 1rem; }
    .notice-box { padding: 1rem; font-size: 0.85rem; }
    
    .steps-bar { flex-wrap: wrap; gap: 0.5rem; }
    .step-line { width: 20px; margin: 0 0.3rem; }
    .step { font-size: 0.75rem; }
    .step-num { width: 20px; height: 20px; font-size: 0.65rem; }
    
    .form-group input, .form-group select, .form-group textarea { padding: 0.5rem 0.7rem; font-size: 0.85rem; }
    .btn-submit { width: 100%; text-align: center; padding: 0.6rem 0; }
    
    .drop-zone { padding: 1.5rem; }
    .drop-text { font-size: 0.85rem; }
    
    .query-row { flex-direction: column; gap: 0.8rem; }
    .query-input { width: 100%; }
    .btn-submit#btnQuery { width: 100%; }
    
    .receipt-card { padding: 1.5rem; }
    .receipt-code { font-size: 1.5rem; letter-spacing: 0.1em; }
    
    .result-row { font-size: 0.8rem; }
}
