.big {
    font-size: 16px;
}


.table th {
    font-size: 14px;
    font-weight: 600;
    text-transform: none;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-top-color: rgba(0, 0, 0, 0.05);
    padding: 0.7rem;
}

.hidden {
    display: none;
}

.contentbar {
    margin-top: 70px;
}

/* Flash messages float below the fixed topbar instead of rendering behind it and pushing the page down */
.message {
    position: fixed;
    top: 55px;
    right: 30px;
    z-index: 1040;
    max-width: 420px;
    padding: 0.75rem 1.25rem;
    border: 1px solid #b8daff;
    border-radius: 3px;
    background-color: #cce5ff;
    color: #004085;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    cursor: pointer;
}

.message.success {
    border-color: #c3e6cb;
    background-color: #d4edda;
    color: #155724;
}

.message.warning {
    border-color: #ffeeba;
    background-color: #fff3cd;
    color: #856404;
}

.message.error {
    border-color: #f5c6cb;
    background-color: #f8d7da;
    color: #721c24;
}

@media (max-width: 767px) {
    .message {
        left: 16px;
        right: 16px;
        max-width: none;
    }
}

.menu-item-admin > a,
.menu-item-admin > a span,
.menu-item-admin > a i {
    opacity: 0.45;
}
.menu-item-admin > a:hover,
.menu-item-admin > a:hover span,
.menu-item-admin > a:hover i {
    opacity: 0.75;
}

.logobar .logo img,
.topbar-mobile .mobile-logobar img {
    width: auto;
    height: auto;
    max-height: 36px;
}

/* Keep the account trial label centered between navigation and profile controls. */
.topbar .topbar-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
}
.topbar .topbar-content .infobar {
    float: none;
    justify-self: end;
}
.topbar-trial {
    text-align: center;
}
.topbar-trial-badge {
    background: #ffe08a;
    color: #533400;
    border: 1px solid #e1ad35;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 700;
    white-space: normal;
}
@media (max-width: 1199px) {
    .topbar .topbar-content {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 8px;
    }
    .topbar-trial {
        grid-column: 1 / -1;
        grid-row: 2;
    }
    .topbar-trial:empty {
        display: none;
    }
    .topbar.has-trial ~ .contentbar {
        margin-top: 110px;
    }
}

.terms-body {
    line-height: 1.65;
    overflow-wrap: anywhere;
}
.terms-body h1 { font-size: 1.65rem; }
.terms-body h2 { font-size: 1.4rem; margin-top: 1.5rem; }
.terms-body h3 { font-size: 1.2rem; margin-top: 1rem; }
.terms-scroll {
    max-height: 55vh;
    overflow-y: auto;
    padding: 16px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
}
#terms-agree {
    width: 26px;
    height: 26px;
    margin-right: 8px;
    vertical-align: middle;
}
.terms-source {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

/* Logout is a POST form button; match the theme's .vertical-menu > li > a */
.vertical-menu .menu-logout {
    display: block;
    width: calc(100% - 30px);
    margin: 0 15px;
    padding: 8px 15px;
    border: 0;
    border-radius: 3px;
    font: inherit;
    text-align: left;
    text-decoration: none;
}
.vertical-menu .menu-logout:hover,
.vertical-menu .menu-logout:focus {
    background-color: rgba(172, 172, 180, 0.1);
    text-decoration: none;
}
.vertical-menu .menu-logout > i {
    display: inline-block;
    width: 30px;
    font-size: 18px;
}
/* Collapsed sidebar: hide the Logout text like the theme hides `li > a > span`; show it again on hover */
@media (min-width: 768px) {
    .vertical-layout.toggle-menu .vertical-menu .menu-logout > span {
        display: none;
    }
    .vertical-layout.toggle-menu .leftbar:hover .vertical-menu .menu-logout > span {
        display: inline-block;
    }
}

/* Inputs read as recessed wells set into the card; focus lifts them to white */
.form-control,
.input-group-text {
    border: 1px solid #a9b4c2;
    border-bottom-color: #d3d9e1;
    border-radius: 6px;
}
.form-control {
    background-color: #edf0f5;
    color: #151d2e;
    box-shadow:
        inset 0 2px 4px rgba(21, 29, 46, 0.14),
        inset 0 1px 1px rgba(21, 29, 46, 0.10),
        0 1px 0 rgba(255, 255, 255, 0.9);
    transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.input-group-text {
    background-color: #e2e7ee;
    box-shadow: inset 0 2px 4px rgba(21, 29, 46, 0.10);
}
.form-control:hover {
    border-color: #8e9bad;
    border-bottom-color: #c3cad4;
}
/* Focus uses the SimuCheck logo gold (#f4ad0f) */
.form-control:focus {
    background-color: #fffdf7;
    border-color: #d99a0b;
    box-shadow:
        inset 0 1px 2px rgba(21, 29, 46, 0.08),
        0 0 0 4px rgba(244, 173, 15, 0.30) !important;
}
.form-control::placeholder {
    color: #8e9bad;
}
.form-control:disabled,
.form-control[readonly] {
    background-color: #e4e7eb;
    border-color: #ced4da;
    box-shadow: none;
    color: #6c7a8c;
}
.input-group > .form-control:not(:first-child),
.input-group > .input-group-prepend + .form-control {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.input-group > .form-control:not(:last-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
