body {
    font-family: Tahoma, Arial, Verdana, sans-serif;
    font-size: 13px;
}
#main-header h1 {
    font-size: 24px;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

#main-content {

}

.unit-form {
    margin-top: 10px;
}

.unit-grid {
    display: block;              /* no grid = more old-school */
    margin: 10px 0;
}

.unit-card {
    width: 500px;

    display: flex;
    align-items: center;
    gap: 10px;

    border: 1px solid #999;
    padding: 8px 10px;
    margin-bottom: 6px;

    cursor: pointer;
    background-color: #fff;
}

.unit-card:hover {
    background-color: #f4f4f4;
}

/* ✅ Highlight entire frame when selected */
.unit-card:has(.unit-radio:checked) {
    background-color: #e6f0ff;
    border-color: #3366cc;
}

.unit-radio {
    margin: 0;
}

.unit-card-body {
    display: block;
}

.unit-name {
    font-weight: bold;
    font-size: 1em;
}

.unit-org {
    font-size: 0.9em;
    color: #555;
}

.actions input[type="submit"] {
    padding: 4px 10px;
    border: 1px solid #666;
    background-color: #e0e0e0;
    color: #000;
    font-size: 1em;
    cursor: pointer;
}

.actions input[type="submit"]:hover {
    background-color: #d6d6d6;
}

.actions input[type="submit"]:active {
    background-color: #ccc;
    border-color: #444;
}

.error-box {
    background-color: #fdecea;
    color: #b42318;
    border: 1px solid #f5c2c0;
    padding: 12px 16px;
    border-radius: 6px;
    margin: 12px 0;
    font-size: 0.95rem;
    white-space: pre-line;
}

.emphasized {
    font-style: italic;
}

a.login {
    font-weight: bold;
}

/*From old loginform.css*/
#logon-select-method, #logon-forgot {
    font-family: Tahoma;
    font-size: 12px;
}

.logon-methods {
    margin-left: 10px;
    margin-top: 10px;
}
#logon-ubas, #logon-uidp {
    display: block;
}

#logon-ubas a, #logon-uidp a, .uidp-login-link  {
    font-family: Tahoma;
    font-size: 12px;
    font-weight: bold;
    /*text-decoration: none;*/
}

#logon-ubas a:hover, #logon-uidp a:hover {
    text-decoration: underline;
}

#logon-ubas a:hover:before, #logon-uidp a:hover:before {
    content: "";
}

#logon-other {
    display: none;
}

#logon-forgot {
    margin-top: 10px;
    margin-bottom: 80px;
}

.larger {
    font-size: 130%;
}