/* ABOUTME: Minimal responsive styles for upload.lobb.ie. */
/* ABOUTME: All sizing in rem units per CODING.md §Web design. */

@font-face {
    font-family: 'Special Elite';
    src: url('/static/SpecialElite-Regular.woff2') format('woff2');
    font-display: swap;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #f5f5f5;
    color: #333;
    min-height: 100vh;
    padding-top: 3.5rem;
}

.banner {
    background: #1a3a5c;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    flex-shrink: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.banner a {
    font-family: 'Special Elite', serif;
    font-size: 2rem;
    text-decoration: none;
    line-height: 1;
}

.banner .domain-highlight {
    color: #f0f0f0;
}

.banner .domain-dim {
    color: #8a9bae;
}

.banner-email {
    position: absolute;
    right: 1rem;
    color: #8a9bae;
    font-size: 0.85rem;
}

.card {
    max-width: 28rem;
    margin: 3rem auto;
    background: #fff;
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.08);
}

.card h1 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.card p {
    margin-bottom: 1rem;
    color: #555;
    line-height: 1.5;
}

label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.375rem;
}

input[type="email"] {
    width: 100%;
    padding: 0.625rem;
    border: 0.0625rem solid #ccc;
    border-radius: 0.25rem;
    font-size: 1rem;
    margin-bottom: 1rem;
}

input[type="email"]:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 0.125rem rgba(37, 99, 235, 0.2);
}

button[type="submit"] {
    width: 100%;
    padding: 0.625rem;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 0.25rem;
    font-size: 1rem;
    cursor: pointer;
}

button[type="submit"]:hover {
    background: #1d4ed8;
}

a {
    color: #2563eb;
}

.upload-area {
    max-width: 36rem;
    margin: 3rem auto;
    background: #fff;
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.08);
}

.upload-area h1 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.result {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #f0fdf4;
    border: 0.0625rem solid #bbf7d0;
    border-radius: 0.25rem;
}

.result code {
    font-weight: 600;
}

.error {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #fef2f2;
    border: 0.0625rem solid #fecaca;
    border-radius: 0.25rem;
    color: #991b1b;
}
