/* Reset and Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f8f9fa;
    color: #212529;
    line-height: 1.5;
	height:100%;
	margin:0;
}

body {
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header */
.header {
    background: linear-gradient(to right, #339af0, #5c7cfa);
    color: white;
    padding: 1rem 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-section h1 {
    font-size: 1.5rem;
}

.user-info {
    flex-wrap: wrap;
    padding: 10px;
    background-color: #f7f7f7;
    border-radius: 8px;
    max-width: 100%;
}

.user-avatar .avatar-placeholder {
    width: 40px;
    height: 40px;
    background: #dee2e6;
    color: #495057;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.logout-btn {
    background: #ff6b6b;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: background 0.2s;
	margin-left: auto;        /* pushes to the far right */
}

.logout-btn:hover {
    background: #fa5252;
}


/* Container */
.container {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* Dashboard Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.2rem;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-align: center;
}

.stat-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 1.3rem;
    font-weight: bold;
}

.stat-label {
    color: #666;
}

/* Tab Content */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Live Tracker */
.ride-tracker h2 {
    font-size: 1.4rem;
    color: #339af0;
}

.location-section {
    margin-bottom: 0.5rem;
    background: #fff;
    padding: 0.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.location-inputs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.location-input-group label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.input-with-button {
    display: flex;
    gap: 0.5rem;
}

.input-with-button input, #question {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid #ced4da;
    border-radius: 8px;
}

.location-btn {
    padding: 0.5rem 0.8rem;
    background: #e9ecef;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.location-btn:hover {
    background: #dee2e6;
}

.control-btn {
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    border: none;
    transition: background 0.2s;
}

.primary {
    background: #51cf66;
    color: white;
}

.primary:hover {
    background: #40c057;
}

.secondary {
    background: #339af0;
    color: white;
}

.secondary:hover {
    background: #228be6;
}

.danger {
    background: #ff6b6b;
    color: white;
}

.danger:hover {
    background: #fa5252;
}

.success {
    background: #20c997;
    color: white;
}

.success:hover {
    background: #12b886;
}

.info {
    background: #845ef7;
    color: white;
}

.info:hover {
    background: #7950f2;
}

/* Current Stats */
.current-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    margin-top: 2rem;
    text-align: center;
}

.current-stat-value {
    font-size: 1.4rem;
    font-weight: bold;
}

.current-stat-label {
    color: #888;
}

/* Map */
#map {
    height: 400px;
    margin-top: 2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Ride History */
.rides-list {
    background: white;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.ride-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  border-bottom: 1px solid #eee;
}

.ride-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.ride-info h4 {
  margin: 0;
  font-size: 16px;
  flex: 1;
}

.ride-buttons {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.details-btn, .delete-btn {
  display: inline-block;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 14px;
  height: 32px;
  line-height: 20px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.details-btn {
  background: #4caf50;
  color: white;
}

.delete-btn {
  background: #ddd;
  color: #333;
}

/* Mobile adjustments */
@media (max-width: 600px) {
  .ride-info {
    flex-direction: column;
    align-items: flex-start;
  }
  .ride-buttons {
    margin-top: 6px;
  }
}

.ride-stats span {
    margin-right: 1rem;
    color: #555;
}

/* Social */
.social-container {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.leaderboard-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.filter-btn {
    padding: 0.4rem 1rem;
    background: #e9ecef;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background: #339af0;
    color: white;
}

/* Navigation Panel */
.navigation-panel {
    margin-top: 1rem;
    background: #fff3cd;
    padding: 1rem;
    border-radius: 8px;
    display: flex;
}


.select-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
  /*max-width: 400px;*/
}

.select-wrapper select {
  width: 100%;
  padding: 0.5em 2.5em 0.5em 1em; /* extra right padding for arrow */
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  color: #333;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
}

/* Arrow using SVG */
.select-wrapper::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1em;
  width: 0.8em;
  height: 0.5em;
  pointer-events: none;
  transform: translateY(-50%);
  background-image: url("data:image/svg+xml;utf8,<svg fill='gray' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'><path d='M0 0l5 6 5-6z'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
}

/* Hover and focus */
.select-wrapper select:hover {
  border-color: #c60086;
  box-shadow: 0 0 4px rgba(198, 0, 134, 0.2);
}

.select-wrapper select:focus {
  border-color: #c60086;
  box-shadow: 0 0 6px rgba(198, 0, 134, 0.4);
}


.nav-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    border-bottom: 1px solid #ddd;
    background: #f9f9f9;
    padding: 0.5rem;
    gap: 0.5rem;
}

.nav-tab {
    flex: 0 0 auto;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    white-space: nowrap;
    transition: background 0.2s;
}

.nav-tab.active {
    background: #007bff;
    color: white;
}

.nav-tab:hover {
    background: #ddd;
}

/* Optional: hide scrollbar on some browsers */
.nav-tabs::-webkit-scrollbar {
    display: none;
}
.nav-tabs {
    -ms-overflow-style: none;  /* IE 10+ */
    scrollbar-width: none;     /* Firefox */
}



.tracking-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    /*padding: 1rem 0;*/
}


