.warehouse-shell { padding: 0; max-width: 100%; }
.warehouse-admin-grid {
	display: grid;
	grid-template-columns: 400px minmax(0, 1fr);
	gap: 16px;
	min-height: 500px;
}
.warehouse-card {
	border: 1px solid #d3dceb;
	border-radius: 16px;
	background: #fff;
	padding: 16px;
	display: flex;
	flex-direction: column;
	min-height: 0;
	box-shadow: 0 10px 24px rgba(12, 42, 91, .06);
}
.warehouse-card h2 {
	margin: 0 0 12px;
	color: #163d7a;
	font-size: 1.02rem;
	font-weight: 700;
	letter-spacing: .01em;
}

.warehouse-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	align-content: start;
}
.warehouse-field { min-width: 0; }
.warehouse-field-full { grid-column: 1 / -1; }
.warehouse-field label {
	display: block;
	margin-bottom: 5px;
	color: #274879;
	font-size: .85rem;
	font-weight: 600;
}
.warehouse-field input {
	width: 100%;
	height: 38px;
	border: 1px solid #c4cfe3;
	border-radius: 10px;
	padding: 0 12px;
	font-size: .88rem;
	color: #22395f;
	background: #fbfdff;
}
.warehouse-field input:focus {
	outline: none;
	border-color: #0c56b4;
	background: #fff;
	box-shadow: 0 0 0 3px rgba(12, 86, 180, .12);
}
.warehouse-days-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 14px;
	color: #1f2f4a;
	font-size: .84rem;
	padding: 8px 0 2px;
}
.warehouse-days-row label { display: inline-flex; align-items: center; gap: 5px; }
.warehouse-days-row input { width: 14px; height: 14px; accent-color: #0c56b4; }

.warehouse-actions {
	grid-column: 1 / -1;
	display: flex;
	gap: 8px;
	margin-top: 6px;
}

.warehouse-list-card { min-height: 0; }
.warehouse-table-wrap { overflow: auto; min-height: 0; flex: 1; }
.warehouse-table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.warehouse-table th,
.warehouse-table td {
	padding: 9px 10px;
	border-bottom: 1px solid #e5eaf3;
	text-align: left;
	white-space: nowrap;
}
.warehouse-table th {
	position: sticky;
	top: 0;
	z-index: 1;
	padding: 10px;
	background: #f3f7ff;
	color: #274b82;
	font-weight: 700;
	text-transform: uppercase;
	font-size: .73rem;
	letter-spacing: .04em;
}

@media (max-width: 760px) {
	.warehouse-shell {
		display: grid;
		gap: 12px;
	}
	.warehouse-card {
		padding: 12px;
		border-radius: 12px;
		border-color: #d5dbe7;
		background: #f7f7f8;
		box-shadow: none;
	}
	.warehouse-card h2 {
		margin-bottom: 10px;
		color: #1f2937;
		font-size: 1rem;
	}
	.warehouse-field label {
		margin-bottom: 6px;
		font-size: .8rem;
		color: #50525b;
		font-weight: 700;
	}
	.warehouse-field input {
		height: 42px;
		border-color: #bfc3cc;
		background: #fff;
		font-size: .92rem;
	}
	.warehouse-days-row {
		gap: 8px 12px;
		padding-top: 4px;
		font-size: .82rem;
	}
	.warehouse-actions {
		flex-direction: column;
		margin-top: 2px;
	}
	.warehouse-actions .users-btn {
		width: 100%;
		min-height: 42px;
		border-radius: 999px;
		justify-content: center;
		font-size: .92rem;
	}
	.warehouse-table-wrap {
		overflow: visible;
	}
	.warehouse-table {
		border-collapse: separate;
		border-spacing: 0;
		min-width: 0;
	}
	.warehouse-table thead {
		display: none;
	}
	.warehouse-table tbody tr {
		display: block;
		margin-bottom: 10px;
		border: 1px solid #d5dbe7;
		border-radius: 12px;
		overflow: hidden;
		background: #ffffff;
		box-shadow: 0 3px 12px rgba(11, 39, 79, 0.05);
	}
	.warehouse-table tbody td {
		display: grid;
		grid-template-columns: 92px minmax(0, 1fr);
		align-items: center;
		gap: 10px;
		padding: 9px 12px;
		font-size: .9rem;
		border-radius: 0 !important;
		background: transparent !important;
		white-space: normal;
		border-bottom: none;
		border-top: 1px solid #edf1f7;
	}
	.warehouse-table tbody td:first-child {
		border-top: none;
	}
	.warehouse-table tbody td::before {
		content: attr(data-label);
		color: #5a6478;
		font-weight: 700;
		font-size: .76rem;
		text-transform: uppercase;
		letter-spacing: .02em;
	}
	.warehouse-table tbody td:last-child {
		align-items: start;
		border-bottom: none;
	}
	.warehouse-table .users-row-actions {
		width: 100%;
		justify-content: flex-start;
		flex-wrap: wrap;
		gap: 8px;
	}
	.warehouse-table .users-row-actions form {
		margin: 0;
	}
	.warehouse-table .users-btn-icon {
		width: 32px;
		height: 32px;
		border-radius: 10px;
	}
	.warehouse-empty-row {
		border: 1px dashed #c9d2e0;
		background: #f9fbff;
		box-shadow: none;
	}
	.warehouse-empty-row td {
		display: block;
		border-top: none;
		padding: 14px 12px;
	}
	.warehouse-empty-row td::before {
		content: none;
	}
}
