/**
 * Smart AJAX Form Handler - Public Styles
 */

/* Notifications */
.safh-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 8px;
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    z-index: 999999;
    transform: translateY(100px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
}

.safh-notification.safh-show {
    transform: translateY(0);
    opacity: 1;
}

.safh-success {
    background: #10b981; /* Emerald */
    border-left: 5px solid #065f46;
}

.safh-error {
    background: #ef4444; /* Red */
    border-left: 5px solid #991b1b;
}

.safh-warning {
    background: #f59e0b; /* Amber */
    border-left: 5px solid #b45309;
}

/* Button Loading State */
.safh-loading {
    cursor: not-allowed !important;
    opacity: 0.8 !important;
}

.safh-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: safh-spin 0.8s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

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

/* Responsive adjustments */
@media (max-width: 600px) {
    .safh-notification {
        left: 20px;
        right: 20px;
        bottom: 10px;
        text-align: center;
    }
}
