/*
 * File:        /css/auth.css
 * Description: Authentication page styles.
 * Author:      Iain Daddy
 * Copyright:   (c) 2026 Iain Daddy. All rights reserved.
 * License:     Internal Use Only
 * Version:     1.0.0
 * LastUpdated: 2026-03-13
 */

body {
    background: #f2f2f2;
    padding: 0;
    justify-content: center;
    align-items: center;
}

.page-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    padding: 2rem 1rem;
    gap: 2rem;
}

.top-content {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 3rem;
    flex-wrap: wrap;
}

.login-container {
    background: #fff;
    padding: 2rem 3rem;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.login-container img {
    max-height: 80px;
    margin-bottom: 1rem;
}

.login-container input {
    display: block;
    width: 100%;
    margin: 0.5rem 0;
    padding: 0.5rem;
    font-size: 1rem;
}

.login-container button {
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
    background-color: #0078d4;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.login-container button:hover {
    background-color: #005fa3;
}

.login-container button:disabled {
    background-color: #7aa7d9;
    cursor: wait;
}

.loading-page {
    justify-content: center;
}

.loading-container {
    min-width: 280px;
}

.loading-spinner {
    width: 48px;
    height: 48px;
    margin: 1.5rem auto 0;
    border: 5px solid #d9e7f5;
    border-top-color: #0078d4;
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