.user-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 8px;
    max-width: 100%;
	margin-left: 20px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1 1 auto;
    min-width: 200px;
	color:black;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #007bff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.user-details {
    flex-grow: 1;
    min-width: 0;
}

.user-details h3, .user-details p {
    margin: 0;
    word-wrap: break-word;
}

.logout-btn {
    padding: 8px 16px;
    background-color: #dc3545;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    white-space: nowrap;
    flex-shrink: 0;
}
#navigationInstruction, #navigationDistance{
	font-size:19px;
	font-weight:600;
}

/* Responsive breakpoint for stacking vertically */
@media (max-width: 500px) {

    .nav-tab {
        width: 100%;
        text-align: left;
    }
	.header {
		position: relative;
	}

	
}

#busy-screen{
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    user-select: none;	
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


#spinner
{
	border: 8px solid #f3f3f3;
	border-top: 8px solid #3498db;
	border-radius: 50%;
	width: 60px;
	height: 60px;
	animation: spin 1s linear infinite;
	
}


.nav-container {
  position: relative;
}

.hamburger {
  display: none;
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
  z-index:1000;
}

@media (max-width: 768px) {

  .user-section {
    width: 100%;
    justify-content: space-between;
  }

  .logo-section h1 {
    font-size: 1.2rem;
  }

  .logout-btn {
    padding: 0.4rem 0.8rem;
  }
	.user-info{
		display:none;
	}  
	
  .hamburger {
    display: block;
  }

  .nav-tabs {
	display:none;
    flex-direction: column;
    background: #fff;
    border: 1px solid #ccc;
    /*position: absolute;*/
    left: 0;
    right: 0;
  }

  .nav-tabs.show {
    display: flex;
  }
}

.table-container {
  overflow-x: auto;
  margin: 1em 0;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.nav-table {
  width: 100%;
  border-collapse: collapse;
  font-family: sans-serif;
  min-width: 400px;
}

.nav-table thead {
  background-color: #4CAF50;
  color: white;
}

.nav-table th,
.nav-table td {
  padding: 10px 15px;
  text-align: left;
}

.nav-table tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

.nav-table tbody tr:hover {
  background-color: #f1f1f1;
}

/* ✅ Right-align last column (distance) */
.nav-table td:last-child,
.nav-table th:last-child {
  text-align: right;
}

/* Responsive stacking for small screens */
@media (max-width: 500px) {
	.table-container {
	  margin: 1em 0;
	  border-radius: 8px;
	  border: 1px solid #ddd;
	  width: 100%;
	}

	.nav-table {
	  width: 100%;
	  border-collapse: collapse;
	  font-family: sans-serif;
	  table-layout: auto; /* let columns size naturally */
	}

	.nav-table thead {
	  background-color: #4CAF50;
	  color: white;
	}

	.nav-table th,
	.nav-table td {
	  padding: 3px;
	  text-align: left;
	  word-break: break-word; /* wrap long words */
	}

	.nav-table td:last-child,
	.nav-table th:last-child {
	  text-align: right;
	  white-space: nowrap; /* keeps numbers tidy */
	}

	.nav-table tbody tr:nth-child(even) {
	  background-color: #f9f9f9;
	}

	.nav-table tbody tr:hover {
	  background-color: #f1f1f1;
	}
	
	.current-stat{
		display: flex;
		align-items: center; /* vertically align value and label */
	}
	.current-stat-value {
	  font-size: 1.5em;
	  margin-right: 4px; /* space between value and label */
	}

	.current-stat-label {
	  font-size: 1em;
	}
	  
}


.collapsible {
  background-color: #4CAF50;
  color: white;
  padding: 10px 15px;
  border: none;
  cursor: pointer;
  font-size: 1.2em;
  border-radius: 4px;
  width: 40px;
  height: 40px;
  text-align: center;
}

.collapsible-content {
  display: none; /* hidden by default */
  margin-top: 10px;
}

.collapsible.open {
  background-color: #45a049;
}

footer
{
  position: relative;
  bottom: 0;
  width: 100%;
  background: #ecf0f1;
  color: #2c3e50;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 8px;
  text-align: center;
  padding: 12px 20px;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.3);
  z-index: 1000;	
}

