/* EdgeLink Alerts - Global Styles */

html, body {
    font-family: 'Inter', sans-serif;
}

/* Form focus states */
input:focus, select:focus, textarea:focus {
    outline: none;
    ring: 2px;
    ring-color: #f97316;
    border-color: #f97316;
}

/* Button transitions */
button {
    transition: all 0.15s ease-in-out;
}

/* Loading spinner animation */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* Error UI */
#blazor-error-ui {
    background: rgba(239, 68, 68, 0.1);
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}
