/* 제니 -> 이니 포인트 변환 */
@import url("https://www.inven.co.kr/common/lib/style/webfont/Pretendard.css");
@import url("https://www.inven.co.kr/common/lib/style/webfont/Esamanru.css");

body.jeni-convert-layer-open {
    overflow: hidden;
}

.jeni-convert {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.8);
    font-family: Pretendard, sans-serif;
}

.jeni-convert * {
    box-sizing: border-box;
}

.jeni-convert__container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 540px;
    max-height: 100%;
}

@media (max-width: 768px) {
    .jeni-convert__container {
        max-width: 400px;
    }
}

.jeni-convert__closebar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 24px;
}

.jeni-convert__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    background: none;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
}

.jeni-convert__dialog {
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow-y: auto;
    background: #fff;
}

.jeni-convert__head {
    display: flex;
    justify-content: center;
    background: linear-gradient(to top, #fff, #fee);
}

.jeni-convert__head img {
    width: 100px;
    height: 94px;
    object-fit: fill;
}

.jeni-convert__card-area {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px 16px 20px;
    background: #fff;
}

.jeni-convert__title {
    width: 100%;
    margin: 0;
    font-family: esamanru, sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: -0.6px;
    color: #242424;
    text-align: center;
    word-break: break-word;
}

.jeni-convert__card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    padding: 16px;
    border: 1px solid #bdbdbd;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 0 10px rgba(7, 7, 36, 0.06);
}

.jeni-convert__point {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.jeni-convert__label {
    width: 100%;
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: -0.6px;
    color: #575757;
    text-align: center;
    word-break: break-word;
}

.jeni-convert__amount {
    width: 100%;
    margin: 0;
    padding: 2px 4px;
    border-radius: 4px;
    background: #f8f8f8;
    font-family: esamanru, sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: normal;
    color: #242424;
    text-align: center;
    word-break: break-word;
}

.jeni-convert__amount--inni {
    font-size: 17px;
}

.jeni-convert__amount--error {
    font-family: Pretendard, sans-serif;
    font-size: 14px;
    line-height: 20px;
}

.jeni-convert__arrow {
    flex-shrink: 0;
    color: #242424;
}

.jeni-convert__bottom {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
    background: #f8f8f8;
}

.jeni-convert__notice {
    margin: 0;
    padding-left: 21px;
    list-style: disc outside;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: -0.6px;
    color: #575757;
    border-radius: 8px;
    word-break: break-word;
}

.jeni-convert__notice li {
    float: none;
    display: list-item;
    list-style: disc;
    word-break: break-word;
}

.jeni-convert__notice li + li {
    margin-top: 2px;
}

.jeni-convert__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: 100%;
    height: 40px;
    padding: 4px 6px;
    border: 0;
    border-radius: 4px;
    background: #e53434;
    font-family: Pretendard, sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: -0.6px;
    color: #fff;
    text-align: right;
    word-break: break-word;
    white-space: nowrap;
    cursor: pointer;
}

.jeni-convert__submit:disabled {
    background: #bdbdbd;
    cursor: default;
}