main {
    flex: 1; /* pushes footer to the bottom */
}

#planRouteBtn
{
	width:100%;
}

.ride-actions {
    margin-top: 6px;
    text-align: left;
}

.ride-actions button {
    background: none;            /* transparent background */
    color: #555;                 /* soft gray text */
    border: 1px solid #ccc;      /* light border for subtle button shape */
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ride-actions button:hover {
    background-color: #f0f0f0;  /* subtle hover highlight */
    color: #333;                 /* slightly darker text */
    border-color: #bbb;          /* slightly darker border */
}

.ride-actions button:active {
    transform: scale(0.95);      /* gentle click feedback */
}

.ride-actions button:focus {
    outline: none;               /* remove default focus outline */
    box-shadow: 0 0 0 2px rgba(0,0,0,0.1);
}

/*custom prompt*/

/* Overlay */
.custom-prompt-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Dialog box */
.custom-prompt-box {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  width: 300px;
  max-width: 90%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  text-align: center;
}

/* Input */
.custom-prompt-box input {
  width: 100%;
  padding: 8px;
  margin-top: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

/* Buttons */
.custom-prompt-box button {
  margin-top: 15px;
  padding: 8px 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.custom-prompt-box button.confirm {
  background-color: #4CAF50;
  color: white;
}

.custom-prompt-box button.cancel {
  background-color: #f44336;
  color: white;
  margin-left: 10px;
}


.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: #fff;
  overflow: hidden;
}

.modal-content {
  width: 100%;
  height: 100%;
  padding: 10px 20px;
  box-sizing: border-box;
  overflow-y: auto;
}

.close {
  position: absolute;
  top: 10px; right: 20px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
}

/* Map fills the modal */
#map_detail {
  width: 100%;
  height: 100%;
}
canvas { margin-top: 20px; }
#summary { border: 1px solid #ccc; padding: 10px; margin-top: 20px; background: #f9f9f9; }

#assistantModal {
  display: none;
}

#assistantContent {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow-y: auto;                 /* scrollable */
  -webkit-overflow-scrolling: touch; /* smooth touch scroll on iOS */
  touch-action: pan-y;               /* allow vertical scrolling on touch devices */
  padding: 10px;
}

#closeAssistant {
  position: sticky;
  top: 0;
  align-self: flex-end;
  z-index: 10000;
  cursor: pointer;
  border: none;
}

#map_detail {
  width: 100%;
  height: 50vh; /* 50% of viewport height */
  min-height: 250px;
  margin-bottom: 10px;
}

#summary, #elevationChart, #speedChart {
  width: 100%;
  margin-bottom: 10px;
}


#elevationChart, #speedChart {
  height: 30vh;
  min-height: 200px;  
}
.close-btn {
  background-color: #ff6b6b;   /* soft red background */
  border: none;
  border-radius: 50%;          /* round shape */
  color: white;
  font-size: 20px;
  font-weight: bold;
  width: 36px;
  height: 36px;
  line-height: 34px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
  transition: all 0.2s ease-in-out;
}

.close-btn:hover {
  background-color: #e63946;   /* stronger red */
  transform: scale(1.1);       /* subtle pop */
}

#summary {
  margin: 10px 0;
  font-family: Arial, sans-serif;
}

.summary-items {
  display: flex;
  flex-wrap: wrap; /* allow wrapping on smaller screens */
  gap: 10px 20px;  /* spacing between items */
  margin-top: 5px;
}

.summary-items p {
  margin: 0;
  flex: 1 1 150px; /* each item grows, shrinks, min-width ~150px */
  background: #f8f9fa;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.9em;
}

.chat {
  margin: 20px auto;
  padding: 20px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
  font-family: "Segoe UI", Tahoma, sans-serif;
}

.chat h2 {
  margin-bottom: 15px;
  font-size: 1.4rem;
  color: #333;
}

.chat-box {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.chat input[type="text"] {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s;
  width: 100%;
  margin-bottom: 10px;
}

.chat input[type="text"]:focus {
  border-color: #007bff;
  outline: none;
}

.chat button {
  padding: 10px 16px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}

.chat button:hover {
  background: #0056b3;
}

#answer {
  margin-top: 15px;
  padding-left: 12px;
  background: #f9f9f9;
  border-left: 4px solid #007bff;
  border-radius: 6px;
  font-size: 0.95rem;
  text-align: left;
  display: none; /* hidden until answer is shown */
}

