* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "PingFang SC", "Helvetica Neue", sans-serif;
}

body {
    background-color: #f5f7fa;
    padding: 20px;
}

.cashier-container, .result-container {
    max-width: 400px;
    margin: 50px auto;
    background: #fff;
    border-radius: 12px;
    padding: 30px 20px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

h1, h2 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
}

h1 {
    font-size: 24px;
}

h2 {
    font-size: 22px;
}

.form-group {
    margin-bottom: 25px;
}

label {
    display: block;
    font-size: 15px;
    color: #666;
    margin-bottom: 8px;
}

input[type="text"],
input[type="number"] {
    width: 100%;
    height: 48px;
    padding: 0 15px;
    border: 1px solid #e5e9f2;
    border-radius: 8px;
    font-size: 16px;
    color: #333;
    outline: none;
}

input:focus {
    border-color: #409eff;
}

.pay-types {
    display: flex;
    gap: 15px;
}

.pay-type {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 0;
    border: 1px solid #e5e9f2;
    border-radius: 8px;
    cursor: pointer;
}

.pay-type input:checked + .icon + span {
    color: #409eff;
}

.pay-type input:checked + .icon {
    color: #409eff;
}

.pay-type input {
    display: none;
}

.icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.icon.alipay {
    color: #1677ff;
}

.icon.wechat {
    color: #07c160;
}

.pay-btn {
    width: 100%;
    height: 50px;
    background: #409eff;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.pay-btn:hover {
    background: #3086d6;
}

.error {
    background: #fff1f0;
    color: #cf1322;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    text-align: center;
}

.result-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}

.result-icon.success {
    background: #f0fff4;
    color: #00b42a;
}

.result-icon.fail {
    background: #fff1f0;
    color: #cf1322;
}

.order-info {
    text-align: center;
    color: #666;
    margin-bottom: 10px;
}

.message {
    text-align: center;
    margin: 20px 0 30px;
    color: #333;
}

.back-btn {
    display: block;
    width: 100%;
    height: 48px;
    line-height: 48px;
    text-align: center;
    background: #f2f3f5;
    color: #333;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
}