﻿/* The unauthenticated shell: login, forgot-password and change-password.

   Not scoped CSS, because .login-card is shared by all three pages and a .razor.css file only
   reaches the one component it is named for. */

.login-card {
    max-width: 1200px;
    border-radius: 10px;
    overflow: hidden;
    margin: auto;
    border: none !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

[data-bs-theme="dark"] .login-card {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* The login card is a two-column split: form on the left, photo on the right. */
.left-col { flex: 2; }
.right-col { flex: 1; }

.object-cover {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

/* The sign-in button carries the brand green rather than Tabler's .btn-primary so it stays
   correct if a tenant ever restyles the primary button. */
.btn-signIn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--smartag-brand) !important;
    border-color: var(--smartag-brand) !important;
    color: #fff;
}

.btn-signIn:hover {
    background-color: var(--smartag-brand-dark) !important;
    border-color: var(--smartag-brand-dark) !important;
}
