
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  background-color: #f9f9f9;
}

.company-autocomplete {
  position: relative;
  min-width: 60%;
  max-width: 95%;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #ccc;
  max-height: 200px;
  overflow-y: auto;
  z-index: 1000;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dropdown li {
  padding: 8px 10px;
  cursor: pointer;
}

.dropdown li:hover {
  background: #f2f2f2;
}

.hidden {
  display: none;
}

.page-wrapper {
  height: 100vh; 
  display: flex;
  flex-direction: column;
}

.page-content {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
}


.page-header {
  display: flex;
  font-size: 32px;
  font-weight: bold;
  border-bottom: 3px solid #333;
  align-items: center;
  gap: .5rem;
}

.company-page-wrapper {
  display: flex;
  height: 100%; /* or 100% if parent already constrained */
  overflow: hidden;
  justify-content: center;
}

.react-holder {
  flex-shrink: 0; /* stays fixed */
  border-bottom: 2px solid #dedede;
  z-index: 100;
  padding: .5rem;
  max-height: 100%;
  width: 100%;
}

#root {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}
