﻿/* ISX Core Auth - Login page styles */

.auth-shell {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-height: 100vh;
    background: #f3f4f6;
    padding: 12vh 1rem 1rem;
    box-sizing: border-box;
}

.auth-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 2rem 2.5rem;
    width: 100%;
    max-width: 360px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
    box-sizing: border-box;
}

/* Logo / header */
.auth-logo {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin-bottom: 1.75rem;
}

.auth-logo-mark {
    background: #0f6cbd;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    letter-spacing: 0.05em;
}

.auth-title {
    font-weight: 600;
    color: #111827;
    line-height: 1.3;
}

.auth-subtitle {
    color: #6b7280;
    margin-top: 1px;
}

/* Error banner */
.auth-error {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #b91c1c;
    border-radius: 4px;
    padding: 0.5rem 0.75rem;
    margin-bottom: 1.25rem;
}

/* Form fields */
.auth-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 1rem;
}

.auth-field label {
    color: #374151;
    font-weight: 500;
}

.auth-field input {
    border: 1px solid #d1d5db;
    border-radius: 4px;
    padding: 0.45rem 0.625rem;
    outline: none;
    background: #ffffff;
    color: #111827;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    width: 100%;
    box-sizing: border-box;
}

.auth-field input:focus {
    border-color: #0f6cbd;
    box-shadow: 0 0 0 2px rgba(15, 108, 189, 0.2);
}

/* Submit button */
.auth-submit {
    display: block;
    width: 100%;
    margin-top: 1.25rem;
    padding: 0.5rem 1rem;
    background: #0f6cbd;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease;
}

.auth-submit:hover {
    background: #0d5aa3;
}

.auth-submit:active {
    background: #0b4d8f;
}

.auth-submit:focus-visible {
    outline: 2px solid #0f6cbd;
    outline-offset: 2px;
}

.auth-success {
 background: #f0fdf4;
 border: 1px solid #86efac;
 color: #15803d;
 border-radius: 4px;
 padding: 0.5rem 0.75rem;
 margin-bottom: 1.25rem;
}
