* {
    box-sizing: border-box;
}
body {
    font-family: sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}


.form {
    border: 1px solid #333;
    border-radius: 6px;
    max-width: 400px;
    width: 100%;
    padding: 30px;
}
.form-group {
    border: none;
    padding: 0;
}
.form-group-title {
    font-weight: 700;
    padding: 0;
    margin-bottom: 15px;
}
.label {
    display: inline-block;
    margin-bottom: 10px;
}
.input, textarea {
    width: 100%;
    padding: 5px 12px;
    margin-bottom: 20px;
    border: #333 1px solid;
    border-radius: 5px;
    outline: none;
}
.input:disabled, .textarea:disabled {
    opacity: 0.5;
}
.textarea {
    resize: vertical;
    min-height: 30px;
    max-height: 150px;
}
.checkbox-text {
    font-size: 14px;
}
.checkbox-label {
    padding-left: 22px;
}
.checkbox {
    cursor: pointer;
    appearance: none;
    position: absolute;
    outline: none;
}
.checkbox::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    margin-left: -22px;
    border: 1px solid #333;
    border-radius: 4px;
    cursor: pointer;
}
.checkbox:checked::after {
    background: url(../img/check-icon.svg) no-repeat center, #9e1fff;
}
.checkbox:disabled::after {
    opacity: 0.5;
    cursor: not-allowed;
}
.button {
    border: none;
    border-radius: 6px;
    padding: 6px 18px;
    cursor: pointer;
    background-color: #9e1fff;
    color: #fff;
    transition: opacity 0.2s ease;
}
.button:hover {
    opacity: 0.85;
}
.button:not(:disabled):active {
    background-color: #8719db;
}.button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.input:focus-visible,
.textarea:focus-visible,
.button:focus-visible,
.checkbox:focus-visible::after {
    outline: 2px solid #9e1fff;
    outline-offset: 1px;
}