/*
Theme Name: Vet Žurnalas App
Theme URI: https://vetapskaita.local
Author: Vet Žurnalas
Description: Front-end darbo aplinka Vet Žurnalas įskiepiui – prisijungimo langas ir valdymo skydelis darbuotojams.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: vet-zurnalas
*/

:root {
	--vet-blue: #ff9100;
	--vet-blue-dark: #cc7400;
	--vet-blue-light: #ffb54d;
	--vet-blue-text: #1a1100;
	--vet-red: #d63638;
	--vet-text: #23282d;
	--vet-text-muted: #50575e;
	--vet-border: #e5e5e5;
	--vet-bg: #f0f0f1;
	--vet-radius-sm: 4px;
	--vet-radius: 6px;
	--vet-radius-lg: 12px;
	--vet-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

* {
	box-sizing: border-box;
}

html, body {
	margin: 0;
	padding: 0;
}

body.vet-app {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	background: var(--vet-bg);
	color: var(--vet-text);
	font-size: 14px;
	line-height: 1.5;
}

a {
	color: var(--vet-blue-dark);
	text-decoration: none;
}

a:hover {
	color: var(--vet-blue-light);
}

/* ---------- Login screen ---------- */

.vet-login-screen {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: linear-gradient(135deg, #f0f6fa 0%, #eef1f4 100%);
}

.vet-login-card {
	width: 100%;
	max-width: 380px;
	background: #fff;
	border-radius: var(--vet-radius-lg);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
	padding: 40px 32px;
	text-align: center;
	border: 1px solid var(--vet-border);
}

.vet-login-logo {
	font-size: 40px;
	margin-bottom: 8px;
}

.vet-login-title {
	margin: 0 0 4px;
	font-size: 22px;
	color: var(--vet-text);
}

.vet-login-subtitle {
	margin: 0 0 24px;
	color: var(--vet-text-muted);
	font-size: 14px;
}

.vet-login-error {
	background: #fee2e2;
	color: #991b1b;
	border-radius: var(--vet-radius-sm);
	padding: 10px 14px;
	font-size: 13px;
	margin-bottom: 16px;
	text-align: left;
}

.vet-login-help {
	margin: 16px 0 0;
	font-size: 13px;
}

.vet-login-help a {
	color: var(--vet-text-muted);
	text-decoration: none;
}

.vet-login-help a:hover {
	color: var(--vet-blue);
	text-decoration: underline;
}

.vet-login-form {
	text-align: left;
}

.vet-field {
	margin-bottom: 16px;
}

.vet-field label {
	display: block;
	font-weight: 600;
	font-size: 13px;
	margin-bottom: 6px;
	color: var(--vet-text);
}

.vet-field input[type="text"],
.vet-field input[type="password"] {
	width: 100%;
	height: 42px;
	border: 1px solid #c3c4c7;
	border-radius: var(--vet-radius-sm);
	padding: 0 12px;
	font-size: 14px;
}

.vet-remember {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: var(--vet-text-muted);
	margin-bottom: 20px;
}

.vet-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	border-radius: var(--vet-radius);
	font-weight: 600;
	font-size: 14px;
	padding: 0 18px;
	height: 40px;
	cursor: pointer;
	border: 1px solid transparent;
	text-decoration: none;
	transition: background 0.15s, border-color 0.15s;
}

.vet-btn-block {
	width: 100%;
}

.vet-btn-primary {
	background: var(--vet-blue);
	border-color: var(--vet-blue);
	color: var(--vet-blue-text);
}

.vet-btn-primary:hover {
	background: var(--vet-blue-dark);
	border-color: var(--vet-blue-dark);
	color: var(--vet-blue-text);
}

.vet-btn-secondary {
	background: #fff;
	border-color: #c3c4c7;
	color: var(--vet-text);
}

.vet-btn-secondary:hover {
	background: #f0f0f1;
}

.vet-btn-small {
	height: 32px;
	padding: 0 14px;
	font-size: 13px;
}

/* Row-action icon buttons (dashicons edit / trash) — tinted background so
   the action reads as edit (orange) or destructive (red) at a glance;
   the icon itself is forced black for maximum contrast against the tint
   (dashicons is a real font glyph, unlike emoji, so color: applies). */

.vet-btn-icon-edit {
	background: #ffe4bc;
	border-color: var(--vet-blue);
}

.vet-btn-icon-edit:hover {
	background: #ffd699;
	border-color: var(--vet-blue-dark);
}

.vet-btn-icon-danger {
	background: #fbd0d1;
	border-color: var(--vet-red);
}

.vet-btn-icon-danger:hover {
	background: #f5b5b6;
	border-color: #b32d2e;
}

.vet-btn-icon-edit .dashicons,
.vet-btn-icon-danger .dashicons,
.vet-chip-icon-edit .dashicons,
.vet-chip-icon-danger .dashicons {
	color: #000;
	font-size: 20px;
	width: 20px;
	height: 20px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

/* ---------- Dashboard shell ---------- */

.vet-app-shell {
	display: flex;
	min-height: 100vh;
}

.vet-sidebar {
	width: 240px;
	flex-shrink: 0;
	background: #fff;
	border-right: 1px solid var(--vet-border);
	display: flex;
	flex-direction: column;
	position: sticky;
	top: 0;
	height: 100vh;
}

.vet-sidebar-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	height: 64px;
	padding: 0 20px;
	font-weight: 700;
	font-size: 16px;
	border-bottom: 1px solid var(--vet-border);
	flex-shrink: 0;
}

.vet-sidebar-brand-icon {
	font-size: 22px;
}

.vet-hamburger {
	display: none;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	flex-shrink: 0;
	margin-left: auto;
	border: 1px solid var(--vet-border);
	border-radius: var(--vet-radius-sm);
	background: #fff;
	padding: 0;
	cursor: pointer;
}

.vet-hamburger .dashicons {
	font-size: 20px;
	width: 20px;
	height: 20px;
}

.vet-sidebar-nav {
	flex: 1;
	padding: 12px;
	overflow-y: auto;
}

.vet-nav-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border-radius: var(--vet-radius);
	color: var(--vet-text-muted);
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 2px;
}

