/* Wrapper */
.notify-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.45);
    z-index: 2147483646;
    pointer-events: auto;
    opacity: 0;
    transition: opacity .18s ease;
}

    .notify-overlay.show {
        opacity: 1;
    }

/* Card */
.notify-card {
    width: 360px;
    max-width: calc(100% - 40px);
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.22);
    padding: 22px;
    text-align: center;
    transform: translateY(6px) scale(.98);
    transition: transform .18s cubic-bezier(.2,.8,.2,1), opacity .18s;
    opacity: 0;
}

.notify-overlay.show .notify-card {
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* SVG container */
.notify-svg {
    width: 86px;
    height: 86px;
    margin: 2px auto 12px;
    display: block;
}

/* title */
.notify-title {
    font-size: 18px;
    color: #1f2937;
    margin-top: 4px;
    line-height: 1.3;
    font-weight: 600;
}

.notify-message {
    font-size: 14px;
    margin-top: 10px;
}
/* stroke base */
.notify-path {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* success colors */
.notify-success .circle {
    stroke: #34d399;
    stroke-width: 6;
    stroke-opacity: .92;
}

.notify-success .tick {
    stroke: #10b981;
    stroke-width: 5.5;
}

/* error colors */
.notify-error .circle {
    stroke: #fb7185;
    stroke-width: 6;
    stroke-opacity: .95;
}

.notify-error .cross {
    stroke: #ef4444;
    stroke-width: 5.5;
}

/* warning/info colors (optional) */
.notify-warning .circle {
    stroke: #f59e0b;
    stroke-width: 6;
    stroke-opacity: .95;
}

.notify-info .circle {
    stroke: #3b82f6;
    stroke-width: 6;
    stroke-opacity: .95;
}

/* Drawing animation: initial hidden by stroke-dashoffset */
.draw {
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: draw-path 1.5s ease forwards;
}

/* Slight delay for check/cross stroke */
.draw-slow {
    animation-duration: .5s;
    animation-delay: .5s;
}

/* small bounce for whole svg after drawn */
@keyframes draw-path {
    to {
        stroke-dashoffset: 0;
    }
}

/* subtle pulse of circle (after draw) */
@keyframes circle-pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.04);
        opacity: 0.96;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.notify-overlay.show .notify-card .notify-svg {
    animation: circle-pulse 1.2s ease 0.18s both;
}

/* small close button (optional) */
.notify-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: transparent;
    border: none;
    font-size: 14px;
    cursor: pointer;
    color: rgba(0,0,0,0.45);
}
