/* ShowclubVIP License Portal: the product's dark look with its red accent. */
:root {
    --bg: #121214;
    --panel: #1d1d21;
    --line: #34343a;
    --text: #e9e9ec;
    --muted: #9a9aa3;
    --red: #d8262f;
    --red-dark: #a51d24;
    --ok: #3fae5a;
    --warn: #e0a526;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 15px/1.45 "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

a { color: #ff6b72; }

.topbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 24px;
    background: #0b0b0c;
    border-bottom: 2px solid var(--red);
}

.brand { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; }
.brand img { display: block; height: 44px; width: auto; }
.brand .sub { color: var(--muted); font-size: 14px; padding-top: 6px; }

@media (max-width: 480px) {
    .brand img { height: 34px; }
}

nav { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
nav a { color: var(--text); text-decoration: none; }
nav a:hover { color: #ff6b72; }

form.inline { display: inline; margin: 0; }

button.link {
    background: none;
    border: 0;
    padding: 0;
    color: var(--text);
    font: inherit;
    cursor: pointer;
}

main { max-width: 1100px; margin: 0 auto; padding: 24px 16px 64px; }

h1 { font-size: 26px; font-weight: 500; margin: 0 0 16px; }
h1:focus { outline: none; }
h2 { font-size: 18px; font-weight: 500; margin: 0 0 12px; }

.panel {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 18px;
    margin-bottom: 18px;
}

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px 18px; }

label { display: block; color: var(--muted); font-size: 13px; margin-bottom: 4px; }

input:not([type]), input[type=text], input[type=email], input[type=password], input[type=date], textarea {
    width: 100%;
    padding: 8px 10px;
    border-radius: 4px;
    border: 1px solid var(--line);
    background: #0f0f11;
    color: var(--text);
    font: inherit;
}

textarea { min-height: 70px; }

.check { display: flex; align-items: center; gap: 8px; color: var(--text); font-size: 15px; margin: 4px 0; }

.btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 4px;
    border: 1px solid var(--red-dark);
    background: linear-gradient(var(--red), var(--red-dark));
    color: #fff;
    font: inherit;
    text-decoration: none;
    cursor: pointer;
}

.btn.grey { border-color: #5b6068; background: linear-gradient(#90959c, #7c8189); }

.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }

table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 500; font-size: 13px; }
.table-wrap { overflow-x: auto; }

.pill { display: inline-block; padding: 1px 8px; border-radius: 10px; font-size: 12px; }
.pill.ok { background: rgba(63, 174, 90, .18); color: var(--ok); }
.pill.warn { background: rgba(224, 165, 38, .18); color: var(--warn); }
.pill.bad { background: rgba(216, 38, 47, .2); color: #ff6b72; }

.error { color: #ff6b72; margin: 10px 0; }
.notice { color: var(--ok); margin: 10px 0; }
.muted { color: var(--muted); }

.code {
    font: 600 28px/1.2 Consolas, "Courier New", monospace;
    letter-spacing: 3px;
    padding: 12px 16px;
    background: #0f0f11;
    border: 1px dashed var(--red);
    border-radius: 4px;
    display: inline-block;
}

pre.key { white-space: pre-wrap; word-break: break-all; background: #0f0f11; padding: 12px; border-radius: 4px; }

.login { max-width: 380px; margin: 0 auto; }

.login-logo { display: block; width: min(380px, 100%); height: auto; margin: 32px auto 20px; }
