/* Spinner for Save Button */
.avp-spinner {
    animation: avp-rotate 2s linear infinite;
    width: 18px;
    height: 18px;
    margin-right: 8px;
    vertical-align: middle;
}

.avp-spinner .path {
    stroke: #ffffff;
    stroke-linecap: round;
    animation: avp-dash 1.5s ease-in-out infinite;
}

@keyframes avp-rotate { 100% { transform: rotate(360deg); } }
@keyframes avp-dash {
    0% { stroke-dasharray: 1, 150; stroke-dashoffset: 0; }
    50% { stroke-dasharray: 90, 150; stroke-dashoffset: -35; }
    100% { stroke-dasharray: 90, 150; stroke-dashoffset: -124; }
}

/* Premium Glassmorphism Toast Popup */
.avp-premium-toast {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1), 0 5px 15px rgba(0,0,0,0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    padding: 16px 24px;
    gap: 16px;
    z-index: 999999;
    transform: translateY(100px) scale(0.9);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.avp-premium-toast.show {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.avp-toast-icon svg {
    width: 28px;
    height: 28px;
}

.avp-toast-content h4 {
    margin: 0 0 4px 0;
    font-size: 15px;
    font-weight: 700;
    color: #111827;
}

.avp-toast-content p {
    margin: 0;
    font-size: 13px;
    color: #6b7280;
}

.avp-toast-success { border-left: 4px solid #10b981; }
.avp-toast-error { border-left: 4px solid #ef4444; }