/* VR票务 - 票卡片组件样式 */
/* 供票夹页面和用户中心页面共享 */

.vr-ticket-card {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    cursor: pointer;
    transition: all 0.2s ease;
}
.vr-ticket-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}
.vr-ticket-card.verified {
    opacity: 0.7;
    background: #f5f5f5;
}
.vr-ticket-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}
.vr-ticket-goods-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    flex: 1;
    margin-right: 12px;
}
.vr-ticket-status {
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 500;
}
.vr-ticket-status.unverified {
    background: #e6f7ff;
    color: #1890ff;
}
.vr-ticket-status.verified {
    background: #f6ffed;
    color: #52c41a;
}
.vr-ticket-status.refunded {
    background: #fff1f0;
    color: #ff4d4f;
}
.vr-ticket-info {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}
.vr-ticket-info-row {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
}
.vr-ticket-info-icon {
    width: 16px;
    color: #999;
    margin-right: 6px;
}
.vr-ticket-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}
.vr-ticket-short-code {
    font-size: 14px;
    font-family: 'Courier New', monospace;
    color: #333;
    font-weight: 600;
    letter-spacing: 1px;
}
.vr-ticket-view-btn {
    font-size: 13px;
    color: #1890ff;
    text-decoration: none;
}
.vr-ticket-view-btn:hover {
    text-decoration: underline;
}

/* 票详情弹窗样式 */
.vr-ticket-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}
.vr-ticket-modal.active {
    display: flex;
}
.vr-ticket-modal-content {
    background: #fff;
    border-radius: 16px;
    width: 90%;
    max-width: 400px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 24px;
}
.vr-ticket-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.vr-ticket-modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}
.vr-ticket-modal-close {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f0f0f0;
    border: none;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.vr-ticket-qr-section {
    text-align: center;
    padding: 20px;
    background: #fafafa;
    border-radius: 12px;
    margin-bottom: 16px;
}
.vr-ticket-qr-wrapper {
    display: inline-block;
    padding: 12px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #eee;
}
.vr-ticket-qr-expire {
    font-size: 12px;
    color: #999;
    margin-top: 8px;
}
.vr-ticket-short-code-display {
    text-align: center;
    margin: 16px 0;
    padding: 12px;
    background: #f5f5f5;
    border-radius: 8px;
}
.vr-ticket-short-code-label {
    font-size: 12px;
    color: #999;
    margin-bottom: 4px;
}
.vr-ticket-short-code-value {
    font-size: 20px;
    font-family: 'Courier New', monospace;
    font-weight: 700;
    color: #333;
    letter-spacing: 2px;
}
.vr-ticket-detail-row {
    display: flex;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}
.vr-ticket-detail-label {
    width: 80px;
    font-size: 13px;
    color: #999;
}
.vr-ticket-detail-value {
    flex: 1;
    font-size: 13px;
    color: #333;
}
.vr-ticket-verified-badge {
    display: inline-block;
    padding: 4px 12px;
    background: #52c41a;
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
}
.vr-ticket-refresh-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background: #1890ff;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    margin-top: 12px;
}
.vr-ticket-refresh-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* 票夹页面样式 */
.vr-ticket-wallet-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}
.vr-wallet-header {
    text-align: center;
    margin-bottom: 30px;
}
.vr-wallet-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}
.vr-wallet-subtitle {
    font-size: 14px;
    color: #666;
}
.vr-ticket-list {
    min-height: 200px;
}
.vr-ticket-loading,
.vr-ticket-empty,
.vr-ticket-error {
    text-align: center;
    padding: 40px;
    color: #999;
}
.vr-ticket-error {
    color: #f56c6c;
}

/* 用户中心票夹入口样式 */
.vr-wallet-entrance {
    margin-top: 20px;
}
