html {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    margin: 0;
    padding: 24px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    background: linear-gradient(225deg, white 55%, red 130%);
    color: #000000;
    font-family: Arial, sans-serif;
    text-align: center;
    overflow-x: hidden;
}

header h1 {
    margin-bottom: 8px;
    font-size: 2.5rem;
}

header p {
    margin: 0;
}

main {
    width: min(560px, 100%);
}

.recovery-control {
    display: flex;
    align-items: stretch;
    gap: 5px;
}

.recovery-control input {
    min-width: 0;
    flex: 1;
    padding: 10px 14px;
    border: none;
    border-radius: 5px 0 0 5px;
    outline: none;
    background-color: #fc2525;
    color: white;
    font-size: 1rem;
}

.recovery-control input::placeholder {
    color: white;
    opacity: 1;
}

.recovery-control button {
    padding: 10px 20px;
    border: none;
    border-radius: 0 5px 5px 0;
    background-color: #fc2525;
    color: white;
    font-size: 1rem;
    cursor: pointer;
}

.recovery-control button:hover,
.recovery-control button:focus-visible {
    background-color: #000000;
}

.recovery-control button:disabled {
    cursor: wait;
    opacity: 0.7;
}

.recovery-status {
    min-height: 1.25rem;
}

a {
    color: #000000;
    text-underline-offset: 3px;
}

a:hover,
a:focus-visible {
    color: #fc2525;
}
