/* ------ basis css */
.page-row {
  display: flex;
  gap: var(--spacing-md);
}
.page-row > div {
	flex: 1;
}
.page-row ul {
	margin-left: var(--spacing-md);
}

/* Responsive page layout */
@media (max-width: 768px) {
	.page-row {
		flex-direction: column;
		gap: var(--spacing-sm, 1rem);
	}
	
	.page-row > div {
		flex: none;
		width: 100%;
	}
}

a:hover {
	color: var(--color-accent, #0284c7);
}

.button {
	display: inline-block;
	padding: 15px 30px;
	background-color: #1e3a8a;
	color: white;
	text-decoration: none;
	border-radius: 5px;
	font-weight: bold;
	font-size: 1.1rem;
	transition: background-color 0.3s ease;
}

.button:hover {
	background-color: #0284c7;
}

.callout {
	border-left: 4px solid;
	padding: 1rem;
	border-radius: 0 0.375rem 0.375rem 0;
	margin: 1rem 0;
}

.callout[data-intent="info"] {
	border-left-color: #3b82f6;
	background-color: #eff6ff;
	color: #1e3a8a;
}

.callout[data-intent="warning"] {
	border-left-color: #f59e0b;
	background-color: #fffbeb;
	color: #92400e;
}

.callout[data-intent="error"] {
	border-left-color: #ef4444;
	background-color: #fef2f2;
	color: #991b1b;
}

.callout p {
	margin-bottom: 0.5rem;
}

.callout p:last-child {
	margin-bottom: 0;
}

.callout a {
	color: inherit;
	font-weight: 600;
}

.callout a:hover {
	opacity: 0.8;
}

/* ------ element accordion css */
/* Accordion Styles */
.accordion-item {
	margin-bottom: 0;
}

.accordion-header {
	width: 100%;
	text-align: left;
	padding: 15px 20px;
	background: #f5f5f5;
	border: 1px solid #ddd;
	border-bottom: none;
	cursor: pointer;
	font-size: 1.1rem;
	font-weight: 600;
	display: flex;
	justify-content: space-between;
	align-items: center;
	transition: background-color 0.2s ease;
}

.accordion-header:hover {
	background: #e8e8e8;
}

.accordion-header:focus {
	outline: 2px solid #007cba;
	outline-offset: -2px;
}

.accordion-icon {
	transition: transform 0.3s ease;
	font-size: 1.2rem;
	font-weight: bold;
}

.accordion-content {
	display: none;
	padding: 20px;
	border: 1px solid #ddd;
	border-top: none;
	background: white;
	animation: slideDown 0.3s ease;
}

.accordion-content.show {
	display: block;
}

@keyframes slideDown {
	from {
		opacity: 0;
		max-height: 0;
		padding-top: 0;
		padding-bottom: 0;
	}
	to {
		opacity: 1;
		max-height: 1000px;
		padding-top: 20px;
		padding-bottom: 20px;
	}
}

/* Last accordion item styling */
.accordion-item:last-child .accordion-header {
	border-bottom: 1px solid #ddd;
}

.accordion-item:last-child .accordion-content {
	border-bottom: 1px solid #ddd;
}

/* ------ element hero css */
.hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ------ element osm-box css */
.osm-box {
  height: 250px;
  width: 100%;
}

/* ------ layout css */
:root {
	--background-main: #ffffff;
	--background-sidebar: #ebebeb;
	--color-main: #616161;
	--color-secondary: #00c7fc;
	--color-accent: #e74c3c;
	--border-color: #c0c0c0;
}

/* Reset and Base Styles */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	line-height: 1.5;
	font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
	margin: 0;
	line-height: inherit;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Layout Structure */
.site-wrapper {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.container {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 1rem;
}

/* Header Styles */
.main-header {
	background: var(--background-main, #ffffff);
	padding: 1rem 0;
	border-bottom: 1px solid #f3f4f6;
	position: sticky;
	top: 0;
	z-index: 10;
}

/* Desktop Header Layout */
.desktop-header-layout {
	display: none;
	align-items: center;
	justify-content: space-between;
}

.header-left {
	flex: 1;
	display: flex;
	align-items: center;
}

.header-nav {
	flex-shrink: 0;
	margin: 0 2rem;
}

.header-nav ul {
	display: flex;
	gap: 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.header-nav a {
	text-decoration: none;
	color: var(--color-main, #2c3e50);
	font-weight: 500;
	transition: color 0.2s ease;
}

.header-nav a:hover {
	color: var(--color-secondary, #3498db);
}

.header-nav li.active a {
	color: var(--color-secondary, #3498db);
}

.header-right {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

/* Mobile Header Layout */
.mobile-header-layout {
	display: block;
}

.mobile-header-top,
.mobile-header-bottom {
	margin-bottom: 0.75rem;
}

.mobile-menu-toggle-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.mobile-menu-label {
	color: #4b5563;
	font-weight: 500;
}

.mobile-menu-button {
	padding: 0.5rem;
	color: #4b5563;
	background: none;
	border: none;
	cursor: pointer;
	transition: color 0.2s ease;
}

.mobile-menu-button:hover {
	color: var(--color-secondary, #0ea5e9);
}

.close-icon {
	display: none;
}

.mobile-menu {
	display: none;
	background: white;
	border-top: 1px solid #f3f4f6;
	margin-top: 0.75rem;
	padding-top: 0.75rem;
}

.mobile-menu ul {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mobile-menu li {
	padding: 0.75rem 0;
	border-bottom: 1px solid #e5e7eb;
}

.mobile-menu li:last-child {
	border-bottom: none;
}

.mobile-menu a {
	text-decoration: none;
	color: var(--color-main, #2c3e50);
	transition: color 0.2s ease;
}

.mobile-menu a:hover {
	color: var(--color-secondary, #3498db);
}

/* Content Layout */
.content-wrapper {
	display: flex;
	flex: 1;
}

.sidebar {
	width: 16rem;
	background: var(--background-sidebar, #f9fafb);
	border-right: 1px solid #e5e7eb;
	padding: 1.5rem;
	display: none;
}

.sidebar-content {
	color: var(--color-main, #2c3e50);
}

.main-content {
	flex: 1;
}

.page-content {
	padding: 2rem;
	background: var(--background-main, #ffffff);
	color: var(--color-main, #1f2937);
}

/* Footer */
.site-footer {
	background: #1f2937;
	color: white;
	padding: 3rem 1.25rem;
}

.footer-credits {
	margin-top: 2rem;
	padding-top: 2rem;
	border-top: 1px solid #374151;
	text-align: center;
}

.credits-text {
	color: #9ca3af;
	font-size: 0.875rem;
}

.credits-link {
	color: #d1d5db;
	text-decoration: none;
	transition: color 0.2s ease;
}

.credits-link:hover {
	color: white;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
	color: var(--color-main, #1f2937);
	font-weight: 600;
	line-height: 1.25;
	margin-bottom: 1rem;
}

h1 {
	font-size: 2.25rem;
}

h2 {
	font-size: 1.875rem;
}

h3 {
	font-size: 1.5rem;
}

p {
	margin-bottom: 1rem;
	line-height: 1.625;
}

a {
	color: var(--color-secondary, #0ea5e9);
	text-decoration: underline;
	transition: color 0.2s ease;
}

a:hover {
	color: var(--color-accent, #0284c7);
}

.button {
	background-color: var(--color-secondary);
}

.button:hover {
	background-color: var(--color-accent);
}

table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.5rem 0;
	background: white;
	border-radius: 0.5rem;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

th, td {
	padding: 0.75rem 1rem;
	text-align: left;
	border-bottom: 1px solid #e5e7eb;
	vertical-align: top;
}

th {
	background: var(--background-sidebar, #f9fafb);
	font-weight: 600;
	color: var(--color-main, #374151);
	border-bottom: 2px solid #d1d5db;
}

tbody tr:hover {
	background: #f9fafb;
}

tbody tr:last-child td {
	border-bottom: none;
}

thead th {
	background: var(--color-secondary, #3498db);
	color: white;
	border-bottom: 2px solid var(--color-accent, #e74c3c);
}

tbody tr:nth-child(even) {
	background: #f8fafc;
}

tbody tr:nth-child(even):hover {
	background: #f1f5f9;
}

.text-center {
	text-align: center;
}

.text-right {
	text-align: right;
}

.table-container {
	overflow-x: auto;
	margin: 1rem 0;
}

@media (max-width: 768px) {
	table {
		font-size: 0.875rem;
	}
	
	th, td {
		padding: 0.5rem 0.75rem;
	}
	
	.table-container {
		border-radius: 0.5rem;
		border: 1px solid #e5e7eb;
	}
}

.table-bordered {
	border: 1px solid #e5e7eb;
}

.table-bordered th,
.table-bordered td {
	border: 1px solid #e5e7eb;
}

.table-compact th,
.table-compact td {
	padding: 0.5rem 0.75rem;
}

caption {
	padding: 0.75rem;
	color: var(--color-main, #6b7280);
	font-size: 0.875rem;
	text-align: left;
	caption-side: bottom;
	font-style: italic;
}

@media (min-width: 768px) {
	.desktop-header-layout {
		display: flex;
	}
	
	.mobile-header-layout {
		display: none;
	}
	
	.site-footer {
		padding: 3rem 0;
	}
}

@media (min-width: 1024px) {
	.sidebar {
		display: block;
	}
}

.mobile-menu.show {
	display: block;
	animation: slideDown 0.3s ease;
}

@keyframes slideDown {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.page-row {
	display: flex;
	gap: var(--spacing-md);
}
.page-row > div {
	flex: 1;
}

