/* Basic app styles - MudBlazor focused */

html, body {
    font-family: 'Roboto', sans-serif;
}

#blazor-error-ui {
    background: lightyellow;
    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;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

/* Custom utility classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.generating {
    opacity: 0.7;
    pointer-events: none;
}

/* Signature pad styling */
#signature-pad-container {
    border: 2px dashed var(--mud-palette-lines-default);
    border-radius: 8px;
    padding: 15px;
    background-color: var(--mud-palette-background-grey);
    text-align: center;
}

#signature-pad-container canvas {
    border: 1px solid var(--mud-palette-text-primary);
    border-radius: 4px;
    background: white;
    max-width: 100%;
    cursor: crosshair;
}