html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    background: #f4f6f9;
}

.login-shell {
    min-height: calc(100vh - 190px);
    display: grid;
    place-items: center;
    padding: 2rem 0;
}

.login-card {
    width: min(100%, 420px);
    padding: 2.5rem;
    border: 1px solid #e3e7ee;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 1.25rem 3rem rgba(31, 42, 68, .1);
}

.login-mark {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 1.25rem;
    border-radius: .8rem;
    color: #fff;
    background: #1b6ec2;
    font-size: 1.4rem;
    font-weight: 700;
}

.login-eyebrow {
    margin-bottom: .25rem;
    color: #1b6ec2;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.login-card h1 {
    margin-bottom: .5rem;
    font-size: 2rem;
    font-weight: 700;
}

.login-copy {
    margin-bottom: 2rem;
    color: #687386;
}

.login-alternative {
    margin: 1.5rem 0 0;
    color: #687386;
    text-align: center;
}

.user-list-card {
    border-radius: 1rem;
}

.host-list-card {
    border-radius: 1rem;
}

.host-list-card thead th {
    padding: 1rem 1.25rem;
    border-bottom-width: 1px;
    color: #687386;
    background: #f8f9fb;
    font-size: .78rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.host-list-card tbody td {
    padding: 1rem 1.25rem;
}

.host-url {
    color: #445066;
    white-space: nowrap;
}

.host-actions-column {
    width: 5rem;
}

.host-actions-button {
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border: 1px solid #e3e7ee;
    color: #445066;
    font-size: 1.1rem;
    line-height: 1;
}

.module-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
    gap: 1.25rem;
}

.module-tile,
.module-empty-state {
    border-radius: 1rem;
}

.module-tile {
    min-height: 210px;
    transition: transform .15s ease, box-shadow .15s ease;
}

.module-tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 .75rem 1.75rem rgba(31, 42, 68, .12) !important;
}

.module-tile--hidden {
    min-height: 180px;
    opacity: .82;
}

.module-tile .card-body {
    padding: 1.35rem;
}

.module-health {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: #445066;
    white-space: nowrap;
}

.module-health-dot {
    width: .7rem;
    height: .7rem;
    border-radius: 50%;
    box-shadow: 0 0 0 .2rem rgba(108, 117, 125, .12);
}

.module-health-dot--healthy {
    background: #198754;
    box-shadow: 0 0 0 .2rem rgba(25, 135, 84, .13);
}

.module-health-dot--unhealthy {
    background: #dc3545;
    box-shadow: 0 0 0 .2rem rgba(220, 53, 69, .13);
}

.module-health-dot--unknown {
    background: #8b95a5;
}

.module-description {
    margin: 1.2rem 0 1.5rem;
    overflow-wrap: anywhere;
}

.module-type-badge {
    display: inline-block;
    padding: .2rem .5rem;
    border-radius: .4rem;
    color: #445066;
    background: #edf1f6;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.module-actions-button {
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 1px solid #e3e7ee;
    color: #445066;
    line-height: 1;
}

.searchable-select-search {
    border-radius: .5rem;
    box-shadow: 0 .2rem .65rem rgba(31, 42, 68, .07);
}

.searchable-select-search .input-group-text:first-child {
    color: #1b6ec2;
    background: #eef5fd;
    border-color: #cbdcf0;
}

.searchable-select-search .form-control {
    border-color: #cbdcf0;
}

.search-result-count {
    min-width: 4.5rem;
    justify-content: center;
    color: #687386;
    background: #f8f9fb;
    border-color: #cbdcf0;
    font-size: .75rem;
    font-weight: 600;
}

.search-result-count--active {
    color: #0d6efd;
    background: #eef5fd;
}

.user-table-responsive {
    overflow: visible;
}

.user-list-card thead th {
    padding: 1rem 1.25rem;
    border-bottom-width: 1px;
    color: #687386;
    background: #f8f9fb;
    font-size: .78rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.user-list-card tbody td {
    padding: 1rem 1.25rem;
}

.user-id-column {
    width: 8rem;
}

.user-actions-column {
    width: 5rem;
}

.user-actions-button {
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border: 1px solid #e3e7ee;
    color: #445066;
    font-size: 1.1rem;
    line-height: 1;
}

.access-table th,
.access-table td {
    min-width: 5.5rem;
}

.access-table th:first-child {
    min-width: 10rem;
}

.access-table .form-check-input {
    width: 1.15rem;
    height: 1.15rem;
}

@media (max-width: 575.98px) {
    .user-table-responsive {
        overflow-x: auto;
    }
}

.validation-summary-valid {
    display: none;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}
