/* ── FIELD ERROR BUBBLES ── */
.field-error-bubble {
    position: absolute;
    background: #ef4444;
    color: white;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 10001;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
    pointer-events: none;
    animation: bubbleIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    white-space: nowrap;
}

.field-error-bubble::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 20px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #ef4444;
}

.input-error {
    border-color: #ef4444 !important;
    background-color: #fff5f5 !important;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1) !important;
}

@keyframes bubbleIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Maintain Toast for general messages (Success) */
.toast-container {
    position: fixed;
    top: 90px;
    right: 30px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 15px;
    pointer-events: none;
}

.toast {
    background: #ffffff;
    padding: 16px 24px;
    border-radius: 16px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 320px;
    max-width: 450px;
    border-left: 6px solid #3a8c3a;
    transform: translateX(130%);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: all;
    font-weight: 500;
    color: #1c2b18;
}

.toast.show {
    transform: translateX(0);
}

.toast.success {
    border-left-color: #4cbb4c;
}

.toast-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.toast-message {
    font-size: 0.95rem;
    line-height: 1.4;
    font-family: 'Inter', sans-serif;
}