/* ==============================
   Base
   ============================== */
body {
	margin: 0;
	font-family: 'Segoe UI', sans-serif;
	background-color: #111;
	color: white;
}

/* ==============================
   Universal Topbar
   ============================== */
.topbar {
	background-color: #222;
	padding: 10px 20px;
	position: sticky;
	top: 0;
	z-index: 9999;
}

.topbar-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1200px;
	margin: auto;
}

.topbar .logo {
	font-size: 20px;
	font-weight: 600;
	color: white;
}

.nav {
	display: flex;
	gap: 20px;
}

.nav a {
	color: white;
	text-decoration: none;
	font-weight: 500;
	transition: 0.2s;
}

.nav a:hover {
	color: #4a90e2;
}

/* ==============================
   Main Layout
   ============================== */
.content {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: calc(100vh - 60px);
	text-align: center;
	padding: 20px;
}

#sj-frame {
	border: none;
	position: fixed;      /* fixed so it stays in place */
	bottom: 0;            /* stick to bottom of viewport */
	left: 0;
	width: 100vw;         /* full width */
	height: 95vh;         /* 60% of viewport height */
	background-color: #111;
	z-index: 999999;      /* above other content */
}

/* ==============================
   Logo
   ============================== */
.home-logo {
	margin-bottom: 25px;
}

.main-logo {
	width: 500px;   /* bigger */
	height: auto;
}

/* ==============================
   Search Box
   ============================== */
.search-wrapper {
	width: 100%;
	max-width: 500px;
	margin-bottom: 20px;
}

#sj-address {
	width: 100%;
	padding: 12px 16px;
	border-radius: 12px;
	border: 1px solid #222;
	background-color: #1a1a1a;
	color: white;
	font-size: 16px;
	outline: none;
}

#sj-address:focus {
	border-color: #4a90e2;
}

/* ==============================
   Buttons
   ============================== */
.home-buttons {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	justify-content: center;
	margin-bottom: 20px;
}

.home-buttons button {
	background-color: #222;
	border: 1px solid #333;
	color: white;
	padding: 10px 18px;
	border-radius: 10px;
	cursor: pointer;
	transition: 0.2s;
}

.home-buttons button:hover {
	background-color: #4a90e2;
	border-color: #4a90e2;
}

/* ==============================
   Settings Dropdown
   ============================== */
.settings-dropdown {
	position: fixed;
	top: 70px;
	right: 20px;
	background-color: #222;
	padding: 15px;
	border-radius: 12px;
	display: none;
	flex-direction: column;
	gap: 10px;
	width: 200px;
}

/* ==============================
   Errors
   ============================== */
.desc {
	color: #ff6b6b;
	font-size: 14px;
}

/* ==============================
   Mobile
   ============================== */
@media (max-width: 600px) {

	.nav {
		gap: 12px;
		font-size: 14px;
	}

	.main-logo {
		width: 90px;
	}

	.home-buttons {
		flex-direction: column;
		width: 100%;
		max-width: 280px;
	}

	.home-buttons button {
		width: 100%;
	}
}