/* 공통 Alert */
.custom-alert-overlay {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.45);
    z-index: 9999;
}

.custom-alert-overlay.show {
    display: flex;
}

.custom-alert-box {
    width: min(90%, 380px);
    padding: 32px 24px;
    background: #fff;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.custom-alert-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 28px;
    font-weight: bold;
}


/* 큐코딩 성공 */
.custom-alert-box.success.q .custom-alert-icon {
    background: #e8fbf8;
    color: #20bfa8;
}

.custom-alert-box.success.q .custom-alert-btn {
    background: #20e7c9;
    color: #fff;
}

/* 메타영수 성공 */
.custom-alert-box.success.meta .custom-alert-icon {
    background: #f7edfc;
    color: #be11ee;
}

.custom-alert-box.success.meta .custom-alert-btn {
    background: #be11ee;
    color: #fff;
}

/* 주의 */
.custom-alert-box.warning .custom-alert-icon {
    background: #fff7e6;
    color: #f5a623;
}

.custom-alert-box.warning .custom-alert-btn {
    background: #f5a623;
    color: #fff;
}

/* 에러 */
.custom-alert-box.error .custom-alert-icon  {
    background: #fff0f0;
    color: #e53935;
}

.custom-alert-box.error .custom-alert-btn {
    background: #e53935;
    color: #fff;
}

/* 텍스트 */

.custom-alert-box h3 {
    margin: 0 0 10px;
}

.custom-alert-box p {
    margin: 0 0 24px;
    line-height: 1.6;
}

.custom-alert-btn {
    width: 100%;
    padding: 12px;

    border: none;
    border-radius: 10px;

    cursor: pointer;

    font-size: 15px;
    font-weight: 600;
}