#answer ol, ul
{
	padding-left: 24px;
}

.rides-history {
  display: flex;
  flex-wrap: wrap; /* allow wrapping on small screens */
  gap: 1rem; /* spacing between items */
}

.ride-item {
  flex: 1 1 300px; /* grow/shrink, min width 300px */
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f9f9f9;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.ride-info {
  flex: 2;
}

.ride-stats {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  text-align: right;
}

#cyclingComputerBtn
{
	width: 100%;
    margin-bottom: 10px;	
}

.stats-control {
  display: flex;
  flex-direction: row;
  align-items: stretch; /* make columns equal height */
}

.left-col {
  padding: 5px;
  display: flex;
  align-items: center;   /* center text vertically */
  justify-content: center;
  min-width: 80px;       /* adjust width as needed */
}

.right-col {
  display: flex;
  flex-direction: column; /* stack Speed/Distance/ETA */
  justify-content: space-between;
  padding-left: 10px;
}

.gauge {
  width: 100px;               /* bigger size */
  height: 100px;
  position: relative;
  flex: 1 1 100px;            /* responsive flex-basis */
  min-width: 90px;
}

.gauge svg { width: 100%; height: 100%; transform: rotate(-135deg); }
#compassSvg
{
	transform: rotate(0deg);
}
.gauge .needle { stroke: red; stroke-width: 4; transition: transform 0.2s ease; }
.gauge .marker { stroke: white; stroke-width: 2; }
.gauge .label { position: absolute; width: 100%; text-align: center; top: 80%; font-size: 18px; color:white;}

@media(max-width: 600px){
  .gauge { width: 80px; height: 80px; }
  .gauge .label { font-size: 18px; top: 78%; }
}
.gauge .label { font-size: 18px; top: 78%; }

/* Safe / On-course */
.confidence-green {
  background-color: rgba(76, 175, 80, 0.7); /* green with 70% opacity */
  color: white;
  font-weight: bold;
  padding: 6px 12px;
  border-radius: 6px;
  text-align: center;
}

/* Almost off-course - soft yellow pulse */
.confidence-yellow {
  background-color: rgba(255, 235, 59, 0.7); /* yellow */
  color: black; /* readable */
  font-weight: bold;
  padding: 6px 12px;
  border-radius: 6px;
  text-align: center;

  animation: pulse-yellow 2s infinite;
}

/* Off-course - strong red pulse */
.confidence-red {
  background-color: rgba(244, 67, 54, 0.6);
  color: white;
  font-weight: bold;
  padding: 6px 12px;
  border-radius: 6px;
  text-align: center;

  animation: pulse-red 1.5s infinite;
}

/* Keyframes for yellow pulse (soft) */
@keyframes pulse-yellow {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 235, 59, 0.6);
    transform: scale(1);
  }
  25% {
    box-shadow: 0 0 12px 6px rgba(255, 235, 59, 0);
    transform: scale(1.03);
  }
  50% {
    box-shadow: 0 0 12px 6px rgba(255, 235, 59, 0);
    transform: scale(1.09);
  }
  75% {
    box-shadow: 0 0 12px 6px rgba(255, 235, 59, 0);
    transform: scale(1.03);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 235, 59, 0);
    transform: scale(1);
  }
}

/* Keyframes for red pulse (strong) */
@keyframes pulse-red {
  0% {
    box-shadow: 0 0 0 0 rgba(244, 67, 54, 0.9);
    transform: scale(1);
  }
  25% {
    box-shadow: 0 0 20px 10px rgba(244, 67, 54, 0);
    transform: scale(1.05);
  }
  50% {
    box-shadow: 0 0 20px 10px rgba(244, 67, 54, 0);
    transform: scale(1.15);
  }
  75% {
    box-shadow: 0 0 20px 10px rgba(244, 67, 54, 0);
    transform: scale(1.05);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(244, 67, 54, 0);
    transform: scale(1);
  }
}


.nav-distance {
  display: flex;
  align-items: center;
  justify-content: space-between; /* space between text & image */
  position: relative;
}

.nav-icon {
  width: 32px;
  height: auto;
  margin-left: 8px;
}

.collapsible-container {
  text-align: right;       /* align button to right */
  margin-top: 4px;         /* small gap below image */
}

.nav-instruction-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.collapsible {
  background: #007bff;
  color: white;
  border: none;
  padding: 5px 10px;
  margin-left: 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

#toggleNavBtn
{
	display: none;
}