/* style.css - plain old VB6 / Windows-95 style. Grayscale only, no external assets. */

* { box-sizing: border-box; }

body {
    background: #c0c0c0;
    font-family: Tahoma, "MS Sans Serif", Arial, sans-serif;
    font-size: 11px;
    color: #000;
    margin: 0;
    padding: 20px;
}

.window {
    background: #c0c0c0;
    border: 2px outset #ffffff;
    max-width: 950px;
    margin: 0 auto 20px auto;
}

.window.narrow { max-width: 420px; }

.titlebar {
    background: #000080;
    color: #ffffff;
    padding: 5px 10px;
    font-weight: bold;
    font-size: 12px;
}

.content { padding: 15px; }

fieldset {
    border: 1px groove #808080;
    margin-bottom: 12px;
    padding: 10px 12px;
}

legend { font-weight: bold; padding: 0 4px; }

.field-row { margin-bottom: 8px; }

label {
    display: inline-block;
    width: 160px;
    font-weight: normal;
    vertical-align: top;
}

input[type=text], input[type=password], input[type=number],
select, textarea {
    border: 2px inset #ffffff;
    background: #ffffff;
    font-family: Tahoma, "MS Sans Serif", Arial, sans-serif;
    font-size: 11px;
    padding: 3px 4px;
    width: 260px;
}

textarea { width: 400px; vertical-align: top; }

button, input[type=submit], input[type=file]::file-selector-button {
    background: #c0c0c0;
    border: 2px outset #ffffff;
    padding: 5px 16px;
    font-family: Tahoma, "MS Sans Serif", Arial, sans-serif;
    font-size: 11px;
    cursor: pointer;
}

button:active, input[type=submit]:active { border-style: inset; }

table { border-collapse: collapse; width: 100%; margin-top: 8px; }
th, td { border: 1px solid #808080; padding: 4px 6px; text-align: left; font-size: 11px; }
th { background: #d4d0c8; }
tr:nth-child(even) td { background: #ececec; }

.dash-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 10px 0;
}

.dash-btn {
    display: block;
    background: #c0c0c0;
    border: 2px outset #ffffff;
    padding: 30px 10px;
    text-align: center;
    text-decoration: none;
    color: #000;
    font-size: 13px;
    font-weight: bold;
}

.dash-btn:active { border-style: inset; }

.dash-btn.full { grid-column: 1 / span 2; padding: 15px; }

.msg-error { background: #fff; border: 1px solid #800000; color: #800000; padding: 8px; margin-bottom: 10px; }
.msg-success { background: #fff; border: 1px solid #008000; color: #008000; padding: 8px; margin-bottom: 10px; }

.statusbar {
    border-top: 1px solid #808080;
    padding: 6px 10px;
    font-size: 10px;
    color: #333;
    display: flex;
    justify-content: space-between;
}

a { color: #000080; }

.btnbar { margin-top: 12px; }
.btnbar button, .btnbar a.btn-like {
    display: inline-block;
    margin-right: 8px;
    text-decoration: none;
}
a.btn-like {
    background: #c0c0c0;
    border: 2px outset #ffffff;
    padding: 5px 16px;
    font-family: Tahoma, "MS Sans Serif", Arial, sans-serif;
    font-size: 11px;
    color: #000;
}

.search-row { margin-bottom: 10px; }
