:root {
	--panel-width: 250px;
	--panel-width-collapsed: 40px;
}


body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

#app {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-align: center;
  width: 300px;
}

.hidden {
  display: none !important;
}

input {
  display: block;
  width: 100%;
  margin: 10px 0;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

button {
  background-color: #007BFF;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
}

button:hover {
  background-color: #0056b3;
}

#error-message {
  color: red;
  margin-top: 10px;
}



#main-panel {
    width: var(--panel-width);
    position: relative;
	display: flex;
    left: 0;
    top: 0;
    height: 100%;
    background: #333;
	box-sizing: border-box;
    color: white;
    overflow: hidden;
    transition: 0.3s;
	padding: 0px;
	flex-direction: column; /* Stack items vertically */
    justify-content: flex-start;
    align-items: flex-start; /* Align children to the left by default */
}

#main-panel ul {
    list-style: none;
    padding: 0;
    margin: 0;	
	margin-top: 20px;
	margin-left: 10px;
}
#main-panel ul li {
    margin-bottom: 15px; /* Increased margin between items */
}
#main-panel ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
}
#main-panel ul li a:hover {
    text-decoration: underline;}

#main-panel button { 
	margin: 10px; 
	padding-left: 0px; 
	padding-right: 0px; 
	min-width: 20px; 
	max-width: 100px; 
	width: -webkit-fill-available;
	box-sizing: border-box;
	align-self: end;
}

#main-content { 
	flex-grow: 1; /* Take up remaining space */
    height: 100%;
    box-sizing: border-box; /* Prevent padding/border from affecting the size */
	position: absolute;
	display: flex;
	background-color: #3258a8;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
	margin: 0;
	margin-left: var(--panel-width);
    padding: 3px;
	overflow: auto;
}

#main-content-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
	border-radius: 5px;
}

#main-overlap-parent {
	position: absolute;
	display: flex;
    flex-direction: row;
    height: 100vh; /* Full viewport height */
    width: 100vw;  /* Full viewport width */
	top: 0;
    left: 0;
    right: 0;
    bottom: 0;
	margin: 0;
	padding: 0;
	overflow: hidden;
}

.collapsed { width: var(--panel-width-collapsed) !important; }
.expanded { margin-left: var(--panel-width-collapsed) !important; }
