body {
	padding: 24px;
	background-color: #eeeeee;
	font-family: Arial, sans-serif;
}

main {
	max-width: 800px;
	margin: 0 auto;
	background-color: #FFF;
	padding: 44px 64px 64px;
	border-radius: 24px;
	box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.069);
	font-size: 14px;
	color: #6f6f6f;
}

a {
	color: #698bab;
}

header {
	margin: 0 0 24px 0;
}

nav {
	display: flex;
	align-items: center;
	gap: 12px;
}

nav a.logo {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	text-decoration: none;
	color: #777777;
	font-weight: 600;
	font-size: 1.1em;
}

nav .nav-links {
	margin-left: auto;
	display: flex;
	gap: 16px;
}

.nav-links a {
	font-size: 0.85em;
	color: #8d8b8b;
	text-decoration: none;
}

footer {
	margin-top: 24px;
	text-align: center;
	color: #8d8b8b;
	font-size: 0.85em;
}

section {
	margin-top: 60px;
}

section.intro {
	font-size: 1.1em;
	line-height: 1.4em;
	margin-top: 2em;
}

section .title {
	font-size: 14px;
	letter-spacing: 0.5px;
	margin-bottom: 16px;
	text-transform: uppercase;
	border-bottom: 1px solid #E0E0E0;
	color: #999;
	padding-bottom: 4px;
	font-weight: 600;
}

section h3 {
	margin: 4em 0 12px 0;
}

section h3:first-of-type {
	margin-top: 2em;
}

section .widget-card h3 {
	margin-top: 0;
}

section p {
	padding-left: 16px;
}

section#demo p {
	padding-left: 0;
}

#dtravel-widget-container {
	margin: 0;
	padding: 0;
	min-height: 600px;
}

pre {
	background-color: #f4f4f4;
	border: 1px solid #ddd;
	padding: 10px;
	overflow-x: auto;
	font-size: 0.9em;
	border-radius: 4px;
	line-height: 1.2em;
	margin-left: 16px;
}

pre code {
	color: #de0c1a;
	font-weight: 600;
}

.title1 {
	margin-top: 16px;
}

.group_btn {
	display: flex;
	gap: 24px;
}

.open_btn {
	padding: 10px 16px;
	border-radius: 12px;
	background-color: black;
	color: white;
	font-size: 16px;
	line-height: 20px;
	cursor: pointer;
}

.close_btn {
	padding: 10px 16px;
	border-radius: 12px;
	background: white;
	border: 1px solid #CFCFCB;
	color: #0F0F0E;
	font-size: 16px;
	line-height: 20px;
	cursor: pointer;
}

/* Breadcrumb Navigation */
.breadcrumb {
	padding: 12px 0 0;
	font-size: 14px;
	color: #666;
}

.breadcrumb a {
	color: #666;
	text-decoration: none;
	transition: color 0.2s;
}

.breadcrumb a:hover {
	color: #32302D;
}

.breadcrumb span {
	margin: 0 2px;
	color: #999;
}

/* Mode Toggle */
.mode-toggle {
	display: flex;
	gap: 12px;
	margin: 24px 0;
	padding: 16px;
	background: #f8f8f8;
	border-radius: 8px;
}

.mode-toggle button {
	padding: 12px 24px;
	border: 2px solid #32302D;
	background: white;
	color: #32302D;
	font-weight: 600;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.2s;
}

.mode-toggle button:hover {
	background: #f0f0f0;
}

.mode-toggle button.active {
	background: #32302D;
	color: white;
}

/* Demo Info Box */
.demo-info {
	padding: 16px;
	background: #e8f4f8;
	border-left: 4px solid #2196F3;
	border-radius: 4px;
	margin: 16px 0;
}

.demo-info h4 {
	margin: 0 0 8px 0;
	color: #1976D2;
}

.demo-info p {
	margin: 4px 0;
	font-size: 14px;
}

/*.slide-in {*/
/*	transform: translateX(100%);*/
/*	-webkit-transform: translateX(100%);*/
/*	animation: slide-in 0.8s forwards !important;*/
/*	-webkit-animation: slide-in 0.8s forwards !important;*/
/*	z-index: 1000000000000;*/
/*}*/


@media screen and (max-width:495px) {
	.slide-in {
		transform: translateY(100%);
		-webkit-transform: translateY(100%);
		animation: slide-up 0.8s forwards !important;
		-webkit-animation: slide-up 0.8s forwards !important;
		z-index: 1000000000000;
	}

	.slide-out {
		transform: translateY(100%);
		-webkit-transform: translateY(100%);
		animation: slide-down 0.5s forwards !important;
		-webkit-animation: slide-down 1s forwards !important;
		z-index: -1000000000000;
	}
}

@keyframes slide-in {
	100% {
		transform: translateX(0%);
	}
}

@-webkit-keyframes slide-in {
	100% {
		-webkit-transform: translateX(0%);
	}
}

@keyframes slide-up {
	100% {
		transform: translateY(0%);
	}
}

@-webkit-keyframes slide-up {
	100% {
		-webkit-transform: translateY(0%);
	}
}

@keyframes slide-out {
	0% {
		transform: translateX(0%);
	}

	100% {
		transform: translateX(100%);
	}
}

@-webkit-keyframes slide-out {
	0% {
		-webkit-transform: translateX(0%);
	}

	100% {
		-webkit-transform: translateX(100%);
	}
}

@keyframes slide-down {
	0% {
		transform: translateY(0%);
	}

	100% {
		transform: translateY(100%);
	}
}

@-webkit-keyframes slide-down {
	0% {
		-webkit-transform: translateY(0%);
	}

	100% {
		-webkit-transform: translateY(100%);
	}
}

/* Index ------------------------------------------ */

.widget-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 24px;
	margin: 32px 0;
}

.widget-card {
	border: 1px solid #E5E5E5;
	border-radius: 12px;
	padding: 24px;
	transition: all 0.3s ease;
	background: white;
}

.widget-card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	transform: translateY(-2px);
}

.widget-card h3 {
	margin-top: 0;
	margin-bottom: 12px;
	color: #32302D;
	font-size: 20px;
	font-weight: 600;
}

.widget-card p {
	color: #666;
	line-height: 1.6;
	margin-bottom: 16px;
}

.widget-card .features {
	list-style: none;
	padding: 0;
	margin: 16px 0;
}

.widget-card .features li {
	padding: 6px 0;
	color: #666;
	font-size: 14px;
}

.widget-card .features li:before {
	content: "✓ ";
	color: #28a745;
	font-weight: bold;
	margin-right: 8px;
}

.widget-card .btn {
	display: inline-block;
	padding: 10px 20px;
	background: #32302D;
	color: white;
	text-decoration: none;
	border-radius: 6px;
	font-weight: 500;
	transition: background 0.2s;
}

.widget-card .btn:hover {
	background: #4a4846;
}

.badge {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 12px;
	font-size: 12px;
	font-weight: 600;
	margin-bottom: 12px;
}

.badge-v1 {
	background: #e3f2fd;
	color: #1976d2;
}

.badge-v2 {
	background: #e8f5e9;
	color: #388e3c;
}

.badge-new {
	background: #fff3e0;
	color: #f57c00;
}

@media screen and (max-width:495px) {
	body {
		padding: 0;
		margin: 0;
	}

	main {
		padding: 24px;
		border-radius: 0;
		box-shadow: none;
	}

	nav {
		flex-direction: column;
		align-items: flex-start;
	}

	nav .nav-links {
		margin: 0;
	}
}