/* ========================================
   Verdure MCP Platform - Global Styles
   Modern Material Design 3 Theme
   ======================================== */

html, body {
    font-family: 'Roboto', 'Segoe UI', 'Helvetica Neue', 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #FAFAFA;
    color: #212121;
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1:focus {
    outline: none;
}

/* Blazor Error UI */
#blazor-error-ui {
    background: #ef476f;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    color: white;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.blazor-error-boundary {
    background: #ef476f;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred."
}

/* Utility Classes */
.gap-4 {
    gap: 1rem;
}

/* Custom Scrollbar - Material Design Style */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: #F5F5F5;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: #BDBDBD;
    border-radius: 6px;
    border: 2px solid #F5F5F5;
}

::-webkit-scrollbar-thumb:hover {
    background: #9E9E9E;
}

/* Smooth transitions for all elements */
* {
    transition-timing-function: cubic-bezier(0.4, 0.0, 0.2, 1);
}

/* Better focus styles */
*:focus-visible {
    outline: 2px solid #1976D2;
    outline-offset: 2px;
}
