/* Modernized Classic Popup 10 (subscribe_3) - 100% diy_style compatible */
.custom-class-popup-10 {
    max-width: min(100%, calc(100vw - 24px));
    background: transparent;
    position: relative;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.custom-class-popup-10,
.custom-class-popup-10 * {
    box-sizing: border-box;
}

.custom-class-popup-10 .popup-content {
    width: 100%;
    max-width: 100%;
    position: relative;
    color: #111827;
    line-height: 1.5;
    text-align: center;
    font-size: 14px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 28px 70px -12px rgba(15, 23, 42, 0.34);
}

@media (max-width: 769px) {
    .custom-class-popup-10 .popup-content {
        width: 100% !important;
        max-width: 390px;
    }
}

.custom-class-popup-10 .popup-content .left-img {
    width: 42%;
    min-height: 410px;
    flex-shrink: 0;
}

@media (max-width: 769px) {
    .custom-class-popup-10 .popup-content .left-img {
        display: none;
    }
}

.custom-class-popup-10 .popup-content .right-text {
    flex: 1;
    min-width: 0;
    padding: 46px 40px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 769px) {
    .custom-class-popup-10 .popup-content .right-text {
        padding: 36px 22px 26px;
    }
}

.custom-class-popup-10 .popup-content .right-text .shop-logo {
    max-height: 54px;
    max-width: 240px;
    object-fit: contain;
    margin: 0 auto 16px;
}

.custom-class-popup-10 .popup-content .subscription-before,
.custom-class-popup-10 .popup-content .subscription-after {
    display: flex;
    align-items: stretch;
    border-radius: 20px;
    overflow: hidden;
}

.custom-class-popup-10 .popup-content .subscription-after .subtitle {
    margin-bottom: 24px;
}

.custom-class-popup-10 .popup-content .title {
    font-size: 34px;
    line-height: 1.22;
    font-weight: 700;
    letter-spacing: -0.02em;
    word-break: break-word;
}

@media (max-width: 769px) {
    .custom-class-popup-10 .popup-content .title {
        font-size: 25px;
    }
}

.custom-class-popup-10 .popup-content .subtitle {
    font-size: 16px;
    line-height: 1.55;
    word-break: break-word;
    margin: 10px auto 0;
}

.custom-class-popup-10 .popup-content .input-box {
    margin-top: 26px;
    display: flex;
    width: 100%;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
}

.custom-class-popup-10 .popup-content .input-box input {
    width: 100%;
    padding: 0 18px;
    font-size: 14px;
    height: 48px;
    min-height: 48px;
    line-height: 48px;
    text-align: center;
    border-radius: 12px;
    outline: none;
}

.custom-class-popup-10 .popup-content .sub-button {
    border-radius: 12px;
    padding: 0 24px;
    min-height: 48px;
    line-height: 48px;
    outline: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
}

.custom-class-popup-10 .popup-content .error-message {
    margin-top: 8px;
    font-size: 12.5px;
    text-align: left;
    color: #f87171;
}

.custom-class-popup-10 .popup-content .cancel-button {
    margin-top: 18px;
    cursor: pointer;
    display: inline-block;
    font-size: 13.5px;
    opacity: 0.82;
}

.custom-class-popup-10 .popup-content .cancel-button:hover {
    text-decoration: underline;
    text-decoration-color: var(--underline_color);
    opacity: 1;
}

.custom-class-popup-10 .popup-content .discount-coupon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 10px;
    gap: 6px;
}

.custom-class-popup-10 .popup-content .discount-coupon .coupon-number {
    background: #ffffff;
    height: 48px;
    line-height: 48px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.08em;
    border: 1.5px dashed;
    border-radius: 12px;
    cursor: pointer;
}

.custom-class-popup-10 .popup-content .discount-coupon .coupon-copy {
    font-size: 12px;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

.custom-class-popup-10 .popup-content .continue-btn-box .continue-btn {
    border-radius: 12px;
    margin-top: 16px;
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    height: 48px;
    padding: 0 24px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}

.custom-class-popup-10 .popup-content .close-icon {
    position: absolute;
    right: 14px;
    top: 14px;
    z-index: 15;
}
