/* Chrome that belongs to the demo rather than to the application. */

/* Shown when a form is rejected, matching the alert-warning the templates use. */
.demo-error {
    color: #d64545;
    font-size: 14px;
    margin: 8px 0 0;
}

.demo-empty {
    padding: 24px;
    text-align: center;
    color: #7b8794;
    font-family: "Roboto", sans-serif;
}

/* The signed-in admin's own row on the users page, where the two switch
   buttons would only lock them out of their own admin pages. */
.demo-self {
    margin: 0;
    color: #7b8794;
    font-size: 12px;
}

/* Several of the app's status rules set `display`, which beats the browser's
   default `[hidden] { display: none }`. The demo toggles those elements with
   the hidden attribute, so it has to win. */
[hidden] {
    display: none !important;
}

/* The login page's credential hint. `form h3` uses `margin: auto`, which
   collapses to no vertical space, so the gap under the heading is ours to
   set. Centred to line up with the heading above it. */
.demo-info-box {
    margin: 22px 0 4px;
    padding: 12px 14px;
    background: rgba(255, 209, 102, 0.1);
    border: 1px solid #ffd166;
    border-radius: 6px;
    color: #e4e7eb;
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
}

.demo-info-box strong {
    display: block;
    margin-bottom: 6px;
    color: #ffd166;
}

.demo-info-box a {
    display: block;
    color: #e4e7eb;
    text-decoration: none;
}
