
.wrap {
    width: 100%;
}

.contents {
    margin-top: 87px;
    width: 100%;
}


@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


.check_container {
    overflow: hidden;
    width: 100%;
}

.check_contents {
    overflow: hidden;
    width: 70%;
    margin: 8rem auto;
    padding: 0 1rem;
}

.check_contents_text {
    text-align: center;
    margin: 1.5rem 0;
}

.check_contents_text > h1 {
    color: white;
    font-size: 1.8rem;
    opacity: 0;
    animation: fadeIn 1s forwards;
    animation-delay: 0.5s;
}

.check_contents_text > p {
    margin-top: 1rem;
    animation: slideUp 1s forwards;
    animation-delay: 0.7s;
    opacity: 0;
    transform: translateY(100%);
    color: white;
}

.change_btn_container {
    /*width: 1200px;*/
    text-align: center;
    margin: 0 auto;
}

.change_btn {
    display: inline-block;
    animation: slideUp 1s forwards;
    animation-delay: 0.8s;
    opacity: 0;
    transform: translateY(100%);
}

.keep_btn,
.delivery_btn {
    background-color: rgb(158, 158, 158);
    color: white;
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.5s;
}

.active {
    background-color: rgb(0,102,204);
    color: #fff;
    font-weight: bold;
}

.table_container {
    animation: slideUp 0.8s forwards;
    animation-delay: 1s;
    opacity: 0;
    transform: translateY(100%);
    width: 100%;
}

.keep_table {
    overflow: hidden;
    height: 0;
    transform: translateY(100px);
    opacity: 0;
}

.up {
    height: auto;
    transform: translateY(0);
    opacity: 1;
    transition: all 0.5s;
}

table {
    margin: 2rem auto;
    text-align: center;
    border-collapse: collapse;
    width: 100%;
}

th, td {
    padding: 0.8rem 1rem;
}

th {
    background-color: #ccc;
    font-size: 15px;
}

td {
    background-color: #efefef;
    cursor: pointer;
    font-size: 14px;
}

tbody > tr:hover {
    text-decoration: underline;
}

.check_detail {
    overflow: hidden;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.4);
    width: 100%;
    height: 0;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.5s;
    transition-delay: 0.5s;
}

.fade_in {
    background-color: rgba(0,0,0,0.7);
    transition: all 0.4s;
    height: 100vh;
}

.check_detail_contents {
    background: white;
    padding: 40px;
    margin: 30px;
    border-radius: 20px;
    width: 80%;
    max-width: 450px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    animation: slideUp 0.5s ease-out forwards;
    position: relative;
}
.data {
    font-weight: bold;
    margin: 20px 0 20px;
}
.size {
    margin: 20px 0 20px;
}
.info-row {
    display: flex;
    margin: 6px 0;
    font-size: 15px;
    line-height: 1.6;
}

.label {
    font-weight: bold;
    text-align: left;
    position: relative;
    width: 65px;
}

.label::after {
    content: ":";
    position: absolute;
    right: 0;
}

.value {
    flex: 1;
    padding-left: 8px;
}

.check_detail_contents h2 {
    font-size: 26px;
    font-weight: bold;
    color: rgb(0, 102, 204);
    margin-bottom: 16px;
    text-align: left;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.check_detail_contents p {
    font-size: 15px;
    margin: 4px 0;
    color: #222;
    text-align: left;
    line-height: 1.4;
}

.close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 15px;
    cursor: pointer;
    color: #717171;
}

.d-total {
    margin-top: 1rem;
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    font-size: 1.1rem;
}


@media (max-width: 1250px) {
    table {
        width: 90%;
    }
}

hr {
    border: none;
    border-bottom: 1px dashed #ccc;
    margin: 1rem 0;
}

.cancelReserve{
    padding: 12px 18px;
    border: none;
    background-color: rgb(158, 158, 158);

    color: white;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
}
.cancelReserve:hover {
    background-color: rgb(0, 102, 204);
}