html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: #fafafa;
}

section {
  flex: 1;          
  display: flex;
  flex-direction: column;
}

.main {
  display: flex;
  flex-direction: row;
  min-height: 100vh;
}

.navbar {
  background-color: #f8f9fa !important;
}

.navbar-brand {
  margin: 0 !important;
}

.app-name-container {
  justify-content: center !important;
}

.app-name {
  font-weight: bold;
}

.content-container {
  flex: 1;
  display: flex;
  gap: 0.5rem;     
}

.input-container {
  flex: 1;           
}

.input {
  display: flex;
  flex-direction: column;
  flex: 1;
  background-color: #ffffff;
  border-radius: 10px;
  padding: 1rem;
}

.input-mode {
  width: 100%;
}

.input-text {
  flex: 1;           
  background-color: #f8f8f8;
  border: 1px solid #ccc;
  border-radius: 6px;
  resize: none;
  padding: 0.5rem;
}

.visuialize-button-container {
  display: flex;
  justify-content: center;
  margin-top: 0.5rem;
}

.canvas-container {
  flex: 2;           
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
}

.dashboard {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 0.5em;
  background-color: #fafafa;
  border-radius: 10px;
}

.search-elements-container {
  justify-content: left;
  padding: 0 !important;
}

.download-btn-container {
  justify-content: right;
  padding: 0 !important;
}

#search-input {
  padding: 5px;
  border: solid;
  border-width: 0.5px;
  border-radius: 5px;
  margin-right: 0.3em;
}

canvas {
  width: 100%;
  height: 100%;
  background-color: #FFFFFF;
  border-radius: 10px;
}

.glass {
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);            
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  color: #fff !important;
}

.btn-primary:hover,
.btn-primary:focus {
  color: #fff !important;
}


@media(max-width: 500px) {
   .content-container {
    flex-direction: column !important;
   }
   canvas {
    height: 100%;
    flex: 2;
   }
   .dashboard {
    flex-direction: column;
   }
   .download-btn-container {
  justify-content: left;
  /* padding: 0 !important; */
  padding-top: 5px;
}
}
