/*
 * Kcorp Prime: utilities.
 * Only the Bootstrap 5 helpers that core views and block templates actually use
 * (login, register, search, list-inline...). Add more when something needs them.
 */

/* Flex and stack */
.hstack { display: flex; align-items: center; }
.vstack { display: flex; flex-direction: column; }
.justify-content-between { justify-content: space-between; }
.justify-content-center { justify-content: center; }
.justify-content-end { justify-content: flex-end; }
.align-items-center { align-items: center; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 1rem; }
.gap-4 { gap: 1.5rem; }

/* Lists */
.list-unstyled { padding-left: 0; list-style: none; }
.list-inline { padding-left: 0; list-style: none; }
.list-inline-item { display: inline-block; margin: 0 0.5rem 0 0; }

/* Text */
.text-center { text-align: center; }
.text-end, .text-right { text-align: right; }
.text-muted { color: var(--kp-muted); }
.text-danger { color: var(--kp-danger); }
.text-success { color: var(--kp-success); }
.fw-bold { font-weight: 700; }

/* Sizing and media */
.w-100 { width: 100%; }
.img-fluid { max-width: 100%; height: auto; }

/* Spacing (Bootstrap scale: 1 = .25rem ... 5 = 3rem). mb-3 is defined in components.css. */
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.my-3 { margin-block: 1rem; }
.my-4 { margin-block: 1.5rem; }
.p-3 { padding: 1rem; }
.p-4 { padding: 1.5rem; }
.py-4 { padding-block: 1.5rem; }
.px-3 { padding-inline: 1rem; }
