﻿.app-main {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    flex: 1;
    align-items: center;
    background-color: #fff;
}

.login-card {
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    padding: var(--space-2xl);
    border-radius: var(--border-radius);
    transition: transform 0.3s ease;
    background-color: #fff;
}

.login-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: var(--space-xl);
}

.wrapper:has(> .brand-logo),
.container:has(> .brand-logo) {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container:has(> .brand-logo) {
    gap: var(--space-xl);
}

.brand-logo img {
    height: 12.5vh;
    width: auto;
    display: block;
}

.brand-name span {
    font-family: "Segoe UI", "Helvetica Neue", "Hiragino Kaku Gothic ProN", sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-sub);
    letter-spacing: 0.25em;
    filter: drop-shadow(0 1px 1px rgba(255,255,255,0.8));
    white-space: nowrap;
}

.login-form form {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: var(--space-m);
}

.text-field .field-label {
    display: none;
}

.text-field .field-control input {
    width: 100%;
    padding: var(--space-m) var(--space-m);
    font-size: 1rem;
    border: 1.5px solid var(--border-color);
    border-radius: var(--border-radius);
    background-color: #ffffff;
    /*    transition: all 0.2s ease;*/
    outline: none;
}

.text-field .field-control input:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px var(--secondary-focus);
}

.text-field .field-control input::placeholder {
    color: #a0aec0;
}

.login-button {
    /*    width: 100%;*/
    padding: var(--space-m);
    background-color: var(--secondary-color);
    font-size: 1rem;
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-weight: bold;
    cursor: pointer;
    /*    transition: background-color 0.2s ease, transform 0.1s active;*/
}

.login-button:hover {
    background-color: var(--secondary-hover);
}

@media (min-width: 480px) {
    .app-main {
        background-color: var(--bg-color);
    }

    .login-card {
        margin-top: var(--space-xl);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    }
}