/* Phone field error */
.field-error {
    color: #e53e3e;
    font-size: 12px;
    margin-top: 4px;
    display: block;
}

/* Top error banner */
.form-error-banner {
    background: #fff5f5;
    border-left: 4px solid #e53e3e;
    color: #c53030;
    padding: 10px 16px;
    border-radius: 4px;
    margin-bottom: 16px;
    font-size: 14px;
}

/* Submit button loading state */
#submitBtn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

/* ── Success Card ── */
.success-card {
    text-align: center;
    padding: 48px 32px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(37, 63, 113, 0.10);
    animation: fadeSlideUp 0.5s ease forwards;
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animated SVG checkmark */
.success-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
}

.success-icon svg {
    width: 100%;
    height: 100%;
}

.success-circle {
    stroke: #253f71;
    stroke-width: 2;
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    animation: drawCircle 0.6s ease forwards 0.1s;
}

.success-check {
    stroke: #253f71;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: drawCheck 0.4s ease forwards 0.65s;
}

@keyframes drawCircle {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes drawCheck {
    to {
        stroke-dashoffset: 0;
    }
}

.success-title {
    color: #253f71;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.success-message {
    color: #555;
    font-size: 15px;
    margin-bottom: 24px;
}

.success-contact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #f1f5f9;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 14px;
    color: #333;
}

.success-contact a {
    color: #253f71;
    font-weight: 700;
    text-decoration: none;
}

.success-contact a:hover {
    text-decoration: underline;
}