* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: "DM Sans", Roboto, sans-serif;
    background: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.header {
    background: #fff;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    border-bottom: 1px solid #0000001a;
}
.content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 20px 20px;
    width: 100%;
}
input[type="password"] {
    width: 100%;
    padding: 16px 20px;
    font-size: 16px;
    border: 2px solid #673DE6;
    border-radius: 12px;
    outline: none;
    box-sizing: border-box;
    font-family: inherit;
    margin-bottom: 10px;
    transition: border-color 0.2s ease;
}
input[type="password"]:focus {
    border-color: #5a32cc;
}
.alert {
    max-width: 600px;
    width: 100%;
    padding: 24px 28px;
    border-radius: 16px;
    font-size: 15px;
    font-family: inherit;
    margin-bottom: 20px;
    border: none;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.alert::before {
    content: '';
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.alert-error {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
    border-left: 4px solid #ef4444;
}

.alert-error::before {
    background: #ef4444;
    content: '✕';
    color: white;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.alert-info {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1e40af;
    border-left: 4px solid #3b82f6;
}

.alert-info::before {
    background: #3b82f6;
    content: 'ℹ';
    color: white;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card {
    max-width: 600px;
    width: 100%;
    padding: 32px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}

.card p {
    font-size: 16px;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 16px;
    text-align: justify;
}

.card ul {
    text-align: left;
    margin: 12px 0;
    padding-left: 20px;
    list-style: disc;
}

.card li {
    padding: 4px 0;
    font-size: 15px;
    color: #374151;
}

.card li strong {
    color: #1f2937;
    font-weight: 600;
}

button {
    background: #673DE6;
    color: white;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s ease, transform 0.2s ease;
}
button:hover {
    background: #5a32cc;
    transform: translateY(-2px);
}
button:active {
    background: #4f2bb5;
    transform: translateY(0);
}
.inner-container {
    text-align: center;
}
.card {
    background: white;
    border-radius: 12px;
    padding: 32px;
    max-width: 400px;
    margin: 0 auto;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
}
h1 {
    font-size: 24px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 12px;
}
p {
    font-size: 16px;
    color: #6b7280;
}
a {
    color: #7c3aed;
    text-decoration: none;
    font-weight: 500;
}
a:hover {
    color: #6d28d9;
    text-decoration: underline;
}
form {
    margin-bottom: 20px;
}
code {
    display: block;
    /* top 36px = macOS bar colour, rest = terminal dark */
    background: linear-gradient(to bottom, #1c1e2e 36px, #0f111a 36px);
    color: #a8b4d0;
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    line-height: 1.8;
    padding: 52px 20px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    max-width: 800px;
    width: 100%;
    margin: 20px auto 0;
    text-align: left;
    position: relative;
    overflow: hidden;
    box-shadow:
            0 8px 32px rgba(0, 0, 0, 0.25),
            inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
/* macOS traffic-light buttons: ::before = red, box-shadow = yellow + green */
code::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 14px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ff5f57;
    box-shadow: 20px 0 0 #febc2e, 40px 0 0 #28c840;
    z-index: 2;
}
/* gradient fade from the bar edge into the content */
code::after {
    content: '';
    position: absolute;
    top: 36px;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to bottom, #0f111a, transparent);
    pointer-events: none;
    z-index: 1;
}
.log-footer {
    border-top: 1px solid #a8b4d0;
    padding-top: 10px;
    margin-top: 10px;
}