* {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
    background: #1a1a1a;
    color: #e0e0e0;
    line-height: 1.6;
}

nav {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #333;
}

nav a {
    margin-right: 15px;
    color: #7aa2f7;
    text-decoration: none;
}

nav a:hover {
    color: #9dc4ff;
    text-decoration: underline;
}

a {
    color: #7aa2f7;
}

a:hover {
    color: #9dc4ff;
}

input,
select,
button,
textarea {
    padding: 10px 12px;
    margin: 5px 0;
    background: #2a2a2a;
    border: 1px solid #444;
    color: #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #7aa2f7;
}

textarea {
    resize: vertical;
    width: 100%;
}

button {
    cursor: pointer;
    background: #3d5afe;
    border: none;
    font-weight: 500;
    transition: background 0.2s;
}

button:hover {
    background: #536dfe;
}

button:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.status {
    padding: 20px;
    margin: 20px 0;
    background: #2a2a2a;
    border-radius: 8px;
    border: 1px solid #333;
}

.status.pending {
    border-left: 4px solid #ffa726;
}

.status.running {
    border-left: 4px solid #42a5f5;
}

.status.complete {
    border-left: 4px solid #66bb6a;
}

.status.failed {
    border-left: 4px solid #ef5350;
}

code,
pre {
    background: #333;
    padding: 12px;
    border-radius: 6px;
    display: block;
    word-break: break-all;
    overflow-x: auto;
    font-family: "Fira Code", "Consolas", monospace;
}

h1,
h2,
h3 {
    color: #ffffff;
    margin-top: 0;
}

.text-muted {
    color: #888;
}

.text-success {
    color: #66bb6a;
}

.text-error {
    color: #ef5350;
}

.text-warning {
    color: #ffa726;
}

.text-info {
    color: #42a5f5;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

th,
td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #333;
}

th {
    color: #888;
    font-weight: 500;
    font-size: 12px;
    text-transform: uppercase;
}

tr:hover {
    background: #252525;
}

.badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.badge-pending {
    background: #ffa726;
    color: #000;
}

.badge-running {
    background: #42a5f5;
    color: #000;
}

.badge-complete {
    background: #66bb6a;
    color: #000;
}

.badge-failed {
    background: #ef5350;
    color: #fff;
}

.badge-rank {
    background: #7aa2f7;
    color: #000;
    font-size: 10px;
    vertical-align: middle;
    position: relative;
    top: -0.1em;
    margin-left: 6px;
}