/* Root variables for consistent theming */
:root {
	--primary-blue: #235ebc;
	--primary-blue-dark: #1a4a96;
	--primary-blue-light: #e8f0ff;
	--secondary-gray: #f5f7fa;
	--text-dark: #2d3748;
	--text-light: #718096;
	--border-color: #e2e8f0;
	--success-green: #48bb78;
	--danger-red: #f56565;
	--warning-orange: #ed8936;
	--shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
	--shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
	--shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
	--border-radius: 12px;
	--transition: all 0.2s ease;
}

html, body {
	margin: 0;
	padding: 0;
	font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	width: 100%;
	min-height: 100vh;
	overflow-x: hidden;
	font-size: 15px;
	line-height: 1.6;
	color: var(--text-dark);
	background-color: #f0f2f5;
}

.content {
	background-color: white;
	max-width: 500px;
	margin: 0 auto;
	padding: 20px;
	box-shadow: var(--shadow-lg);
	margin-bottom: 20px;
}

.menu {
	padding: 0px;
}

/* Typography */
h1 {
	font-size: 28px;
	font-weight: 700;
	margin-bottom: 24px;
	color: var(--text-dark);
}

h2 {
	font-size: 22px;
	font-weight: 600;
	margin-bottom: 16px;
	color: var(--text-dark);
}

h3 {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 12px;
	color: var(--text-dark);
}

/* Form Elements */
select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23718096' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	padding-right: 40px !important;
}

.content input,
.content select,
.form-control {
	background-color: white;
	border-radius: var(--border-radius);
	border: 2px solid var(--border-color);
	height: 48px!important;
	line-height: 48px;
	padding: 0 16px;
	font-size: 15px;
	transition: var(--transition);
	width: 100%;
	box-sizing: border-box;
}

.content input:focus,
.content select:focus,
.form-control:focus {
	outline: none;
	border-color: var(--primary-blue);
	box-shadow: 0 0 0 3px var(--primary-blue-light);
}

.content input::placeholder {
	color: var(--text-light);
}

textarea {
	min-height: 120px !important;
	padding: 12px 16px !important;
	resize: vertical;
	font-family: inherit;
}

/* Button Styles */
.btn {
	min-height: 48px;
	padding: 12px 24px;
	border-radius: var(--border-radius);
	font-weight: 600;
	font-size: 15px;
	border: none;
	cursor: pointer;
	transition: var(--transition);
	text-align: center;
	display: inline-block;
	text-decoration: none;
	box-shadow: var(--shadow-sm);
	line-height: 1.4!important;
}

.btn:hover {
	transform: translateY(-1px);
	box-shadow: var(--shadow-md);
}

.btn:active {
	transform: translateY(0);
}

.btn-primary {
	background-color: var(--primary-blue);
	color: white !important;
}

.btn-primary:hover {
	background-color: var(--primary-blue-dark);
	color: white !important;
}

.btn-success {
	background-color: var(--success-green);
	color: white !important;
}

.btn-success:hover {
	background-color: #38a169;
	color: white !important;
}

.btn-danger {
	background-color: var(--danger-red);
	color: white !important;
}

.btn-danger:hover {
	background-color: #e53e3e;
	color: white !important;
}

.btn-warning {
	background-color: var(--warning-orange);
	color: white !important;
}

.btn-warning:hover {
	background-color: #dd6b20;
	color: white !important;
}

/* Card & Header Styles */
.bg-blue {
	background-color: var(--primary-blue) !important;
	margin-left: 0;
	margin-right: 0;
}

