/* vserv login screen
   (c) Sitepics.app Pty Ltd (5dkey)

   Same structure and class names as cserv's login.css so the two consoles feel
   like one platform. Accent is amber, not cserv's indigo — anyone with both
   login pages open must be able to tell which platform they are signing in to.

   Fonts are self-hosted-by-omission: cserv @imports Poppins and JetBrains Mono
   from fonts.googleapis.com. vserv uses a system font stack instead. One less
   third-party origin in the CSP for a page that handles authentication, and no
   render-blocking request to an external host on the login path. */

:root {
    --ink: #1a1a1a;
    --paper: #f8f6f1;
    --accent: #b45309;
    --accent-dark: #92400e;
    --border: #d4cfc4;
    --shadow: rgba(0, 0, 0, 0.08);
}

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

body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--paper);
    color: var(--ink);
    line-height: 1.6;
}

.grain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    z-index: 1;
}

.mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.75rem;
    letter-spacing: 0.02em;
}

.form-container {
    position: relative;
    z-index: 2;
}

.paper-card {
    background: linear-gradient(135deg, #fdfcfa 0%, #f8f6f1 100%);
    border: 1px solid var(--border);
    box-shadow:
        0 2px 8px var(--shadow),
        0 8px 24px rgba(0, 0, 0, 0.04),
        inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}

.input-field {
    transition: all 0.2s ease;
    border: 1.5px solid var(--border);
    background: rgba(255, 255, 255, 0.6);
}

.input-field:focus {
    outline: none;
    border-color: var(--accent);
    background: white;
    box-shadow: 0 0 0 3px rgba(180, 83, 9, 0.10);
}

.btn-primary {
    background: var(--accent);
    color: white;
    border: 1.5px solid var(--accent-dark);
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(180, 83, 9, 0.25);
}

.btn-primary:active {
    transform: translateY(0);
}

.link {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.link:hover {
    border-bottom-color: var(--accent);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.animate-in { animation: fadeInUp 0.6s ease forwards; }
.delay-1 { animation-delay: 0.1s; opacity: 0; }
.delay-2 { animation-delay: 0.2s; opacity: 0; }
.delay-3 { animation-delay: 0.3s; opacity: 0; }

.logo-mark {
    height: 72px;
    padding: 0 2rem;
    background: var(--accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 1.4rem;
    letter-spacing: 0.04em;
    text-decoration: none;
}
