/**
 * Copyright(c) 2024 - 2025 enamentis GmbH.All rights reserved.
 *
 * This software module is the proprietary property of enamentis GmbH.
 * Unauthorized copying, modification, distribution, or use of this software
 * is strictly prohibited unless explicitly authorized in writing.
 *
 * THIS SOFTWARE IS PROVIDED "AS IS," WITHOUT WARRANTY OF ANY KIND,
 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NONINFRINGEMENT.
 * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
 * DAMAGES, OR OTHER LIABILITY ARISING FROM THE USE OF THIS SOFTWARE.
 *
 * For more details, check the LICENSE file in the root directory of this repository.
 */

/* Layout for login page body (global body handles background, color, font) */
body {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    min-height: 100vh;
}

.login-container {
    max-width: 420px;
    width: 100%;
}

.logo-section {
    margin-bottom: 32px;
    text-align: center;
}

/* Only size / spacing here; flex/alignment live in global .logo-badge */
.logo-badge {
    height: 64px;
    width: 64px;
    margin: 0 auto 16px;
}

h1 {
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 8px;
}

/* subtitle color/font-size is global, only margin here if needed */
.subtitle {
    margin: 0;
}

.login-card {
    padding: 32px;
}

.form-group {
    margin-bottom: 24px;
}

label {
    display: block;
    margin-bottom: 8px;

    color: #e2e8f0;
    font-size: 14px;
    font-weight: 500;
}

input[type='password'] {
    padding: 12px 16px;
    width: 100%;

    background: rgba(15, 23, 42, 0.7);
    border: 1px solid #1e293b;
    border-radius: 10px;
    color: #e2e8f0;
    font-size: 14px;
    font-family: Monaco, Consolas, monospace;

    transition: border-color 0.2s ease;
}

input[type='password']:focus {
    background: rgba(15, 23, 42, 0.9);
    border-color: #38bdf8;
    outline: none;
}

.button-group {
    display: flex;
    gap: 12px;
}

button {
    cursor: pointer;

    flex: 1;
    padding: 12px 20px;

    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;

    transition: all 0.15s ease;
}

.button-primary {
    background: #38bdf8;
    border-color: #38bdf8;
    color: #020617;
}

.button-primary:hover {
    background: #0ea5e9;
    border-color: #0ea5e9;
    transform: translateY(-1px);
}

.button-primary:active {
    transform: translateY(0);
}

.button-secondary {
    background: rgba(15, 23, 42, 0.9);
    border-color: rgba(148, 163, 184, 0.25);
    color: #e2e8f0;
}

.button-secondary:hover {
    background: rgba(56, 189, 248, 0.1);
    border-color: #38bdf8;
    transform: translateY(-1px);
}

.button-secondary:active {
    transform: translateY(0);
}
