/* slmn.pro — Twenty UI density tweaks
   Goal: make UI feel less minimalist for users coming from Bitrix24
   Strategy: target HTML primitives (button, input, [role=...]) instead of
   Twenty-internal class names (those break on every release). */

/* slightly larger base font */
html, body {
    font-size: 15px;
}

/* buttons: more substantial padding + min-height for fingerable target */
button,
[role="button"] {
    padding: 8px 14px !important;
    min-height: 38px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}

/* form inputs: a bit more breathing room */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
textarea,
select {
    padding: 8px 12px !important;
    min-height: 38px !important;
    font-size: 14px !important;
}

/* table rows: wider, easier to scan */
[role="row"],
tr {
    min-height: 42px !important;
}
[role="cell"],
td {
    padding: 8px 12px !important;
}

/* heading sizes a touch bumped */
h1 { font-size: 1.6rem !important; }
h2 { font-size: 1.35rem !important; }
h3 { font-size: 1.15rem !important; }

/* clickable links/items in nav lists */
nav a,
nav button,
[role="navigation"] a,
[role="navigation"] button {
    padding: 6px 10px !important;
    font-size: 14px !important;
}

/* primary CTAs (submit/save/create-style buttons): bolder weight */
button[type="submit"],
[role="button"][aria-label*="Create" i],
[role="button"][aria-label*="Save" i],
[role="button"][aria-label*="Создать" i],
[role="button"][aria-label*="Сохранить" i] {
    font-weight: 600 !important;
}

/* card / panel: subtle visual weight */
[role="article"],
[role="region"],
section {
    border-radius: 8px;
}
