* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    background-color: #eee;
}

.wrap {
    width: 100%;
    height: 100%;
}

.container {
    position: relative;
    width: 100%;
    padding: 15px;
    font-size: 24px;
}

.title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.inp_box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    box-shadow: 0 4px 20px -2px #e9e9e9;
}

.search_inp {
    border-radius: 8px;
    width: 200px;
    height: 42px;
    font-size: 24px;
    margin-bottom: 5px;
    margin-right: 0;
    padding: 5px 10px;
    border: 1px solid #ccc;
}

.search_btn {
    border-radius: 8px;
    font-size: 24px;
    padding: 6px 18px;
    min-width: 90px;
    height: 42px;
    background: #198cff;
    color: #fff;
    border: 0;
    cursor: pointer;
    line-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-container {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
}

.spinner {
    width: 24px;
    height: 24px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-text {
    font-size: 18px;
    color: #333;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#loading {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#show {
    font-size: 20px;
}

.infoItem {
    padding: 20px 0;
}

.infoItem+.infoItem {
    border-top: 1px solid #aaa;
}

.name {
    font-weight: bold;
}

#order_status {
    display: none;
}

table {
    text-align: center;
    border-collapse: collapse;
    border-spacing: 0;
}

table th {
    background-color: #ddd;
}

table td {
    padding: 0 3px;
}

table td:first-child {
    width: 4em;
    min-width: 4em;
    max-width: 4em;
    text-align: center;
    word-break: break-all;
}

table td:last-child {
    text-align: left;
}

.total {
    text-align: right;
}

@media screen and (max-width: 768px) {
    #loading {
        align-items: center;
        padding-top: 0;
    }
}

#show table {
    width: 100%;
    min-width: 320px;
    table-layout: fixed;
}

@media screen and (min-width: 769px) {
    #show {
        display: block;
    }

    #show table {
        width: 50%;
        min-width: 320px;
        margin-bottom: 16px;
    }
}

#show table td {
    padding: 8px 6px;
}

.bounce-ball {
    width: 16px;
    height: 16px;
    background: #198cff;
    border-radius: 50%;
    animation: bounce 0.8s linear infinite;
    display: inline-block;
}

@keyframes bounce {
    0% {
        transform: translateY(10px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(10px);
    }
}