body { background: var(--bg); }

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 10;
}
.header-back {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    transition: background 0.2s;
}
.header-back:active { background: var(--border-light); }
.header-back svg { width: 22px; height: 22px; color: var(--text-primary); }
.header-title { font-size: 17px; font-weight: 600; }

.res-tabs {
    display: flex;
    gap: 0;
    padding: 0 16px;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
}
.res-tab {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    transition: color 0.2s;
}
.res-tab.active {
    color: var(--primary);
    font-weight: 600;
}
.res-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    border-radius: 2px;
    background: var(--primary);
}

.res-summary {
    display: flex;
    gap: 10px;
    padding: 16px;
}
.res-summary-item {
    flex: 1;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 14px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}
.res-summary-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}
.res-summary-value.pending { color: var(--accent-gold); }
.res-summary-value.confirmed { color: var(--accent-green); }
.res-summary-label {
    font-size: 12px;
    color: var(--text-tertiary);
    margin-top: 4px;
}

.res-list { padding: 0 16px 40px; }

.res-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 10px;
    box-shadow: var(--shadow-sm);
}
.res-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.res-card-user {
    display: flex;
    align-items: center;
    gap: 10px;
}
.res-card-avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, #FFB800, #FF9500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}
.res-card-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}
.res-card-time {
    font-size: 12px;
    color: var(--text-tertiary);
    margin-top: 2px;
}
.res-card-status {
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
}
.res-card-status.pending {
    background: rgba(255,184,0,0.1);
    color: var(--accent-gold);
}
.res-card-status.confirmed {
    background: rgba(38,222,129,0.1);
    color: var(--accent-green);
}
.res-card-status.cancelled {
    background: var(--border-light);
    color: var(--text-tertiary);
}

.res-card-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    background: var(--bg);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
}
.res-card-info-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-secondary);
}
.res-card-info-row svg {
    width: 14px;
    height: 14px;
    color: var(--text-tertiary);
    flex-shrink: 0;
}
.res-card-info-row .label {
    color: var(--text-tertiary);
    min-width: 60px;
}
.res-card-info-row .value {
    color: var(--text-primary);
    font-weight: 500;
}

.res-card-note {
    font-size: 13px;
    color: var(--text-secondary);
    padding: 8px 12px;
    background: rgba(75,123,236,0.05);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    border-left: 3px solid var(--accent-blue);
}

.res-card-actions {
    display: flex;
    gap: 10px;
}
.res-card-actions .btn-confirm {
    flex: 1;
    padding: 10px;
    border-radius: var(--radius-full);
    background: var(--primary-gradient);
    color: white;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    box-shadow: var(--shadow-primary);
    transition: transform 0.2s;
}
.res-card-actions .btn-confirm:active { transform: scale(0.96); }

.res-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-tertiary);
    font-size: 14px;
}