html,
body {
    margin: 0;
    min-height: 100vh;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.login-container {
    min-height: 100vh;
}

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    background: #f3f6f4;
}

.login-shell {
    width: min(960px, 100%);
    min-height: 560px;
    display: grid;
    grid-template-columns: 1fr 390px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

.login-showcase {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
    background: #d7edcf;
}

.login-showcase-logo {
    display: block;
    max-width: min(360px, 100%);
    max-height: 420px;
    object-fit: contain;
}

.login-card-white {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 42px 36px;
    background: #ffffff;
}

.login-brand {
    margin-bottom: 28px;
}

.login-title {
    color: #111827;
    font-weight: 700;
}

.login-subtitle {
    margin-top: 6px;
    color: #6b7280;
}

.login-credentials {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.login-field .mud-input-root {
    border-radius: 8px;
}

.login-alert {
    margin-top: 18px;
}

.login-button {
    height: 46px;
    margin-top: 24px;
    border-radius: 8px;
    font-weight: 700;
    text-transform: none;
}

.login-footer {
    margin-top: 20px;
    text-align: center;
    color: #6b7280;
    font-size: 12px;
}

.login-footer a {
    margin-left: 4px;
    color: #0f6fbf;
    font-weight: 700;
    text-decoration: none;
}

.login-footer a:hover {
    text-decoration: underline;
}

.fw-bold {
    font-weight: 700;
}

@media (max-width: 860px) {
    .login-page {
        padding: 18px;
    }

    .login-shell {
        grid-template-columns: 1fr;
    }

    .login-showcase {
        min-height: 260px;
        padding: 28px;
    }

    .login-showcase-logo {
        max-height: 240px;
    }
}

@media (max-width: 520px) {
    .login-page {
        align-items: stretch;
        padding: 0;
    }

    .login-shell {
        min-height: 100vh;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .login-card-white {
        padding: 32px 24px;
    }
}
