@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

:root {
    --mud-palette-warning: #DAA011;
    --mud-palette-warning-rgb: 218, 160, 17;
}

html, body {
     font-family: "Plus Jakarta Sans", sans-serif !important;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#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;
    }



.cert-sidebar.mud-drawer:not(.mud-drawer-fixed) {
    position: fixed;
}

/* Ensure all MudSelect components have a down arrow icon at the end, 
   even if a custom AdornmentIcon is used at the start. */
.mud-select {
    position: relative;
}

.mud-select .mud-input-adorned-start .mud-input-outlined-border::after {
    content: "";
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='rgba(0,0,0,0.54)'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
    z-index: 10;
}

/* Adjust padding for MudSelect with start adornment to ensure text doesn't overlap the arrow */
.mud-select .mud-input-adorned-start .mud-input-slot {
    padding-right: 32px !important;
}

/* Move snackbar slightly below the default top-right position (avoid huge values — they render off-screen). */
.app-snackbar-offset {
    top: 9rem !important;
}