.vet-nav-item:hover {
	background: var(--vet-bg);
	color: var(--vet-text);
}

.vet-nav-item.is-active {
	background: var(--vet-blue);
	color: var(--vet-blue-text);
}

.vet-nav-item .dashicons {
	font-size: 18px;
	width: 18px;
	height: 18px;
}

.vet-nav-badge {
	margin-left: auto;
	font-size: 10px;
	font-weight: 700;
	background: var(--vet-bg);
	color: var(--vet-text-muted);
	border-radius: 10px;
	padding: 2px 8px;
	white-space: nowrap;
}

.vet-nav-item.is-active .vet-nav-badge {
	background: rgba(0, 0, 0, 0.12);
	color: var(--vet-blue-text);
}

.vet-sidebar-footer {
	padding: 12px 20px;
	border-top: 1px solid var(--vet-border);
}

.vet-sidebar-admin-link {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--vet-text-muted);
	text-decoration: none;
	font-size: 13px;
}

.vet-sidebar-admin-link:hover {
	color: var(--vet-blue);
}

.vet-main {
	flex: 1;
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.vet-topbar {
	height: 64px;
	flex-shrink: 0;
	background: #fff;
	border-bottom: 1px solid var(--vet-border);
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 24px;
}

.vet-topbar-title {
	font-size: 18px;
	font-weight: 700;
}

.vet-topbar-user {
	display: flex;
	align-items: center;
	gap: 14px;
}

.vet-topbar-username {
	font-size: 14px;
	font-weight: 600;
	color: var(--vet-text-muted);
}

.vet-content {
	flex: 1;
	padding: 24px;
}

.vet-card {
	background: #fff;
	border: 1px solid var(--vet-border);
	border-radius: var(--vet-radius-lg);
	box-shadow: var(--vet-shadow);
	padding: 30px;
}

.vet-placeholder {
	text-align: center;
	padding: 60px 30px;
	max-width: 520px;
	margin: 40px auto;
}

.vet-placeholder-icon {
	font-size: 40px;
	width: 40px;
	height: 40px;
	color: #ccd0d4;
	margin-bottom: 16px;
}

.vet-placeholder h2 {
	margin: 0 0 8px;
	color: var(--vet-text);
}

.vet-placeholder p {
	margin: 0;
	color: var(--vet-text-muted);
}

.vet-overview-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 16px;
}

