/* HelpDeskVuln — training-target corporate-ish skin.
   Keep the training banner visually prominent at all times. */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; font-family: Segoe UI, Arial, sans-serif; color: #1e2530; background: #f4f6fa; }

.training-banner {
    background: repeating-linear-gradient(
        45deg, #b30000, #b30000 10px, #991a00 10px, #991a00 20px
    );
    color: #fff;
    padding: 10px 16px;
    text-align: center;
    font-size: 14px;
    letter-spacing: 0.3px;
    border-bottom: 3px solid #4a0000;
}
.training-banner a { color: #ffd; text-decoration: underline; }

.topnav {
    background: #1e2530;
    color: #f4f6fa;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    gap: 24px;
}
.topnav .brand a { color: #fff; font-weight: 600; font-size: 18px; text-decoration: none; }
.topnav .env-tag {
    background: #b30000; color: #fff; font-size: 11px;
    padding: 2px 8px; border-radius: 3px; margin-left: 8px; text-transform: uppercase;
}
.topnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 16px; }
.topnav .nav-links { flex-grow: 1; }
.topnav a { color: #d7dee8; text-decoration: none; }
.topnav a:hover { color: #fff; }
.topnav .user { color: #7dd3fc; font-weight: 600; }

.container {
    max-width: 1100px;
    margin: 24px auto;
    padding: 0 16px;
}

.card {
    background: #fff;
    padding: 20px;
    border: 1px solid #e1e7ef;
    border-radius: 4px;
    margin-bottom: 16px;
}

.btn {
    display: inline-block;
    padding: 8px 14px;
    background: #0b5ed7;
    color: #fff;
    border: 0;
    border-radius: 3px;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
}
.btn.secondary { background: #5c6b80; }
.btn.danger    { background: #b30000; }

.form-group { margin-bottom: 12px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 4px; }
.form-group input[type=text],
.form-group input[type=password],
.form-group input[type=email],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #bfc9d7;
    border-radius: 3px;
    font-family: inherit;
    font-size: 14px;
}
.form-group textarea { min-height: 120px; }

table.grid { width: 100%; border-collapse: collapse; }
table.grid th, table.grid td { padding: 8px 12px; border-bottom: 1px solid #e1e7ef; text-align: left; }
table.grid th { background: #f0f3f8; }

.pill {
    display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 12px; font-weight: 600;
}
.pill.open     { background: #e1f5fe; color: #01579b; }
.pill.pending  { background: #fff4e5; color: #a15c00; }
.pill.resolved { background: #e8f5e9; color: #2e7d32; }

pre.output {
    background: #0b1220; color: #d7f5e0; padding: 14px; border-radius: 3px;
    overflow-x: auto; font-size: 13px; line-height: 1.4;
    border-left: 4px solid #2e7d32;
}
pre.output.err { color: #ffd7d7; border-left-color: #b30000; }

.alert {
    padding: 10px 14px; border-radius: 3px; margin-bottom: 12px;
    background: #fdecea; color: #611a15; border: 1px solid #f5c6cb;
}
.alert.success { background: #e7f4e8; color: #22543d; border-color: #b5dcb6; }

.training-footer {
    margin-top: 40px; padding: 16px 24px; border-top: 1px solid #e1e7ef;
    text-align: center; color: #5c6b80; font-size: 12px;
}
