.floating {
    border: 0.9375vw solid #e5e5e5;
    border-radius: 2.0833vw;
    background-color: #fff;
    -webkit-box-shadow: 0px 10px 40px 10px rgba(29, 29, 29, 0.2);
    box-shadow: 0px 10px 40px 10px rgba(29, 29, 29, 0.2);
    background-size: contain;
/*     z-index: 3; */
    z-index: 20;
}

.floating .close {
    display: flex;
    position: absolute;
    top: -9.3750vw;
    right: -0.5208vw;
    width: 7.2917vw;
    height: 7.2917vw;
    padding: 1.0417vw 0;
    justify-content: center;
    align-items: center;
    border-radius: 100px;
    background-color: #121212;
    cursor: pointer;
    box-sizing: border-box;
}

.floating .close svg {
    width: 3.7500vw;
    height: 3.7500vw;
}

/* 플로팅 배너 */
.floating.banner {
    position: absolute;
    right: 3.1250vw;
    bottom: 3.1250vw;
    width: 26.0417vw;
    height: 31.2500vw;
    line-height: 4.1667vw;
    font-size: 3.7500vw;
    font-weight: 600;
    letter-spacing: -1px;
    text-align: center;
    background-repeat: no-repeat;
    background-position: center 4.1667vw;
    box-sizing: border-box;
}

.floating.banner .img_wrap {
    margin-top: -6.2500vw;
}

.floating.banner .img_wrap img {
    width: 100%;
    margin-right: -1.5208vw;
}

.floating.banner p {
    margin-top: -5.2083vw;
}

.floating.banner button {
    margin-top: 2.0833vw;
    width: 22.3958vw;
    height: 5.2083vw;
    line-height: 5.2083vw;
    border-radius: 1.0417vw;
    font-size: 2.7083vw;
    color: #fff;
    background-color: #2e66ed;
    font-weight: 500;
    border: none;
    cursor: pointer;
}

/* 플로팅 레이어 */
.floating.layer {
    position: absolute;
    bottom: 3.1250vw;
    left: 50%;
    transform: translateX(-50%);
    margin: 0 auto;
    width: 93.7500vw;
    padding: 4.1667vw 0;
    text-align: center;
    letter-spacing: -1px;
    background-repeat: no-repeat;
    background-position: bottom;
}

.floating.layer h3 {
    margin: 0;
    font-size: 5.2083vw;
}

.floating.layer p {
    font-size: 2.7083vw;
}

.floating.layer .btn_wrap {
    padding: 4.1667vw 0;
}

.floating.layer .btn_wrap button {
    margin: 0 1.0417vw;
    width: 31.2500vw;
    height: 8.3333vw;
    padding: 0;
    box-sizing: border-box;
    border-radius: 1.0417vw;
    font-size: 4.1667vw;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.floating.layer .btn_wrap .btn_copy {
    background-color: #fff;
    border: 0.2883vw solid #2e66ed;
    color: #2e66ed;
}

.floating.layer .btn_wrap .btn_copy:hover {
    background-color: #2e66ed;
    color: #fff;
}

.floating.layer .btn_wrap .btn_kakao {
    color: #352305;
    background-color: #ffd130;
    border: none;
}

.floating.layer .btn_wrap .btn_kakao:hover {
    background-color: #352305;
    color: #ffd130;
}

.floating.layer .history {
    padding: 0 14.0625vw;
}

.floating.layer .history h4 {
    margin: 0 0 1.0417vw 0;
    font-size: 2.9167vw;
    text-align: left;
}

.floating.layer .history .history_box {
    height: 16.6667vw;
    border: 1px solid #e5e5e5;
    border-radius: 1.0417vw;
    overflow-y: auto;
}

.floating.layer .history .history_box::-webkit-scrollbar {
    background-color: #fff;
    border-radius: 30px;
  }

.floating.layer .history .history_box::-webkit-scrollbar-thumb {
    width: 0.4167vw;
    border: 0.4167vw solid #fff;
    border-radius: 30px;
    background: #d6d4d4;
 }


.floating.layer .history .history_box table {
    margin: 0 auto;
    width: 90%;
    padding: 1.0417vw 0;
}

.floating.layer .history .history_box table tr td {
    padding-top: 0.5208vw;
    font-size: 2.0833vw;
    border-bottom: 1px solid #e5e5e5;
}

.floating.layer .history .history_box table tr td.category {
    text-align: left;
}

.floating.layer .history .history_box table tr td.date {
    text-align: right;
}

/* 플로팅 리워드 레이어 */
.floating.layer.reward {
    background-size: contain;
}

@media all and (max-width: 768px) {
    .floating.layer .history .history_box::-webkit-scrollbar-thumb {
        border: 6px solid #fff;
      }
}
