/* ── Clonapure Noon: form success overlay ── */

.cn-form-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

/* ── Spinner ── */

.cn-spinner-wrap {
    text-align: center;
}

.cn-spinner {
    width: 48px;
    height: 48px;
    margin: 0 auto;
    border: 4px solid rgba(26, 42, 94, 0.15);
    border-top-color: #1a2a5e;
    border-radius: 50%;
    animation: cn-spin 0.8s linear infinite;
}

@keyframes cn-spin {
    to { transform: rotate(360deg); }
}

/* ── Success ── */

.cn-success-wrap {
    text-align: center;
    padding: 60px 20px 30px;
}

.cn-success-icon {
    margin-bottom: 18px;
}

/* Animated check-mark circle */
.cn-success-icon .cn-circle {
    stroke-dasharray: 157;
    stroke-dashoffset: 157;
}

.cn-success-icon .cn-check {
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
}

.cn-animate-in .cn-circle {
    animation: cn-draw-circle 0.5s ease forwards;
}

.cn-animate-in .cn-check {
    animation: cn-draw-check 0.35s 0.4s ease forwards;
}

@keyframes cn-draw-circle {
    to { stroke-dashoffset: 0; }
}

@keyframes cn-draw-check {
    to { stroke-dashoffset: 0; }
}

/* Text */
.cn-success-title {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #1a2a5e;
    margin: 0 0 8px;
}

.cn-success-text {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    color: #555;
    margin: 0;
    line-height: 1.6;
}
