/*
© 2025 Sharon Aicler (saichler@gmail.com)

Layer 8 Ecosystem is licensed under the Apache License, Version 2.0.
You may obtain a copy of the License at:

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
/* Layer 8 - Login Page Base Styles */
/* Part 1 of 4 - Load this file first */
/* Variables, reset, body, container, card, header */

/* Font-face, reset, and variables defined in ../shared/layer8d-theme.css */

body {
    font-family: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.layer8d-login-container {
    width: 100%;
    max-width: 420px;
    transition: max-width 0.3s ease;
}

.layer8d-login-container.layer8d-tfa-setup-active {
    max-width: 710px;
}

.layer8d-login-card {
    background: var(--bg-card);
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    overflow: hidden;
    border: 1px solid var(--border-emphasis);
    position: relative;
}

.layer8d-home-link {
    position: absolute;
    top: 12px;
    left: 14px;
    z-index: 5;
    padding: 6px 12px;
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-default);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    font-family: 'Figtree', sans-serif;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.layer8d-home-link:hover {
    background: var(--bg-secondary);
    border-color: var(--noc-cyan);
    color: var(--noc-cyan);
}

.layer8d-login-header {
    background: var(--bg-card);
    padding: 30px;
    text-align: center;
    border-bottom: 1px solid var(--border-subtle);
}

.app-logo {
    max-width: 80px;
    max-height: 80px;
    margin-bottom: 16px;
    border-radius: 10px;
    box-shadow: none;
    filter: none;
}

.title-with-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 8px;
}

.title-icon {
    width: 28px;
    height: 28px;
    stroke: var(--noc-cyan);
    animation: none;
    filter: none;
}

.app-title {
    color: var(--text-primary);
    font-size: 22px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: -0.01em;
    margin-bottom: 0;
    font-family: 'Figtree', sans-serif;
}

.app-description {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0;
}
