
.modal_wrap {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 100;
    width: 100%;
    height: 100%;
    overflow-y: auto; /* ✅ 스크롤 허용 */
}

.modal_wrap.active {
    display: block;
}

.modal_wrap .modal_dim {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 10;
    display: block;
    width: 100%;
    height: 100%;
    content: '';
    background: rgba(0, 0, 0, .5);
}

.modal_wrap .modal_cnt {
    position: relative;
    max-width: 900px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 100%;
    margin: 0 auto;
    ;
    background: #000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .5);
    -webkit-box-shadow: 0 4px 10px rgba(0, 0, 0, .5);
    border-radius: 4px;
}

.modal_wrap .modal_cnt .close_btn {
    position: absolute;
    top: auto;
    left: 50%;
    z-index: 50;
    display: inline-block;
    transform: translateX(-50%);
}

.modal_wrap .modal_cnt .close_btn span {
    color: #fff;
    font-size: 15px;
    line-height: 26px;
    padding: 5px 25px;
    /* border: 1px solid rgba(255, 255, 255, 0.5); */
    border-radius: 6px;
    margin-top: 30px;
    background: rgba(206, 55, 225, 0.7);
}

.modal_wrap .modal_cnt .modal_header {
    padding-bottom: 5px;
    border-bottom: 1px solid #ddd;
}

.modal_wrap .modal_cnt .modal_body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    box-sizing: border-box;
    border: 2px solid transparent;
    border-radius: 30px;
    background-image: linear-gradient(#000000, #000000), linear-gradient(to bottom, #EB00EB 0%, #0BEAE1 100%);
    background-origin: border-box;
    background-clip: content-box, border-box;
}

.modal_wrap .modal_cnt .modal_body iframe {
    width: 100%;
    height: 500px;
}

.modal_wrap .modal_cnt .modal_body img {
    width: 70px;
    display: block;
    margin: 0 auto;
}

.modal_wrap .modal_cnt .modal_body .line {
    margin: 20px auto;
    width: 100%;
    background-color: rgba(0, 0, 0, .1);
    height: 1px;
}

.modal_wrap .modal_cnt .modal_body .bgm-box {
    padding: 20px 35px 10px;
}

.modal_wrap .modal_cnt .modal_body .bgm-box h3 {
    font-size: 18px;
    font-weight: 400;
    display: flex;
    align-items: center;
    color: #000;
    text-align: left;
}

.modal_wrap .modal_cnt .modal_body .bgm-box h3 span {
    font-size: 18px;
    color: #535353;
}

.modal_wrap .modal_cnt .modal_body .bgm-box h3 p {
    color: #535353;
    border-bottom: 1px solid #535353;
}

