html {
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    max-width: 960px;
    min-height: 100svh;
    margin: 0 auto;
    padding: 0 15px;
    color: #231f20;
    font-family: 'Helvetica Neue', 'Segoe UI', Arial, sans-serif;
    line-height: 1.25;
    display: flex;
    flex-direction: column;
}

a {
    background-color: transparent;
    color: #308282;
    text-decoration: underline;
}

h1,
h2,
h3,
h4,
h5,
p,
ul {
    padding: 0;
    margin: 0;
    font-weight: 400;
}

svg:not(:root) {
    overflow: hidden;
}

.main {
    padding: 40px 0;
    flex-grow: 1;
}

.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    padding: 1rem;
    width: 100%;
    max-width: 375px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    overflow: hidden;
}

.form {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form__input {
    display: flex;
    flex-direction: column;
    gap: .25rem;
}

.form__input label {
    align-self: flex-start;
    font-weight: 500;
    font-size: 14px;
}
.form__input input {
    padding: 10px 15px;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    background: #fff;
    color: #231f20;
    font-size: 16px;
    font-family: inherit;
    min-width: 200px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    appearance: none;
}

.form__input input:hover {
    border-color: #308282;
}

.form__input input:focus {
    outline: none;
    border-color: #308282;
    box-shadow: 0 0 0 3px rgba(48, 130, 130, 0.1);
}

.form ul {
    list-style: none;
}

.errorlist {
    color: red;
}

.button {
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    color: #308282;
    text-decoration: none;
    transition: background 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
}

.button.disabled {
    color: #c6c6c6;
    border-color: currentColor;
    pointer-events: none;
}

.button:hover {
    background: #f5f5f5;
    border-color: #308282;
}
