/**
 * Two-Step Admin
 *
 * Follows the portal's look: #212121 borders with a ridged silver outline,
 * olive panels, silver text, #b8a680 headings. Matches my_account_style.css.
 */

@media (max-width: 750px) and (orientation: portrait) {
    div.twoadm-wrap {
        zoom: 80%;
        -moz-transform: scale(100%);
        -moz-transform-origin: 0 0;
        -o-transform: scale(100%);
        -o-transform-origin: 0 0;
        -webkit-transform: scale(100%);
        -webkit-transform-origin: 0 0;
        transform: scale(100%);
        transform-origin: 0 0;
        float: left
    }
}

.twoadm-wrap {
    display: inline-block;
    border: 5px solid #212121;
    outline: 2px ridge silver;
    padding: 18px;
    color: silver;
    background: rgb(61,54,30);
    background: radial-gradient(circle, rgba(61,54,30,0.9868123933167017) 0%, rgba(47,43,35,1) 75%);
    width: 780px;
    max-width: 100%;
    text-align: left;
    color-scheme: dark;
}

.twoadm-title {
    margin: 0 0 12px;
    color: #b8a680;
    font-size: 26px;
    text-align: center;
}

.twoadm-denied {
    color: #b8a680;
    font-size: 20px;
    text-align: center;
}

.twoadm-wrap p.twoadm-notice {
    color: #d8d2bd;
    font-size: 15px;
    line-height: 1.45;
    text-align: left;
    margin: 0 0 16px;
    padding: 10px 12px;
    border-left: 3px solid #b8a680;
    background-color: rgba(126, 120, 83, 0.18);
}

.twoadm-wrap p.twoadm-help {
    color: silver;
    font-size: 15px;
    line-height: 1.45;
    text-align: left;
    margin: 0 0 10px;
}

.twoadm-wrap p.twoadm-help-small {
    font-size: 14px;
    color: #a4936b;
}

.twoadm-wrap p.twoadm-hint {
    color: #a4936b;
    font-size: 14px;
    line-height: 1.4;
    text-align: left;
    margin: 5px 0 0;
}

.twoadm-wrap code {
    font-family: Consolas, "Courier New", monospace;
    font-size: 13px;
    color: #d8d2bd;
    background: rgba(0, 0, 0, 0.25);
    padding: 1px 4px;
}

.twoadm-field {
    margin-bottom: 14px;
}

.twoadm-field label {
    display: block;
    margin-bottom: 4px;
    color: #b8a680;
    font-size: 16px;
}

/* The portal forces `input` transparent/silver/centred with !important, so only
   the bits that rule does not cover are set here. */
.twoadm-field input[type="text"],
.twoadm-field input[type="password"] {
    width: 100%;
    font-size: 18px !important;
    text-align: left !important;
    height: 36px;
}

/* The password box is the gate on every action here, so it stands apart. */
.twoadm-password-field {
    border: 1px solid #4c4b4b;
    background-color: rgba(47, 43, 35, 0.55);
    padding: 12px 14px;
}

/* Result banner. */
.twoadm-message {
    padding: 10px 12px;
    margin-bottom: 14px;
    border: 1px solid #4c4b4b;
    background-color: rgba(126, 120, 83, 0.25);
    color: #d8d2bd;
    font-size: 16px;
    text-align: center;
}

/* Restated because the dispatcher injects this markup after the page has
   rendered; see CLAUDE.md. */
.twoadm-message[hidden] {
    display: none;
}

.twoadm-message.twoadm-error {
    background-color: rgba(140, 60, 50, 0.25);
    color: #e6b3a8;
}

/* The table. Narrow screens scroll it rather than crushing the columns. */
.twoadm-table-scroll {
    overflow-x: auto;
}

.twoadm-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    background: none;
}

.twoadm-table th,
.twoadm-table td {
    border: 1px solid #4c4b4b;
    padding: 8px 10px;
    text-align: left;
    vertical-align: top;
    color: silver;
    background: none;
}

.twoadm-table th {
    color: #b8a680;
    font-size: 16px;
    background-color: rgba(47, 43, 35, 0.75);
}

.twoadm-table tbody tr:hover td {
    background-color: rgba(126, 120, 83, 0.12);
}

.twoadm-login {
    font-family: Consolas, "Courier New", monospace;
    font-size: 14px;
    color: #a4936b;
}

.twoadm-empty {
    text-align: center;
    color: #a4936b;
    font-style: italic;
}

/* Status cell: each fact on its own line. */
.twoadm-status span {
    display: block;
}

.twoadm-on {
    color: #9fbf7f;
}

.twoadm-off {
    color: #a4936b;
}

.twoadm-partway {
    color: #d8b46a;
}

.twoadm-codes {
    font-size: 13px;
    color: #a4936b;
}

.twoadm-locked {
    font-size: 13px;
    color: #e6b3a8;
    margin-top: 3px;
}

.twoadm-col-actions {
    white-space: nowrap;
}

.twoadm-self,
.twoadm-none {
    font-size: 13px;
    color: #a4936b;
    font-style: italic;
}

.twoadm-btn {
    background-color: #212121;
    color: silver;
    border-radius: 4px;
    border: 1px solid black;
    outline: 2px ridge rgb(84, 84, 84);
    cursor: pointer;
    height: 32px;
    padding: 0 12px;
    font-size: 15px;
    margin: 2px 4px 2px 0;
}

.twoadm-btn:hover:not(:disabled) {
    background-color: #7e7853;
    box-shadow: 0px 0px 17px 5px rgba(97,93,73,0.9);
}

.twoadm-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
