.form {
    display: grid;
    gap: 10px;
    margin: 20px 0;
}

.form p {
    display: grid;
    gap: 6px;
    margin: 0;
}

.form label {
    color: var(--muted);
    font-size: 14px;
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--bg-soft);
    color: var(--text);
    cursor: pointer;
}

.checkbox-row input {
    width: 18px;
    min-height: 18px;
    height: 18px;
}

input,
textarea,
select {
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--text);
    font: inherit;
}

input:focus,
textarea:focus,
select:focus {
    border-color: rgba(24, 86, 163, 0.6);
    box-shadow: 0 0 0 4px rgba(24, 86, 163, 0.1);
}

button {
    min-height: 44px;
    border: 0;
    border-radius: 8px;
    background: var(--brand);
    color: white;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

button:hover {
    background: var(--brand-dark);
    transform: translateY(-1px);
}

button:disabled {
    background: #d7ddd9;
    color: #6f7b75;
    cursor: not-allowed;
}

.compact {
    margin-bottom: 0;
}
