.random-result {
	margin-top: 1rem;
	font-size: 1.2rem;
	min-height: 2.2em;
}

/* Meetup History styles */
#add-meetup-form {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1.5rem;
}
#add-meetup-form select,
#add-meetup-form input {
	padding: 0.5rem;
	font-size: 1rem;
	border: 1px solid #ccc;
	border-radius: 4px;
}
#add-meetup-form button {
	padding: 0.5rem 1rem;
	font-size: 1rem;
	background: #333;
	color: #fff;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	transition: background 0.2s;
}
#add-meetup-form button:hover {
	background: #555;
}
#meetups-list {
	list-style: none;
	padding: 0;
	margin: 0;
}
.meetup-item {
	background: #f6f6f6;
	border-radius: 5px;
	margin-bottom: 1rem;
	padding: 1rem;
	box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}
.meetup-date {
	color: #666;
	margin-left: 0.5rem;
	font-size: 0.98em;
}
.meetup-attendees {
	margin-top: 0.5rem;
	color: #333;
	font-size: 0.98em;
}
.meetup-attendees span {
	background: #e0e7ef;
	border-radius: 3px;
	padding: 0.1em 0.5em;
	margin-right: 0.2em;
	display: inline-block;
}
.delete-btn:hover {
	background: #ffeaea;
}

/* Randomizer styles */
#pick-random-btn {
	padding: 0.7rem 1.5rem;
	font-size: 1.1rem;
	background: #333;
	color: #fff;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	margin-bottom: 1.2rem;
	transition: background 0.2s;
}
#pick-random-btn:hover {
	background: #555;
}
.random-result {
	margin-top: 1rem;
	font-size: 1.2rem;
	min-height: 2.2em;
}
.navbar {
	display: flex;
	background: #333;
	padding: 0.5rem 1rem;
}

/* Locations page styles */
#add-location-form {
	display: flex;
	gap: 0.5rem;
	margin-bottom: 1.5rem;
}
#add-location-form input {
	padding: 0.5rem;
	font-size: 1rem;
	border: 1px solid #ccc;
	border-radius: 4px;
}
#add-location-form button {
	padding: 0.5rem 1rem;
	font-size: 1rem;
	background: #333;
	color: #fff;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	transition: background 0.2s;
}
#add-location-form button:hover {
	background: #555;
}
#locations-list {
	list-style: none;
	padding: 0;
	margin: 0;
}
.location-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.5rem 0;
	border-bottom: 1px solid #eee;
}
.loc-name {
	font-weight: bold;
}
.loc-address {
	color: #666;
	margin-left: 0.5rem;
	font-size: 0.95em;
}
.delete-btn {
	background: none;
	border: none;
	color: #c00;
	font-size: 1.2rem;
	cursor: pointer;
	margin-left: 1rem;
	padding: 0 0.5rem;
	border-radius: 3px;
	transition: background 0.2s;
}
.delete-btn:hover {
	background: #ffeaea;
}

body {
	font-family: 'Segoe UI', Arial, sans-serif;
	margin: 0;
	background: #f4f6fa;
	color: #222;
}

/* Navbar */
.navbar {
	display: flex;
	align-items: center;
	background: #fff;
	box-shadow: 0 2px 8px rgba(0,0,0,0.04);
	padding: 0.5rem 1.5rem;
	position: sticky;
	top: 0;
	z-index: 10;
}
.tab-btn {
	background: none;
	border: none;
	color: #333;
	padding: 0.7rem 1.5rem;
	cursor: pointer;
	font-size: 1rem;
	border-radius: 5px 5px 0 0;
	margin-right: 0.5rem;
	transition: background 0.18s, color 0.18s;
}
.tab-btn.active, .tab-btn:hover {
	background: #e9eef6;
	color: #1976d2;
}

main {
	max-width: 600px;
	margin: 2.5rem auto;
	padding: 0 1rem;
}

/* Card-like section */
.tab-section {
	display: none;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 2px 12px rgba(0,0,0,0.07);
	padding: 2rem 1.5rem 1.5rem 1.5rem;
	margin-bottom: 2rem;
	animation: fadeIn 0.3s;
}
.tab-section[style*="block"] {
	display: block;
}
@keyframes fadeIn {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: none; }
}

/* Consistent button style */
button, .tab-btn {
	font-family: inherit;
	border: none;
	outline: none;
}
button {
	background: #1976d2;
	color: #fff;
	padding: 0.6rem 1.3rem;
	border-radius: 5px;
	font-size: 1rem;
	cursor: pointer;
	transition: background 0.18s;
	margin-top: 0.2rem;
}
button:hover, button:focus {
	background: #1256a3;
}
.delete-btn {
	background: #e53935;
	color: #fff;
	padding: 0.3rem 0.8rem;
	font-size: 1.1rem;
	border-radius: 4px;
	margin-left: 0.7rem;
	transition: background 0.18s;
}
.delete-btn:hover {
	background: #b71c1c;
}

/* Form styles */
form {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin-bottom: 1.3rem;
}
input, select {
	padding: 0.5rem;
	font-size: 1rem;
	border: 1px solid #cfd8dc;
	border-radius: 4px;
	background: #f8fafc;
	transition: border 0.18s;
}
input:focus, select:focus {
	border: 1.5px solid #1976d2;
	background: #fff;
}

/* List styles */
ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.location-item, .meetup-item {
	display: flex;
	flex-direction: column;
	background: #f7fafd;
	border-radius: 7px;
	margin-bottom: 1rem;
	padding: 1rem 1rem 0.7rem 1rem;
	box-shadow: 0 1px 3px rgba(0,0,0,0.03);
	position: relative;
}
.location-item {
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
}
.loc-name {
	font-weight: 500;
}
.loc-address {
	color: #666;
	margin-left: 0.5rem;
	font-size: 0.97em;
}

/* Randomizer styles */
#pick-random-btn {
	margin-bottom: 1.2rem;
}
.random-result {
	margin-top: 1rem;
	font-size: 1.2rem;
	min-height: 2.2em;
}

/* Meetup History styles */
.meetup-date {
	color: #666;
	margin-left: 0.5rem;
	font-size: 0.98em;
}
.meetup-attendees {
	margin-top: 0.5rem;
	color: #333;
	font-size: 0.98em;
}
.meetup-attendees span {
	background: #e0e7ef;
	border-radius: 3px;
	padding: 0.1em 0.5em;
	margin-right: 0.2em;
	display: inline-block;
}
