* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Zen Maru Gothic", sans-serif;
}

body {
    background: linear-gradient(135deg, #fff8ef, #ffe9d6);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border-radius: 25px;
    padding: 35px 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    text-align: center;
}

h1 {
    color: #ff8c42;
    margin-bottom: 30px;
    font-size: 28px;
}

h2 {
    color: #7a5a44;
    font-size: 18px;
    margin-bottom: 20px;
}

input {
    width: 100%;
    padding: 16px;
    border: 3px solid #ffd4ad;
    border-radius: 15px;
    font-size: 16px;
    outline: none;
    transition: 0.2s;
    background-color: #fffdfb;
}

input:focus {
    border-color: #ffb36b;
}

button {
    width: 100%;
    margin-top: 20px;
    padding: 16px;
    border: none;
    border-radius: 15px;
    background: #ffb36b;
    color: white;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.15s;
}

button:active {
    transform: scale(0.97);
}

button:hover {
    opacity: 0.92;
}
.staff-setting {
    margin-top: 30px;
    color: #999;
    font-size: 13px;
}

.small-button {
    width: auto;
    margin-top: 10px;
    padding: 8px 14px;
    font-size: 12px;
    background: #f4e2d8;
    color: #666;
    border-radius: 10px;
}

.small-button:hover {
    opacity: 0.9;
}
.card{
    background: #f7f4f2;
    border-radius: 30px;
    padding: 30px;
    text-align: center;
}

.title{
    color: #ff8c42;
    font-size: 36px;
    margin-bottom: 20px;
}

.subtitle{
    color: #6b4d3a;
    font-size: 22px;
    margin-bottom: 20px;
}

#reader{
    width: 100%;
    max-width: 320px;
    margin: 20px auto;
    overflow: hidden;
    border-radius: 20px;
}

#backButton{
    margin-top: 20px;
}
.success-card{
    animation: popIn 0.4s ease;
}

.success-icon{
    font-size: 70px;
    margin-bottom: 10px;
}

.success-title{
    color: #55b36a;
    font-size: 38px;
    margin-bottom: 20px;
}

.ticket-info{
    font-size: 24px;
    font-weight: bold;
    color: #444;
    margin-bottom: 15px;
}

.ticket-number{
    font-size: 30px;
    color: #ff8c42;
    font-weight: bold;
    margin-bottom: 20px;
}

.receive-time,
.staff-name{
    font-size: 18px;
    color: #666;
    margin-bottom: 10px;
}

.back-message{
    margin-top: 30px;
    color: #999;
    font-size: 14px;
}

@keyframes popIn{
    from{
        transform: scale(0.8);
        opacity: 0;
    }

    to{
        transform: scale(1);
        opacity: 1;
    }
}
.ticket-block{
    text-align:left;
    margin-bottom:25px;
}

.number-list{
    margin-top:10px;
    padding:10px;
    background:#fff7f2;
    border-radius:12px;
    font-size:13px;
    line-height:1.8;
    word-break:break-all;
}
details {
    margin-top: 10px;
}

summary {
    cursor: pointer;
    color: #ff7a00;
    font-weight: bold;
}

.ticket-block {
    background: white;
    border-radius: 15px;
    padding: 15px;
    margin: 15px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}