/* UIKit Primary Color Override */
:root {
	--uk-primary: #3477C6;
}

/* UIKit Primary Color Classes Override */
.uk-button-primary {
	background-color: #3477C6 !important;
	color: white !important;
	border-color: #3477C6 !important;
}

.uk-button-primary:hover,
.uk-button-primary:focus {
	background-color: #2c6ba8 !important;
	color: white !important;
	border-color: #2c6ba8 !important;
}

.uk-link,
.uk-link:hover,
a:not(.uk-button):not(.uk-link-text):not(.uk-link-reset) {
	color: #3477C6;
}

.uk-link:hover,
a:not(.uk-button):not(.uk-link-text):not(.uk-link-reset):hover {
	color: #2c6ba8;
}

.uk-label-primary {
	background-color: #3477C6 !important;
	color: white !important;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	line-height: 1.6;
	color: #333;
	background: #f8f9fa;
}

/* Table Improvements - Prevent text wrapping on mobile */
.uk-table td,
.uk-table th {
	white-space: nowrap;
	vertical-align: middle;
}

/* Allow text wrapping only when explicitly needed */
.uk-table .uk-text-wrap,
.uk-table .allow-wrap {
	white-space: normal;
}

/* Better mobile table scrolling */
.uk-overflow-auto {
	-webkit-overflow-scrolling: touch;
}

/* Ensure table doesn't get too cramped on mobile */
@media (max-width: 640px) {
	.uk-table td,
	.uk-table th {
		min-width: 80px;
		padding: 8px 12px;
	}

	.uk-table-small td,
	.uk-table-small th {
		min-width: 60px;
		padding: 6px 10px;
	}
}

/* Documentation Screenshots */
.doc-screenshot {
	max-width: 300px;
	margin: 0 auto;
	display: block;
}

header {
	background: white;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	position: relative;
	z-index: 10;
}

header .uk-logo,
header .uk-logo:hover {
	color: #3477C6 !important;
}

header .uk-navbar-right a {
	color: #333 !important;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.container-narrow {
	max-width: 800px;
}

/*h1 {*/
/*	color: #3477C6;*/
/*	font-size: 2rem;*/
/*	font-weight: 600;*/
/*}*/

/*h1.small {*/
/*	font-size: 1.5rem;*/
/*}*/

.back-link {
	color: #3477C6;
	text-decoration: none;
	margin-left: auto;
}

.back-link:hover {
	text-decoration: underline;
}

main.content-page {
	background: white;
	padding: 3rem;
	border-radius: 10px;
}

.hero {
	text-align: center;
	padding: 4rem 0;
	color: white;
	background: #3477C6;
	margin: 0;
	border-radius: 0;
	box-shadow: none;
}

.hero h2 {
	font-size: 2.5rem;
	margin-bottom: 1rem;
	color: white;
}

.hero p {
	font-size: 1.2rem;
	max-width: 600px;
	margin: 0 auto 2rem;
}

.features {
	padding: 4rem 0;
}

.features h3 {
	text-align: center;
	font-size: 2rem;
	margin-bottom: 3rem;
	color: #2c3e50;
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
}

.feature-card {
	background: white;
	padding: 2rem;
	border-radius: 10px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	text-align: center;
}

.feature-icon {
	margin-bottom: 1rem;
}

.feature-icon i {
	font-size: 48px;
	color: #3477C6;
}

.feature-icon .fa-passport {
	color: #3477C6;
}

.feature-icon .fa-mobile-alt {
	color: #28a745;
}

.feature-icon .fa-qrcode {
	color: #dc3545;
}

.feature-icon .fa-globe {
	color: #6f42c1;
}

.feature-icon .fa-plug {
	color: #fd7e14;
}

.feature-icon .fa-database {
	color: #20c997;
}

.feature-card h4 {
	color: #3477C6;
	margin-bottom: 1rem;
	font-size: 1.5rem;
}

.cta {
	background: white;
	color: #2c3e50;
	text-align: center;
	padding: 4rem 0;
}

.cta h3 {
	font-size: 2rem;
	margin-bottom: 1rem;
	color: #2c3e50;
}

.cta p {
	font-size: 1.2rem;
	margin-bottom: 2rem;
	color: #666;
}

.download-btn {
	display: inline-block;
	background: #3477C6;
	color: white;
	padding: 1rem 2rem;
	text-decoration: none;
	border-radius: 8px;
	font-weight: 600;
	font-size: 1.1rem;
	transition: transform 0.2s;
}

.download-btn:hover {
	transform: translateY(-2px);
}

/*h2 {*/
/*	color: #2c3e50;*/
/*	font-size: 2rem;*/
/*	margin-bottom: 1rem;*/
/*	text-align: center;*/
/*}*/

.last-updated {
	text-align: center;
	color: #666;
	margin-bottom: 2rem;
	font-style: italic;
}

/*h3 {*/
/*	color: #3477C6;*/
/*	font-size: 1.3rem;*/
/*	margin-top: 2rem;*/
/*	margin-bottom: 1rem;*/
/*}*/

/*p, li {*/
/*	margin-bottom: 1rem;*/
/*}*/

/*ul {*/
/*	margin-left: 2rem;*/
/*}*/

.contact-info {
	background: #f8f9fa;
	padding: 1.5rem;
	border-radius: 8px;
	margin-top: 2rem;
}

footer, .footer-main {
	background: #2c3e50;
	color: white;
	text-align: center;
	padding: 2rem 0;
}

footer a, .footer-main a {
	color: white !important;
	text-decoration: none;
}

footer a:hover, .footer-main a:hover {
	text-decoration: underline;
}

/* Custom icon colors - preserving original colors */
.icon-passport {
	color: #3477C6 !important;
}

.icon-mobile {
	color: #28a745 !important;
}

.icon-qrcode {
	color: #dc3545 !important;
}

.icon-globe {
	color: #6f42c1 !important;
}

.icon-plug {
	color: #fd7e14 !important;
}

.icon-database {
	color: #20c997 !important;
}

.icon-getting-started {
	color: #17a2b8 !important;
}

.icon-nfc {
	color: #3477C6 !important;
}

.icon-document-scanner {
	color: #ffc107 !important;
}

.icon-midni {
	color: #dc3545 !important;
}

.icon-settings {
	color: #6f42c1 !important;
}

.icon-troubleshooting {
	color: #20c997 !important;
}

.icon-samples {
	color: #198754 !important;
}
