﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

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;
    }

div.auto-flex-basis {
    flex-basis: auto !important;   
}

/* Allow collection labels to wrap without pushing their actions outside the card. */
.editable-collection .mud-card-header-content {
    min-width: 0;
    overflow-wrap: anywhere;
}

.editable-collection .mud-card-header-actions {
    flex-shrink: 0;
}

/* Keep title visibility in CSS, without asynchronous resize-triggered renders. */
.identity-title-wide {
    display: none;
}

@media (min-width: 600px) {
    .identity-title-wide {
        display: block;
    }

    .identity-title-narrow {
        display: none;
    }
}

/* Account actions keep their natural width and wrap within the card. */
.user-account-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    width: 100%;
}
