/* 사업자 확인/안내 모달 공통 컴포넌트 */
.modal_verify_overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1100;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
    animation: modalFadeIn 0.3s ease;
}
.modal_verify_overlay.is_open { display: flex; }
@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.modal_verify {
    background: #fff;
    border-radius: var(--modal-radius, 24px);
    max-width: var(--modal-max-width, 380px);
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
    padding: var(--modal-pad-v, 40px) var(--modal-pad-h, 32px) var(--modal-pad-b, 32px);
    text-align: center;
    animation: modalSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}
.modal_verify::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1e40af 0%, #2563eb 50%, #3b82f6 100%);
}
.modal_verify_close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: rgba(30, 64, 175, 0.08);
    color: #1e40af;
    font-size: 20px;
    line-height: 1;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.modal_verify_close:hover {
    background: rgba(30, 64, 175, 0.16);
    color: #17308a;
    transform: scale(1.06);
}
.modal_verify_close:active { transform: scale(0.98); }
@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}
@keyframes checkDraw {
    0% { stroke-dashoffset: 50; }
    100% { stroke-dashoffset: 0; }
}
.modal_verify_icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    border: 4px solid rgba(37, 99, 235, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.25);
    animation: iconPulse 2s ease-in-out infinite;
}
.modal_verify_icon svg {
    width: 32px;
    height: 32px;
    stroke: #fff;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    stroke-dasharray: 50;
    stroke-dashoffset: 0;
    animation: checkDraw 0.6s ease 0.2s backwards;
}
.modal_verify_company {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.modal_verify_text {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 8px;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
    word-break: keep-all;
}
.modal_verify_text2 {
    font-size: 14px;
    line-height: 1.65;
    color: #666;
    margin-bottom: 24px;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
    word-break: keep-all;
}
.modal_verify_br_pc { display: inline; }
.modal_verify_hr {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #e0e0e0 20%, #e0e0e0 80%, transparent 100%);
    border: none;
    margin: 0 0 24px;
}
.modal_verify_guide {
    font-size: 15px;
    font-weight: 500;
    color: #444;
    margin-bottom: 28px;
}
@keyframes sparkleRotate {
    0%, 100% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(-10deg) scale(1.1); }
    75% { transform: rotate(10deg) scale(1.1); }
}
@keyframes btnShine {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.modal_verify_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 360px;
    height: 56px;
    padding: 0 28px;
    border: none;
    border-radius: 16px;
    background: linear-gradient(90deg, #1e40af 0%, #2563eb 50%, #3b82f6 100%);
    background-size: 200% 100%;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.modal_verify_btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}
.modal_verify_btn:hover::before { transform: translateX(100%); }
.modal_verify_btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.4);
    animation: btnShine 3s ease infinite;
}
.modal_verify_btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
}
.modal_verify_btn .sparkle {
    width: 20px;
    height: 20px;
    animation: sparkleRotate 3s ease-in-out infinite;
}
.modal_verify_btn .sparkle:first-child { animation-delay: 0s; }
.modal_verify_btn .sparkle:last-child { animation-delay: 1.5s; }
.modal_verify_btn .sparkle:only-child { animation-delay: 0s; }
.modal_verify_btn .sparkle svg {
    width: 100%;
    height: 100%;
    fill: #fff;
    filter: drop-shadow(0 0 2px rgba(255,255,255,0.5));
}
.modal_verify_btn_row {
    display: flex;
    gap: 10px;
}
.modal_verify_btn_row .modal_verify_btn {
    flex: 1 1 0;
    max-width: none;
}
.modal_verify_btn_secondary {
    background: linear-gradient(90deg, #1e40af 0%, #2563eb 50%, #3b82f6 100%);
    color: #fff;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}
.modal_verify_btn_secondary::before { display: none; }
.modal_verify_btn_secondary:hover {
    background: #1d4ed8;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(29, 78, 216, 0.35);
    animation: none;
}
.modal_verify_btn.modal_verify_btn_outline {
    background: #fff;
    color: #2563eb;
    border: 1px solid #2563eb;
    box-shadow: none;
}
.modal_verify_btn.modal_verify_btn_outline::before { display: none; }
.modal_verify_btn.modal_verify_btn_outline:hover {
    background: #eff6ff;
    color: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: none;
    animation: none;
}
.modal_verify_btn.modal_verify_btn_outline:active {
    background: #dbeafe;
    color: #1d4ed8;
    box-shadow: none;
}
@media (max-width: 640px) {
    .modal_verify_overlay { padding: 16px; }
    .modal_verify {
        max-width: var(--modal-max-width-mobile, 300px);
        margin: 0;
        padding: var(--modal-pad-v-mobile, 28px) var(--modal-pad-h-mobile, 20px) var(--modal-pad-b-mobile, 24px);
        border-radius: var(--modal-radius-mobile, 16px);
    }
    .modal_verify_close {
        top: 8px;
        right: 8px;
        width: 28px;
        height: 28px;
        font-size: 16px;
    }
    .modal_verify_icon {
        width: 44px;
        height: 44px;
        margin-bottom: 12px;
        border-width: 3px;
    }
    .modal_verify_icon svg {
        width: 22px;
        height: 22px;
    }
    .modal_verify_company {
        font-size: 17px;
        margin-bottom: 10px;
    }
    .modal_verify_text,
    .modal_verify_text2 {
        font-size: 12px;
        max-width: 100%;
        line-height: 1.5;
        margin-bottom: 6px;
    }
    .modal_verify_text2 { margin-bottom: 16px; }
    .modal_verify_br_pc { display: none; }
    .modal_verify_hr { margin: 0 0 16px; }
    .modal_verify_guide {
        font-size: 13px;
        margin-bottom: 16px;
    }
    .modal_verify_btn {
        height: 44px;
        font-size: 14px;
        border-radius: 12px;
    }
    .modal_verify_btn_row { flex-direction: column; }
}