.navbar-brand {
	font-family: 'Abel', sans-serif;
	margin: 0;
	font-size: 20px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.card-header {
	background-color: var(--primary-blue);
	color: white;
	font-weight: 600;
	text-align: center;
	padding: 12px;
	border-radius: var(--border-radius) var(--border-radius) 0 0;
}

/* Links */
a {
	color: var(--primary-blue);
	text-decoration: none;
	transition: var(--transition);
}

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

a:active {
	color: var(--primary-blue-dark);
}

/* Labels */
label {
	font-weight: 600;
	color: var(--text-dark);
	margin-bottom: 8px;
	display: block;
	font-size: 14px;
}

/* Utility Classes */
.text-center {
	text-align: center;
}

.text-white {
	color: white !important;
}

.w-100 {
	width: 100%;
}

.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.m-2 { margin: 8px; }
.m-auto { margin: auto; }

/* Specific Component Styles */
.col-4 {
	text-align: center;
}

#showKob:hover {
	cursor: pointer;
}

.home {
	height: 25px;
	width: 25px;
	margin-top: -5px;
	float: left;
}

#test {
	position: relative;
	width: auto;
	height: 2000px;
	overflow-x: hidden;
	overflow-y: scroll;
}

iframe {
	position: absolute;
	top: -240px;
	left: -40px;
	width: 360px;
	height: 2000px;
}

.book {
	cursor: pointer;
}

/* Barcode Container */
center {
	padding: 16px 0;
}

/* HR Styling */
hr {
	border: none;
	border-top: 1px solid var(--border-color);
	margin: 20px 0;
}

/* Checkbox Styling */
input[type="checkbox"] {
	width: auto;
	height: auto;
	margin-right: 8px;
}

/* Row & Column Layouts */
.row {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -8px;
	align-items: center;
}

.col-2 {
	flex: 0 0 16.666%;
	padding: 0 8px;
}

.col-4 {
	flex: 0 0 33.333%;
	padding: 0 8px;
	text-align: center;
}

.col-8 {
	flex: 0 0 66.666%;
	padding: 0 8px;
}

.col-10 {
	flex: 0 0 83.333%;
	padding: 0 8px;
}

/* Login Form Specific Styles */
.content form {
	margin-top: 24px;
}

/* Menu Page Logo Header */
.content .row img {
	border-radius: 8px;
	object-fit: contain;
}

/* User Header Section */
.user-header {
	background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
	margin: -24px -24px 24px -24px;
	padding: 24px;
	color: white;
	text-align: center;
	border-radius: 0;
}

.user-header h2 {
	color: white;
	margin: 12px 0;
}

/* Klippekort Info Box */
.klippekort-box {
	background-color: var(--primary-blue-light);
	border-left: 4px solid var(--primary-blue);
	padding: 16px;
	border-radius: 8px;
	margin: 20px 0;
}

.klippekort-box h2 {
	font-size: 18px;
	margin-bottom: 8px;
	color: var(--primary-blue);
}

/* Menu Grid Styles */
.menu-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
	margin-top: 24px;
}

.menu-item {
	background: white;
	border: 2px solid var(--border-color);
	border-radius: var(--border-radius);
	padding: 24px 16px;
	text-align: center;
	text-decoration: none;
	color: var(--text-dark);
	transition: var(--transition);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	min-height: 120px;
	justify-content: center;
}

.menu-item:hover {
	border-color: var(--primary-blue);
	background-color: var(--primary-blue-light);
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
}

.menu-item-icon {
	font-size: 32px;
	line-height: 1;
}

.menu-item-text {
	font-weight: 600;
	font-size: 14px;
	line-height: 1.3;
}

.menu-item.danger {
	border-color: var(--danger-red);
	color: var(--danger-red);
}

.menu-item.danger:hover {
	background-color: #fff5f5;
	border-color: var(--danger-red);
}

/* Desktop Styles */
@media only screen and (min-width: 768px) {
	.content {
		max-width: 600px;
		margin-top: 32px;
		margin-bottom: 32px;
		border-radius: var(--border-radius);
		min-height: auto;
		padding: 20px;
	}

	.menu {
		padding: 0px;
	}

	.menu-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.user-header {
		border-radius: var(--border-radius) var(--border-radius) 0 0;
	}
}