body {
    font-family: sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 40px 16px;
}

h1 {
    margin-bottom: 8px;
}

a {
    color: #0b63ce;
}

.card {
    width: min(680px, 100%);
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 16px;
    margin-top: 16px;
    box-sizing: border-box;
    background: #fafafa;
}

h2 {
    margin-top: 0;
}

input,
textarea,
button,
select {
    width: 100%;
    box-sizing: border-box;
    margin-top: 10px;
    padding: 10px;
    font-size: 14px;
}

textarea {
    min-height: 90px;
    resize: vertical;
}

button {
    cursor: pointer;
    border: none;
    border-radius: 6px;
    background: #0b63ce;
    color: white;
}

.actions {
    display: flex;
    gap: 12px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.actions button {
    margin-top: 0;
    flex: 1 1 220px;
}

.button-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 6px;
    background: #111827;
    color: white;
    text-decoration: none;
    flex: 1 1 220px;
}

.button-link:hover {
    color: white;
}

button:disabled,
select:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.hint {
    margin-bottom: 0;
    color: #4c5a67;
}

#status {
    width: min(680px, 100%);
    margin-top: 20px;
    padding: 12px;
    border-radius: 6px;
}

#status.success {
    background: #e8f3ff;
    color: #0a3e7f;
}

#status.error {
    background: #ffe9e9;
    color: #8d1f1f;
}
