  /* --- Linkology Confirm Dialog – Overlay & Card --- */

.dialog-overlay-panel {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    padding: 16px;
    background: radial-gradient(circle at top,
                 rgba(15, 23, 42, 0.14),
                 rgba(15, 23, 42, 0.65));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5000;
    backdrop-filter: blur(12px);
}


#custom-confirm {

    width: 600px;
    background: var(--mm-card-bg, #ffffff);
    border-radius: 18px;
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.45);
    padding: 28px 30px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    justify-items: center;
    gap: 12px;
    transform: translateY(8px) scale(0.96);
    animation: mm-dialog-in 0.18s ease-out forwards;
}

#custom-confirm-p {

    font-size: 0.95rem;
    line-height: 1.4;
    text-align: center;  /* <– important */
    color: var(--mm-text-main, #111827);
    font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, "Roboto",
                 "Helvetica Neue", Arial, sans-serif;
    width:100%;
    display: flex;

    justify-content: center;
    align-items: center;

}

#custom-prompt-input,
#custom-input-field {
    width: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 14px;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.9);
    background: #f9fafb;
    font-size: 0.9rem;
    font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, "Roboto",
                 "Helvetica Neue", Arial, sans-serif;
    outline: none;
    transition:
        border 0.16s ease,
        box-shadow 0.16s ease,
        background 0.16s ease;
}

#custom-prompt-input:focus,
#custom-input-field:focus {
    border-color: var(--mm-accent, #7D3BBB);
    background: #ffffff;
    box-shadow: 0 0 0 1px rgba(125, 59, 187, 0.18);
}


#custom-prompt-input:focus,
#custom-input-field:focus {
    border-color: var(--mm-accent, #7D3BBB);
    background: #ffffff;
    box-shadow: 0 0 0 1px rgba(125, 59, 187, 0.18);
}

.custom-confirm-But-hol {
    margin-top: 4px;
    display: flex;
    justify-content: center;  /* <– was flex-end */
    gap: 12px;
}

.custom-dialog-button
 {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(125, 59, 187, 0.4);
    background: radial-gradient(circle at top left,
                 #f9fafb, transparent);
    color: var(--mm-accent);
    font-size: 12px; /*0.8rem*/
    font-weight: 400;
    text-decoration: none;
    transition: background 0.2s ease,
                transform 0.16s ease,
                box-shadow 0.16s ease;
    display: flex;
    justify-content: center;
    
    text-align: center;

    height: 30px;
    min-width: 75px;
}

/* OK + hover, Cancel + hover: keep your existing versions */


/* Primary (OK) button */
.custom-dialog-button:hover {
    background: rgba(125, 59, 187, 0.1);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(125, 59, 187, 0.35);
}

/* Tiny entrance animation */
@keyframes mm-dialog-in {
    0% {
        opacity: 0;
        transform: translateY(18px) scale(0.94);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
