* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft Yahei', sans-serif;
}

body {
    background: url('../images/bg.jpg') no-repeat;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
}

.container {
    width: 100%;
    max-width: 1000px;
    padding: 0 20px;
}

.header {
    text-align: center;
    margin-bottom: 2rem;
}

.header h1 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.header p {
    color: #fff;
    font-size: 1rem;
}

.search-box {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 1rem;
}

#orderId {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.ipt {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

#orderId:focus {
    border-color: #000;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

#searchBtn {
    padding: 12px 25px;
    background-color: #000;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

#searchBtn:hover {
    background-color: #000;
    ;
}

.result-box {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    display: none;
}

.info-box {
    background: white;
    padding: 2rem;
    margin-top: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.result-box h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.info-list {
    list-style: none;
}

.info-item {
    display: flex;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f5f5f5;
}

.info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.label {
    width: 180px;
    font-weight: bold;
    color: #34495e;
}

.value {
    flex: 1;
    color: #2c3e50;
}

.empty-tip {
    text-align: center;
    color: #7f8c8d;
    padding: 2rem;
    display: none;
}

.info-box-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
}

.info-box-content p {
    font-size: 1.2rem;
    line-height: 2rem;
    color: #333;
}

.info-box-content img {
    max-width: 270px;

}

.logo-box {
    text-align: center;
}

.logo-box img {
    max-width: 280px;
    position: fixed;
    bottom: 0;
    left: 50%;
    margin-left: -140px;
}

.book-info {
    display: flex;
    justify-content: space-between;
}

.book-info img {
    width: 150px;
    margin-top: 20px;
}
.qrcode div{line-height: 1.8rem;}

/* 响应式设计 */
@media (max-width: 600px) {
    .input-group {
        flex-direction: column;
    }

    .info-box-content {
        flex-direction: column;
        gap: 1rem;
    }

    .info-item {
        flex-direction: column;
    }

    .label {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .logo-box img {
        max-width: 280px;
        position: relative;
        bottom: 0;
        left: unset;
        margin-left: unset;
    }
    .book-info{
        display: contents;
    }
    .qrcode{
        text-align: center;
    }

}