/* SQNMAN auth pages (login / signup) — JTF-323 mockup styling */

@import url('https://fonts.googleapis.com/css2?family=Black+Ops+One&family=Stardos+Stencil:wght@400;700&display=swap');

html, body.auth-page {
    height: 100%;
    margin: 0;
}

body.auth-page {
    background: #82806c;
    color: #2b2b2b;
    font-family: 'Stardos Stencil', 'Oswald', Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
}

.auth-stack {
    width: 100%;
    max-width: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.auth-logo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: transparent center/contain no-repeat;
    background-image: url('/img/jtf323-logo.png');
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d8d2c2;
    font-family: 'Black Ops One', 'Stardos Stencil', sans-serif;
    text-align: center;
    line-height: 1.1;
    font-size: 20px;
    letter-spacing: 1px;
}

.auth-logo .auth-logo-fallback {
    display: none;
    padding: 12px;
}

.auth-card {
    width: 100%;
    background: #d6d2c4;
    border: 2px solid #2c2c2c;
    border-radius: 6px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
    padding: 28px 26px 26px 26px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
}

.auth-card form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
}

.auth-card h1 {
    font-family: 'Black Ops One', 'Stardos Stencil', Impact, sans-serif;
    text-align: center;
    color: #1d1d1d;
    margin: 0 0 22px 0;
    font-size: 26px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.auth-card .form-group {
    margin: 0;
    width: 100%;
}

.auth-card label {
    display: none; /* placeholders only, per the mockup */
}

.auth-card input[type="text"],
.auth-card input[type="email"],
.auth-card input[type="password"] {
    display: block;
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #8a8a8a;
    background: #efece4;
    border-radius: 3px;
    font-family: 'Stardos Stencil', Arial, sans-serif;
    font-size: 15px;
    color: #1d1d1d;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.08);
    outline: none;
    transition: border-color 0.15s ease;
}

.auth-card input::placeholder {
    color: #8d8d8d;
    font-style: italic;
    font-family: Georgia, 'Times New Roman', serif;
}

.auth-card input:focus {
    border-color: #2b2b2b;
}

.auth-card .form-group.field-loginform-remembertme,
.auth-card .field-loginform-remembertme {
    text-align: left;
    margin: 0;
    font-size: 13px;
    color: #2b2b2b;
}

.auth-actions {
    display: flex;
    justify-content: center;
    margin: 0;
}

.auth-btn {
    display: inline-block;
    background: #2c2c2c;
    color: #efece4;
    border: 2px solid #1a1a1a;
    border-radius: 22px;
    padding: 9px 36px;
    font-family: 'Black Ops One', 'Stardos Stencil', Impact, sans-serif;
    font-size: 16px;
    letter-spacing: 2px;
    cursor: pointer;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
    transition: background 0.15s ease, transform 0.05s ease;
}

.auth-btn:hover { background: #3a3a3a; }
.auth-btn:active { transform: translateY(1px); }

.auth-card .help-block {
    color: #a01818;
    font-size: 12px;
    font-family: Georgia, serif;
    font-style: italic;
    margin-top: 4px;
}

.auth-links {
    text-align: center;
    font-size: 13px;
    color: #1d1d1d;
    font-family: Georgia, serif;
    margin-top: 14px;
}

.auth-links a { color: #1d1d1d; text-decoration: underline; }

.auth-flash {
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid #8a8a8a;
    color: #1d1d1d;
    padding: 8px 12px;
    border-radius: 3px;
    font-size: 14px;
}

.auth-flash.error { border-color: #a01818; color: #a01818; }
.auth-flash.success { border-color: #3d6e3a; color: #3d6e3a; }

.auth-footer {
    text-align: center;
    color: #2b2b2b;
    font-style: italic;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 14px;
    margin-top: 28px;
}
