* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    font-family: Arial, Helvetica, sans-serif;
    background: #05070d;
    color: #ffffff;
}

body {
    min-height: 100vh;
    padding: 20px;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.86)),
        url('/assets/03-pc-laptop-retro-studio-zonder-knoppen.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.shell {
    width: min(920px, 100%);
    margin: 0 auto;
}

.card {
    padding: clamp(22px, 4vw, 36px);
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 26px;
    background: rgba(2, 6, 23, 0.90);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.52);
    backdrop-filter: blur(12px);
}

.logo {
    margin: 0 0 8px;
    text-align: center;
    font-size: clamp(38px, 9vw, 58px);
    font-weight: 950;
    letter-spacing: -3px;
}

.logo .tune {
    color: #38bdf8;
}

.logo .seven {
    color: #facc15;
}

h1,
h2 {
    margin-top: 0;
}

.subtitle,
.muted {
    color: #cbd5e1;
    line-height: 1.55;
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.field {
    display: grid;
    gap: 7px;
    margin-bottom: 16px;
}

label {
    color: #fde68a;
    font-size: 14px;
    font-weight: 900;
}

input,
select,
button,
textarea {
    font: inherit;
}

input[type='text'],
input[type='email'],
input[type='password'],
select,
textarea {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.95);
    color: #ffffff;
}

input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #38bdf8;
    outline-offset: 2px;
}

.check-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 10px 0 18px;
    color: #e2e8f0;
    line-height: 1.45;
}

.check-row input {
    margin-top: 3px;
}

.button,
button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(180deg, #38bdf8, #0284c7);
    color: #ffffff;
    font-weight: 950;
    text-decoration: none;
    cursor: pointer;
}

.button.secondary {
    background: rgba(30, 41, 59, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.button.danger {
    background: linear-gradient(180deg, #ef4444, #b91c1c);
}

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

.message {
    margin: 0 0 18px;
    padding: 13px 15px;
    border-radius: 14px;
    line-height: 1.45;
}

.message.success {
    border: 1px solid rgba(74, 222, 128, 0.45);
    background: rgba(20, 83, 45, 0.76);
}

.message.error {
    border: 1px solid rgba(248, 113, 113, 0.48);
    background: rgba(127, 29, 29, 0.76);
}

.message.info {
    border: 1px solid rgba(56, 189, 248, 0.45);
    background: rgba(12, 74, 110, 0.76);
}

.links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 18px;
    margin-top: 18px;
}

.links a,
a {
    color: #7dd3fc;
}

.version {
    margin-top: 20px;
    color: #94a3b8;
    text-align: center;
    font-size: 13px;
}

.data-list {
    display: grid;
    gap: 12px;
    margin: 18px 0;
}

.data-row {
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.72);
}

.data-row strong {
    display: block;
    margin-bottom: 4px;
    color: #fde68a;
}

.qr-box {
    display: grid;
    place-items: center;
    min-height: 280px;
    padding: 20px;
    border-radius: 20px;
    background: #ffffff;
}

.qr-box canvas,
.qr-box img {
    max-width: 100%;
    height: auto;
}

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 11px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    text-align: left;
    vertical-align: top;
}

th {
    color: #fde68a;
}

@media (max-width: 720px) {
    body {
        padding: 12px;
        background-image:
            linear-gradient(rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.90)),
            url('/assets/01-mobiel-retro-studio-zonder-knoppen.png');
    }

    .grid {
        grid-template-columns: 1fr;
    }
}
