.spin-page {
    animation: spin 1.5s ease-in-out forwards;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

body {
	font-family: "Poppins", sans-serif;
	font-weight: 400;
	background-color: #f4f4f4;
	margin: 0;
	padding: 20px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	height: auto;
}

.container {
	background-color: #fff;
	border-radius: 10px;
	padding: 20px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	max-width: 90%;
	width: 400px;
	margin-bottom: 20px;
}

label {
	display: block;
	margin-bottom: 10px;
	font-weight: 600;
}

select, input[type="text"] {
	width: 100%;
	max-width: 100%;
	padding: 10px;
	margin-bottom: 20px;
	box-sizing: border-box;
	border: 1px solid #ccc;
	border-radius: 5px;
	font-size: 16px;
	font-family: "Poppins", sans-serif;
	font-weight: 400;
	background-color: #ffffff;
	color: black;
}

button {
	width: 100%;
	padding: 10px;
	background-color: #4CAF50;
	color: white;
	border: none;
	border-radius: 5px;
	font-size: 16px;
	cursor: pointer;
	font-family: "Poppins", sans-serif;
	font-weight: 400;
	margin-bottom: 20px;
}

.green-button {
	margin-right: 10px;
}

button:hover {
	background-color: #45a049;
}

.button-container {
	display: inline-block;
	display: flex;
}

.route, .location {
	margin-bottom: 20px;
	padding: 10px;
	background-color: #e9ecef;
	border-radius: 5px;
	font-size: 16px;
	min-height: 50px;
	border: 1px solid #B2B2B2;
}

.instructions {
	background-color: #FFFFFF;
	border-radius: 10px;
	padding: 20px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	max-width: 90%;
	width: 400px;
	color: #7F7F7F;
}

.legal {
	padding: 20px;
	max-width: 90%;
	width: 400px;
	color: #7F7F7F;
}

.menu {
	padding: 20px;
	max-width: 90%;
	width: 460px;
	text-align: left;
}

.menu a {
	color: black;
	padding: 5px 10px;
	margin: 10px 10px;
	text-decoration: none;
	background-color: #fff;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	border-radius: 10px;
	display: inline-block;
}

.instructions h2 {
	text-align: center;
	font-size: 20px;
	margin-bottom: 15px;
	font-weight: 600;
}

.instructions p {
	font-size: 16px;
	line-height: 1.5;
	margin-bottom: 10px;
}

.header {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	margin-bottom: 20px;
}

.logo {
	width: 350px;
	height: auto;
	max-width: 90%;
}

.dark-theme {
    background-color: #121212;
    color: #D8D8D8;
}

.dark-theme .container, .dark-theme .instructions {
    background-color: #1e1e1e;
}

.dark-theme button {
    background-color: #2F6830;
}

.dark-theme button:hover {
    background-color: #295929;
}

.dark-theme select, .dark-theme input[type="text"] {
	border: 1px solid #121212;
	background-color: #333333;
	color: #D8D8D8;
}

.dark-theme .route, .dark-theme .location {
	background-color: #3F3F3F;
	border: 1px solid #121212;
	color: #E5E5E5;
}

.dark-theme .menu a {
	color: #D8D8D8;
	background-color: #1e1e1e;
}

footer {
    position: relative;
    padding: 10px;
	justify-content: center;
	text-align: center;
}

.version-container {
	width: 100px;
	height: 50px;
    position: relative;
    display: inline-block;
}

.version-info {
	width: 50px;
	height: 20px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    position: absolute;
    bottom: 10px;
    right: 20px;
    background: #ddd;
    color: black;
    padding: 5px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 10; /* Ensure it appears on top of other content */
	pointer-events: none;
}

.version-info.show {
    opacity: 1;
}

h3 {
    color: black;
    margin-bottom: 5px;
}

.dark-theme h3 {
	color: white;
}

ul {
    list-style-type: none;
    padding-left: 0;
}

li {
    padding: 5px 0;
    font-size: 1em;
    color: #555;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

span {
    font-style: italic;
    color: #888;
}

button.remove-button {
    background-color: red;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
	width: 40px;
	min-width: 40px;
	max-width: 40px;
}

button.remove-button:hover {
    background-color: darkred;
}