/* Additions for the combined tools page */
.header { padding: 40px 20px 34px; }
.header h1 { font-size: 34px; }

.nav { background: #133EF5; position: sticky; top: 0; z-index: 10; box-shadow: 0 2px 6px rgba(0, 0, 0, .15); }
.nav ul { list-style: none; margin: 0 auto; padding: 0 20px; max-width: 960px; display: flex; flex-wrap: wrap; gap: 4px; }
.nav li { margin: 0; }
.nav a { display: block; padding: 14px 18px; color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; border-bottom: 4px solid transparent; }
.nav a:hover { background: rgba(255, 255, 255, .12); }
.nav a[aria-current="page"] { border-bottom-color: #fff; background: rgba(255, 255, 255, .16); }

.view { display: none; }
.view.active { display: block; }

.panel { border: 3px solid #eee; border-radius: 6px; padding: 14px 18px 18px; margin: 16px 0; }
.panel h3 { margin-top: 4px; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px 18px; }
.fields label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 3px; }
.fields input[type="text"], .fields input[type="email"], .fields input[type="password"], .fields input[type="number"], .fields select, .fields textarea {
    width: 100%; font-family: inherit; font-size: 15px; padding: 8px 10px; border: 2px solid #ddd; border-radius: 6px; background: #fff; color: #333;
}
.fields textarea { min-height: 70px; resize: vertical; }
.fields .full { grid-column: 1 / -1; }
.hint { font-size: 12px; color: #666; font-weight: 400; margin: 3px 0 0; }
.seg { display: inline-flex; border: 2px solid #133EF5; border-radius: 20px; overflow: hidden; margin: 4px 0 10px; }
.seg label { margin: 0; padding: 6px 16px; cursor: pointer; font-size: 14px; font-weight: 600; color: #133EF5; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg input:checked + span { background: #133EF5; color: #fff; }
.seg span { display: block; margin: -6px -16px; padding: 6px 16px; }
.privacy { font-size: 13px; color: #555; margin: 8px 0 0; }

.progress { height: 18px; background: #eee; border-radius: 9px; overflow: hidden; margin: 8px 0; }
.progress > div { height: 100%; background: #28a8e6; width: 0; transition: width .4s; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 14px 0; }
.btn.danger { background-color: #D8000C; }

table.results { font-size: 13px; border-collapse: collapse; width: 100%; }
table.results th, table.results td { border-bottom: 1px solid #e6e6e6; padding: 6px 8px; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
table.results th { white-space: nowrap; }
table.results th { background: #eee; position: sticky; top: 0; }
table.results tr.bad td:first-child { border-left: 4px solid #D8000C; }
table.results tr.good td:first-child { border-left: 4px solid #4F8A10; }
table.results tr.warn td:first-child { border-left: 4px solid #e0a100; }
.pill { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; padding: 1px 8px; border-radius: 10px; color: #fff; }
.pill.ok { background: #4F8A10; } .pill.bad { background: #D8000C; } .pill.warn { background: #b27800; } .pill.skip { background: #777; }
.scroll { max-height: 420px; overflow: auto; border: 1px solid #e0e0e0; border-radius: 4px; }
.newtag { background: #28a8e6; color: #fff; font-size: 10px; border-radius: 3px; padding: 0 5px; margin-left: 6px; vertical-align: 1px; }
footer.site { text-align: center; color: #777; font-size: 12px; padding: 30px 20px 40px; }

/* admin */
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-table th, .admin-table td { border-bottom: 1px solid #e6e6e6; padding: 8px 8px; text-align: left; vertical-align: top; }
.admin-table th { background: #eee; white-space: nowrap; }
.admin-table td.nowrap { white-space: nowrap; }
.admin-table td.wrap { overflow-wrap: anywhere; min-width: 70px; }
.admin-table td.desc { min-width: 170px; }
.admin-table td.api { white-space: nowrap; }
.admin-table tr.off td { color: #999; }
.admin-table td.row-actions { white-space: nowrap; text-align: right; }
.rowbtn { font: inherit; font-size: 12px; background: none; border: 1px solid #ccc; border-radius: 4px; color: #444; padding: 2px 8px; cursor: pointer; }
.rowbtn + .rowbtn { margin-left: 4px; }
.rowbtn:hover { background: #f2f2f2; border-color: #999; }
.rowbtn.del { color: #b00020; }
.rowbtn.del:hover { background: #fdecee; border-color: #b00020; }
.mono { font-family: monospace; }

table.reference { font-size: 12px; width: 100%; border-collapse: collapse; }
table.reference th { text-align: left; padding: 8px 15px; border-bottom: 1px solid #e0e0e0; }
table.reference td { padding: 8px 15px; vertical-align: top; }
table.reference tr:nth-child(even) { background: #eeeeee; }
table.reference td:nth-child(1) { font-weight: bold; }
table.reference td:nth-child(2) { font-family: monospace; }
.subhead { margin: 10px 0 0; font-size: 16px; }

/* The main next step when a file has problems */
.btn.big { font-size: 20px; line-height: 28px; padding: 16px 40px; border-radius: 34px; box-shadow: 0 3px 10px rgba(19, 62, 245, .3); }
.btn.demoted { font-size: 13px; padding: 6px 18px; }

/* Confirmation checkbox and the button it unlocks, kept together */
.go-box { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 4px 0 18px; }
.go-box .ack { margin: 0; }
.go-box:empty { display: none; }
