* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    background: var(--ims-bg);
    color: var(--ims-text);
}

a {
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
}

.ims-muted {
    color: var(--ims-muted);
}

.ims-field {
    margin-bottom: 20px;
}

.ims-field label {
    display: block;

    margin-bottom: 8px;

    font-size: 14px;
    font-weight: 600;
}

.ims-field input {
    width: 100%;
    min-height: 50px;

    padding: 0 14px;

    border: 1px solid #ccd3da;
    border-radius: var(--ims-radius-sm);

    background: var(--ims-surface);

    outline: none;
}

.ims-field input:focus {
    border-color: var(--ims-primary);

    box-shadow:
        0 0 0 3px rgba(22, 27, 34, .08);
}

.ims-button {
    min-height: 48px;

    padding: 0 18px;

    border: 0;
    border-radius: var(--ims-radius-sm);

    cursor: pointer;
}

.ims-button-primary {
    background: var(--ims-primary);
    color: white;

    font-weight: 700;
}

.ims-button-primary:hover {
    opacity: .92;
}

.ims-alert {
    margin: 20px 0;

    padding: 13px 15px;

    border-radius: var(--ims-radius-sm);
}

.ims-alert-error {
    background: #fff0f0;
    color: var(--ims-danger);
}