.vet-overview-card {
	background: #fff;
	border: 1px solid var(--vet-border);
	border-radius: var(--vet-radius-lg);
	box-shadow: var(--vet-shadow);
	padding: 20px;
	text-decoration: none;
	color: var(--vet-text);
	display: flex;
	flex-direction: column;
	gap: 8px;
	transition: box-shadow 0.15s, transform 0.15s;
}

.vet-overview-card:hover {
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.09);
	transform: translateY(-1px);
}

.vet-overview-card .dashicons {
	font-size: 26px;
	width: 26px;
	height: 26px;
	color: var(--vet-blue);
}

.vet-overview-card-title {
	font-weight: 700;
}

.vet-overview-card-badge {
	font-size: 11px;
	font-weight: 700;
	color: var(--vet-text-muted);
}

.vet-empty-state {
	text-align: center;
	padding: 60px 30px;
	color: var(--vet-text-muted);
}

/* ---------- Sub-tabs (used inside sections that have their own internal tabs) ---------- */

.vet-subtabs {
	display: flex;
	gap: 6px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	padding-bottom: 2px;
	margin-bottom: 20px;
	border-bottom: 1px solid var(--vet-border);
}

.vet-subtab {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 14px;
	color: var(--vet-text-muted);
	text-decoration: none;
	font-weight: 600;
	font-size: 13px;
	white-space: nowrap;
	border-bottom: 2px solid transparent;
}

.vet-subtab:hover {
	color: var(--vet-text);
}

.vet-subtab.is-active {
	color: var(--vet-blue);
	border-bottom-color: var(--vet-blue);
}

.vet-subtab .vet-nav-badge {
	font-size: 9px;
}

/* ---------- Toolbar (search / filters / add button, above a list) ---------- */