.modal_wrap .modal_cnt .modal_body .bgm-box .info {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal_wrap .modal_cnt .modal_body .bgm-box .info .info-music {
    color: #000;
}

.modal_wrap .modal_cnt .modal_body .bgm-box .info .btn-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.modal_wrap .modal_cnt .modal_body .bgm-box .info .btn-group a {
    display: inline-block;
    box-sizing: border-box;
}

.modal_wrap .modal_cnt .modal_body .bgm-box .info .btn-group a img {
    width: 18px;
}

.modal_wrap.creator-modal .modal_cnt .modal_body .bgm-box .info .btn-group span {
    color: #000;
}

.modal_wrap .modal_cnt .modal_body .bgm-box .tags {
    font-size: 0;
}

.modal_wrap .modal_cnt .modal_body .bgm-box .btn-group {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 15px;
}

.modal_wrap .modal_cnt .modal_body .bgm-box .btn-group a {
    color: #000;
}

.modal_wrap .modal_cnt .modal_body .bgm-box .btn-group img {
    width: 25px;
    height: 25px;
    display: inline-block;
    margin: initial;
}

.modal_wrap .modal_cnt .modal_body .bgm-box .tags a {
    display: inline-block;
    box-sizing: border-box;
    padding: 6px 12px 5px;
    border: 1px solid #535353;
    color: #535353;
    background-color: #fff;
    font-size: 13px;
    /* border-radius: 15px; */
    /* margin-right: 8px; */
}

.modal_wrap .modal_cnt .modal_body .bgm-box .btn-group .btn-wrap {
    position: relative;
}

.modal_wrap .modal_cnt .modal_body .bgm-box .btn-group .arrow-box {
    position: absolute;
    display: none;
    top: 0;
    right: 30px;
    padding: 5px 10px;
    box-sizing: border-box;
    width: 100px;
    color: #fff;
    font-size: 14px;
    background-color: #D30084;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
}

.modal_wrap .modal_cnt .modal_body .bgm-box .btn-group .btn-wrap:last-child .arrow-box {
    right: 50px;
}

.modal_wrap .modal_cnt .modal_body .bgm-box .btn-group .arrow-box:after {
    position: absolute;
    top: 50%;
    left: 100%;
    width: 0;
    height: 0;
    margin-top: -10px;
    margin-left: -4px;
    border: solid transparent;
    border-color: rgba(51, 51, 51, 0);
    border-left-color: #D30084;
    border-width: 10px;
    pointer-events: none;
    content: ' ';
}

.modal_wrap .modal_cnt .modal_body .bgm-box .btn-group img {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.modal_wrap .modal_cnt .modal_body .bgm-box .btn-group .link-wrap {
    position: absolute;
    bottom: 30px;
    right: 0;
    display: none;
    background-color: #000;
    border: 1px solid #fff;
    padding: 15px;
    box-sizing: border-box;
}

.modal_wrap .modal_cnt .modal_body .bgm-box .btn-group .link-wrap.active {
    display: block;
}

.modal_wrap .modal_cnt .modal_body .bgm-box .btn-group .link-wrap .link-input {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 15px;
}

.modal_wrap .modal_cnt .modal_body .bgm-box .btn-group .link-wrap .link-input input {
    border: none;
    background-color: #888;
    color: #fff;
    padding: 4px;
    box-sizing: border-box;
}

.modal_wrap .modal_cnt .modal_body .bgm-box .btn-group span {
    font-size: 24px;
    cursor: pointer;
}

.modal_wrap .modal_cnt .modal_body .bgm-box .btn-group a.purchase-each {
    display: inline-block;
    padding: 5px 9px;
    box-sizing: border-box;
    border: 1px solid #fff;
    border-radius: 6px;
    color: #fff;
    background-color: #000;
    font-size: 13px;
    transition: all .5s;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    -ms-border-radius: 6px;
    -o-border-radius: 6px;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -ms-transition: all .5s;
    -o-transition: all .5s;
}

.modal_wrap .modal_cnt .modal_body .bgm-box .btn-group a.purchase-each:hover {
    background-color: #fff;
    color: #000;
}

.modal-form {
    color: #fff;
}

.modal-form .modal_cnt {
    max-width: 640px;
    /* box-shadow: 0 6px 40px rgb(234 69 255 / 50%); */
    border-radius: 30px;
}

.modal-form .login-form {
    background-color: #000;
    padding: 70px 70px;
    box-sizing: border-box;
    border-radius: 30px;
}

.modal-form .login-form h3 {
    font-family: "Noto Sans";
    font-size: 36px;
    text-align: center;
}

.modal-form .login-form .form-row {
    margin: 10px auto;
}

.modal-form .login-form .form-row.options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.modal-form .login-form .form-row.options a {
    color: #c2c2c2;
    text-align: center;
    font-size: 14px;
    width:33.3333%;
}

.modal-form .login-form .simple-login {
    position: relative;
    padding: 30px 0;
}

.modal-form .login-form .simple-login .line {
    background-color: #666666;
    width: 100%;
    height: 1px;
    margin: 0 auto;
}

.modal-form .login-form .simple-login p {
    position: absolute;
    font-size: 14px;
    color: #fff;
    text-align: center;
    width: fit-content;
    padding: 5px 15px;
    box-sizing: border-box;
    top: 37%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: black;
}

.modal-form .login-form .form-row input {
    border: 1px solid #000000;
    background-color: #141414;
    border-radius: 6px;
    padding: 10px 15px;
    box-sizing: border-box;
    width: 100%;
    font-size: 16px;
    color: #fff;
    height: 48px;
}

.modal-form .login-form .sns-list {
    width: 100%;
}

.modal-form .login-form button {
    padding: 10px 15px;
    box-sizing: border-box;
    width: 90%;
    display: block;
    font-size: 14px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    font-family: "Noto Sans";
    cursor: pointer;
    margin: 10px auto;
    position: relative;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
}


.modal-form .login-form .sns-list button img {
    width: 22px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 27px;
}

.modal-form .login-form button.btn-submit {
    background-color: #EB00EB;
    width: 100%;
    padding: 8px;
    color: #EBEBEB;
    height: 56px;
    font-size: 20px;
    margin-top: 24px;
    margin-bottom: 24px;
}
.modal-form .login-form .sns-list {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.modal-form .login-form .sns-list .btn-social {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  overflow: hidden;
  text-decoration: none;
}

/* 아이콘 크기 */
.modal-form .login-form .sns-list .btn-social img {
  height: auto;
}

/* 브랜드별 배경색 */
.modal-form .login-form .sns-list .naver {
  background-color: #36AC37;
  color: #fff;
}

.modal-form .login-form .sns-list .kakao {
  background-color: #F9E51E;
  color: #202020;
}

.modal-form .login-form .sns-list .facebook {
  background-color: #3A5896;
  color: #fff;
}

.modal-form .login-form .sns-list .google {
  background-color: #fff;
  border: 1px solid #ccc;
  color: #000;
}

.modal-form .login-form .sns-list .twitter {
  background-color: #424242;
  color: #fff;
}

/* hover 효과 */
.modal-form .login-form .sns-list .btn-social:hover {
  opacity: 0.85;
  transform: scale(1.05);
  transition: 0.2s;
}


.modal-form .login-form .btn-register {
    background-color: #000000;
    border: 1px solid #EB00EB;
    font-size: 20px;
    width: 100%;
    padding: 8px;
    color: #EB00EB;
    height: 56px;
    margin-top: 40px;
}


.modal-form .form-row.form-row--checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-form .form-row.form-row--checkbox.choose-all {
    margin-top: 50px;
}

.modal-form .form-row.form-row--checkbox input[type="checkbox"] {
    width: 23px;
    height: 23px;
    padding: 0;
    position: relative;
    -webkit-appearance: none;
    outline: none !important;
}

.modal-form .form-row.form-row--checkbox input[type="checkbox"]::before {
    content: "\2713";
    position: absolute;
    top: 50%;
    left: 50%;
    overflow: hidden;
    transform: scale(0) translate(-50%, -50%);
    line-height: 1;
}

.modal-form .form-row.form-row--checkbox input[type="checkbox"]:hover {
    border-color: rgba(170, 170, 170, 0.5);
}

.modal-form .form-row.form-row--checkbox input[type="checkbox"]:checked {
    background-color: #D30084;
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.modal-form .form-row.form-row--checkbox input[type="checkbox"]:checked::before {
    border-radius: 1px;
    transform: scale(1) translate(-50%, -50%)
}

.modal-form .checkbox-wrap {
    padding: 10px 15px;
    box-sizing: border-box;
    margin: 10px auto 20px;
    background-color: #141414;
    border-radius: 6px;
}

.modal-form .form-row.form-row--checkbox a {
    color: #D30084;
    font-size: 14px;
}

.modal_wrap.find-info .login-form a.btn-submit {
    padding: 10px 0;
    box-sizing: border-box;
    width: 100%;
    text-align: center;
    display: block;
    border-radius: 6px;
    background-color: #e0008c;
    color: #fff;
    margin-bottom: 20px;
    font-size: 16px;
}

.modal-form p{
    font-size:16px;
    text-align:center;
    margin: 8px auto 36px;
    color: #EBEBEBB2;
}

.modal-form .hint{
    text-align:left;
}
.hint.codeTimer{
    color: #EB00EB;
    font-weight: bold;
}

.modal-btn-close{
    position:absolute;
    top: 20px;
    right: 20px;
    background:none;
    border:none;
    cursor:pointer;
    z-index: 999;
}

@media all and (max-width: 450px) {
    .modal-form .login-form .form-row input {
        font-size: 16px;
    }
    .modal-form .login-form {
        padding: 50px 16px;
    }
    .modal-form .login-form h3 {
        font-size: 28px;
    }
    .modal-form .login-form button.btn-submit {
        font-size: 18px;
        height: 50px;
    }
    .modal-form .login-form .btn-register {
        font-size: 18px;
        height: 50px;
    }
    .modal-form .login-form button {
        padding: 0 15px;
    }
    .modal_wrap .modal_cnt .modal_body.register-modal-body {
        border: 0px solid transparent;
        background-image:none;
    }
    .modal_wrap .modal_cnt .modal_body.login-modal-body {
        border: 0px solid transparent;
        background-image:none;
    }
    .modal_wrap .modal_cnt.register-modal-cnt{
        height: 100%;
        max-width:100% !important;
    }
    .modal_wrap .modal_cnt.login-modal-cnt{
        height: 100%;
        max-width:100% !important;
    }
}

