html {
    font-size: 16px;
}

body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 3rem 1rem;
    background: #f6f8fb;
    color: #212529;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.account-panel {
    width: min(100%, 28rem);
    padding: 1.75rem;
    border: 1px solid #d8dee6;
    border-radius: 0.5rem;
    background: #fff;
    box-shadow: 0 0.75rem 2rem rgba(15, 23, 42, 0.12);
}

.account-panel h1 {
    margin: 0 0 1.5rem;
    font-size: 1.75rem;
    line-height: 1.2;
}

.account-message {
    margin-bottom: 1.5rem;
    color: #555;
}

.account-error {
    margin-bottom: 1rem;
    color: #b00020;
}

.account-field {
    margin-bottom: 1rem;
}

.account-field label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 600;
}

.account-field input {
    width: 100%;
    box-sizing: border-box;
    min-height: 2.75rem;
    padding: 0.55rem 0.75rem;
    border: 1px solid #b9c3d1;
    border-radius: 0.25rem;
    font: inherit;
}

.account-field input:focus {
    border-color: #4f7f95;
    box-shadow: 0 0 0 0.2rem rgba(79, 127, 149, 0.2);
    outline: none;
}

.account-button {
    min-height: 2.75rem;
    padding: 0.6rem 1.25rem;
    border: 1px solid #4f7f95;
    border-radius: 0.25rem;
    background: #4f7f95;
    color: #fff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

@media (max-width: 575.98px) {
    body {
        align-items: stretch;
        padding: 1rem;
    }

    .account-panel {
        width: 100%;
        padding: 1.25rem;
        box-shadow: none;
    }

    .account-panel h1 {
        font-size: 1.6rem;
    }

    .account-button {
        width: 100%;
    }
}