.vet-toolbar {
	background: #fff;
	border: 1px solid var(--vet-border);
	border-radius: var(--vet-radius-lg);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
	padding: 15px;
	margin-bottom: 16px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.vet-toolbar form {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	width: 100%;
	margin: 0;
}

.vet-toolbar-group {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.vet-toolbar-spacer {
	margin-left: auto;
}

.vet-toolbar label {
	font-weight: 600;
	font-size: 13px;
	color: var(--vet-text-muted);
	white-space: nowrap;
}

.vet-toolbar input[type="text"],
.vet-toolbar input[type="search"],
.vet-toolbar select {
	height: 36px;
	border: 1px solid #8c8f94;
	border-radius: var(--vet-radius-sm);
	padding: 0 10px;
	font-size: 13px;
	box-sizing: border-box;
}

.vet-toolbar-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
}

@media (min-width: 640px) {
	.vet-toolbar-actions {
		width: auto;
	}
}

/* ---------- Simple vertical stack of self-contained .vet-card blocks (not a data table) ---------- */

.vet-stack {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

/* ---------- Data table (sortable columns, checkboxes, bulk actions — mirrors the admin wp-list-table look) ---------- */

.vet-table-wrap {
	background: #fff;
	border: 1px solid var(--vet-border);
	border-radius: var(--vet-radius-lg);
	box-shadow: var(--vet-shadow);
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.vet-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
}

.vet-table th,
.vet-table td {
	padding: 10px 15px;
	text-align: left;
	vertical-align: middle;
}

.vet-table thead th {
	font-weight: 700;
	color: var(--vet-text);
	background: #fbfbfb;
	border-bottom: 1px solid var(--vet-border);
	white-space: nowrap;
}

.vet-table thead th a {
	color: inherit;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.vet-table thead th a:hover {
	color: var(--vet-blue-dark);
}

.vet-table tbody tr {
	border-bottom: 1px solid var(--vet-border);
}

.vet-table tbody tr:last-child {
	border-bottom: none;
}

.vet-table tbody tr:nth-child(even) {
	background: #f9f9f9;
}

.vet-table .col-cb {
	width: 32px;
}

.vet-table .col-actions {
	width: 90px;
	text-align: right;
	white-space: nowrap;
}

.vet-table td strong {
	font-weight: 700;
	color: var(--vet-text);
}

.vet-table .cell-link {
	color: var(--vet-blue-dark);
	text-decoration: none;
	font-weight: 700;
}

.vet-table .cell-link:hover {
	color: var(--vet-blue-light);
}

.vet-table .cell-meta {
	display: block;
	color: var(--vet-text-muted);
	font-size: 12px;
	margin-top: 2px;
	font-weight: 400;
}

.vet-table-empty td {
	text-align: center;
	padding: 40px 20px;
	color: var(--vet-text-muted);
}

/* ---------- Pagination (paginate_links() output — tags every link/span .page-numbers) ---------- */

.page-numbers {
	display: inline-block;
	min-width: 32px;
	height: 32px;
	line-height: 30px;
	text-align: center;
	border: 1px solid var(--vet-border);
	background: #fff;
	color: var(--vet-blue-dark);
	text-decoration: none;
	border-radius: var(--vet-radius);
	font-weight: 600;
	font-size: 13px;
	box-sizing: border-box;
	margin: 0 3px;
	padding: 0 4px;
}

.page-numbers:hover {
	background: var(--vet-bg);
	border-color: var(--vet-blue);
	color: var(--vet-blue-dark);
}

.page-numbers.current {
	background: var(--vet-blue);
	border-color: var(--vet-blue);
	color: var(--vet-blue-text);
	cursor: default;
}

.page-numbers.dots {
	border: none;
	background: transparent;
	color: var(--vet-text-muted);
	min-width: auto;
}

/* ---------- Forms: label-above-input fields, 2-col grid collapsing on mobile ---------- */

.vet-form-field {
	margin-bottom: 20px;
}

.vet-form-field label {
	display: block;
	font-weight: 600;
	color: var(--vet-text);
	margin-bottom: 8px;
	font-size: 14px;
}

.vet-form-field .description {
	margin-top: 6px;
	color: var(--vet-text-muted);
	font-size: 12px;
}

/* ---------- Help icon (.vet-help-icon) — a small hover/focus tooltip for
   longer field explanations that would otherwise bloat a label. Put the
   explanation in the data-tip attribute; pure CSS, no JS. Use next to any
   label instead of cramming the explanation into the label text itself. ---------- */
.vet-help-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	margin-left: 6px;
	border-radius: 50%;
	background: var(--vet-border);
	color: var(--vet-text-muted);
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	cursor: help;
	position: relative;
	vertical-align: middle;
}

.vet-help-icon::after {
	content: attr(data-tip);
	position: absolute;
	bottom: 130%;
	left: 50%;
	transform: translateX(-50%);
	width: 260px;
	max-width: 70vw;
	padding: 8px 10px;
	border-radius: var(--vet-radius-sm);
	background: #1d2327;
	color: #fff;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.4;
	white-space: normal;
	text-align: left;
	opacity: 0;
	visibility: hidden;
	transition: opacity .15s ease;
	pointer-events: none;
	z-index: 100;
}

.vet-help-icon:hover::after,
.vet-help-icon:focus::after {
	opacity: 1;
	visibility: visible;
}

.vet-form-field input[type="text"],
.vet-form-field input[type="email"],
.vet-form-field input[type="password"],
.vet-form-field input[type="date"],
.vet-form-field input[type="time"],
.vet-form-field input[type="number"],
.vet-form-field select,
.vet-form-field textarea {
	width: 100%;
	height: 36px;
	box-sizing: border-box;
	border: 1px solid #8c8f94;
	border-radius: var(--vet-radius-sm);
	padding: 0 10px;
	font-size: 14px;
}

.vet-form-field textarea {
	height: auto;
	padding: 8px 10px;
	min-height: 90px;
	resize: vertical;
}

.vet-form-field input[type="color"] {
	width: 60px;
	height: 36px;
	border: 1px solid #8c8f94;
	border-radius: var(--vet-radius-sm);
	padding: 2px;
	background: #fff;
}

.vet-form-row {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}

.vet-form-row .vet-form-field {
	flex: 1 1 200px;
}

.vet-form-checklist {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 8px;
	max-height: 260px;
	overflow-y: auto;
	border: 1px solid var(--vet-border);
	border-radius: var(--vet-radius-sm);
	padding: 10px;
}

.vet-form-checklist label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 400;
	font-size: 13px;
	margin: 0;
}

.vet-form-actions {
	border-top: 1px solid #f0f0f1;
	padding-top: 20px;
	margin-top: 20px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

/* ---------- Form sections (.vet-form-section) — color-coded boxes for
   grouping related fields on long forms (e.g. Vaistai). Pick a color
   modifier per group so unrelated fields don't blend into one wall of
   inputs; the color has no meaning beyond visual separation. ---------- */
.vet-form-section {
	border: 1px solid var(--vet-border);
	border-left-width: 4px;
	border-radius: var(--vet-radius);
	margin-bottom: 24px;
}

.vet-form-section-title {
	margin: 0;
	padding: 10px 18px;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .03em;
	border-bottom: 1px solid var(--vet-border);
}

.vet-form-section-body {
	padding: 20px;
}

.vet-form-section-body .vet-form-field:last-child {
	margin-bottom: 0;
}

.vet-form-section-body .vet-form-row:last-child .vet-form-field {
	margin-bottom: 0;
}

.vet-form-section--blue { border-left-color: #4a90d9; background: #eef5fc; }
.vet-form-section--blue .vet-form-section-title { color: #1c5c9e; border-bottom-color: #d5e6f7; }

.vet-form-section--green { border-left-color: #34a853; background: #eefaf1; }
.vet-form-section--green .vet-form-section-title { color: #1e7e39; border-bottom-color: #d3f0dc; }

.vet-form-section--amber { border-left-color: #d9a423; background: #fef8e8; }
.vet-form-section--amber .vet-form-section-title { color: #8a6d1a; border-bottom-color: #f7ecc7; }

.vet-form-section--purple { border-left-color: #9c5fd9; background: #f5eefc; }
.vet-form-section--purple .vet-form-section-title { color: #6a3aa0; border-bottom-color: #e6d7f5; }

.vet-form-section--teal { border-left-color: #2bb3a3; background: #e9f9f7; }
.vet-form-section--teal .vet-form-section-title { color: #17786d; border-bottom-color: #cdeeea; }

.vet-form-section--pink { border-left-color: #d9578f; background: #fdeef3; }
.vet-form-section--pink .vet-form-section-title { color: #a03a68; border-bottom-color: #f6d7e4; }

.vet-form-section--gray { border-left-color: #8c8f94; background: #f6f6f6; }
.vet-form-section--gray .vet-form-section-title { color: #50575e; border-bottom-color: var(--vet-border); }

.vet-form-section .vet-form-field input[type="text"],
.vet-form-section .vet-form-field input[type="number"],
.vet-form-section .vet-form-field input[type="date"],
.vet-form-section .vet-form-field input[type="time"],
.vet-form-section .vet-form-field select,
.vet-form-section .vet-form-field textarea,
.vet-form-section .select2-container .select2-selection {
	background: #fff;
}

/* ---------- Select2 (.vet-select2) — the library's default skin doesn't
   pick up .vet-form-field's input styling since it replaces the <select>
   with its own markup, so it needs its own rules to match height/border/
   radius/font-size. !important is needed because Select2 sets some of its
   own dimensions with matching specificity. ---------- */

.select2-container--default .select2-selection--single {
	height: 36px !important;
	border: 1px solid #8c8f94 !important;
	border-radius: var(--vet-radius-sm) !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
	line-height: 36px !important;
	padding-left: 10px !important;
	padding-right: 30px !important;
	font-size: 14px;
	color: var(--vet-text);
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 34px !important;
	right: 6px;
}

.select2-container--default .select2-selection--multiple {
	min-height: 36px !important;
	border: 1px solid #8c8f94 !important;
	border-radius: var(--vet-radius-sm) !important;
	padding: 2px 6px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
	background: var(--vet-bg) !important;
	border: 1px solid var(--vet-border) !important;
	border-radius: var(--vet-radius-sm) !important;
	color: var(--vet-text);
	font-size: 12px;
	padding: 2px 6px;
	margin-top: 4px;
}

.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--multiple,
.select2-container--default.select2-container--open .select2-selection--multiple {
	border-color: var(--vet-blue) !important;
}

.select2-dropdown {
	border: 1px solid #8c8f94 !important;
	border-radius: var(--vet-radius-sm) !important;
	font-size: 14px;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
	background: var(--vet-blue);
	color: var(--vet-blue-text);
}

/* ---------- Notices ---------- */

.vet-notice {
	border-radius: var(--vet-radius-sm);
	padding: 12px 16px;
	margin-bottom: 16px;
	font-size: 13px;
}

.vet-notice-error {
	background: #fee2e2;
	color: #991b1b;
}

.vet-notice-success {
	background: #dcfce7;
	color: #166534;
}

@media (max-width: 782px) {
	.vet-app-shell {
		flex-direction: column;
	}

	.vet-sidebar {
		position: static;
		width: 100%;
		height: auto;
		border-right: none;
		border-bottom: 1px solid var(--vet-border);
	}

	.vet-hamburger {
		display: inline-flex;
	}

	.vet-sidebar-nav {
		display: none;
		flex-direction: column;
		padding: 8px 12px 12px;
		max-height: 70vh;
		overflow-y: auto;
	}

	.vet-sidebar-footer {
		display: none;
	}

	.vet-sidebar.is-open .vet-sidebar-nav {
		display: flex;
	}

	.vet-sidebar.is-open .vet-sidebar-footer {
		display: block;
	}

	.vet-topbar {
		height: auto;
		min-height: 56px;
		padding: 10px 16px;
		flex-wrap: wrap;
		gap: 8px;
	}

	.vet-topbar-title {
		font-size: 16px;
		flex: 1 1 auto;
		min-width: 0;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.vet-topbar-user {
		flex-shrink: 0;
	}

	.vet-content {
		padding: 16px;
	}

	.vet-card {
		padding: 20px;
	}

	.vet-form-section-body {
		padding: 14px;
	}

	.vet-toolbar-group {
		width: 100%;
	}

	.vet-toolbar-group select,
	.vet-toolbar-group input[type="search"],
	.vet-toolbar-group input[type="text"] {
		flex: 1;
	}

	.vet-toolbar-spacer {
		margin-left: 0;
		width: 100%;
	}

	.vet-form-row {
		flex-direction: column;
		gap: 0;
	}
}

@media (max-width: 420px) {
	.vet-topbar-username {
		display: none;
	}
}
