.logo_header {
  min-height: 150px;  /* Minimum height, can grow */
  height: auto;  /* Scales based on content */
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  width: 100%;
  padding: 0 30px;
  background: #f5f5f5;
  box-shadow: 0px 10px 13px -7px #000000;
  box-sizing: border-box;
}

.header_logo {
  flex: 0 0 auto;
}

.header_logo img {
  max-height: 100px;
  max-width: 240px;
  width: auto;
}

.header_title {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
}

.header_title h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header_analysis_logo {
  height: 150px;
  width: auto;
}

.links_header {
  flex: 0 0 auto;
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  white-space: nowrap;
}

.links_header a {
  color: grey;
  text-decoration: none;
}

.links_header a:hover {
  color: darkred;
}

.file-drop-zone {
  display: flex;
  min-height: 150px;
  width: 100%;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 2px dashed #8aa4c4;
  border-radius: 8px;
  background: #f8fbff;
  color: #1f2937;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.file-drop-zone:hover,
.file-drop-zone:focus-within,
.file-drop-zone.is-dragging {
  border-color: #0d6efd;
  background: #eef6ff;
  box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.12);
}

.file-drop-zone-title {
  font-size: 18px;
  font-weight: 700;
}

.file-drop-zone-text {
  color: #64748b;
  font-size: 14px;
}

.file-summary {
  margin-top: 10px;
  color: #475569;
  font-size: 14px;
  line-height: 1.4;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .logo_header {
    min-height: 80px;
    flex-direction: column;
    flex-wrap: wrap;
    padding: 15px;
    gap: 10px;
  }

  .header_title h1 {
    font-size: 18px;
  }

  .links_header {
    justify-content: center;
  }

.header_analysis_logo {
  height: 80px;
  width: auto;
}


/* Hide sidebar on tablet and phone screens */
  .sidebar {
    display: none;  /* Hide sidebar on tablets and phones */
  }

  /* Or alternatively, make it full-width above content */
  body {
    flex-direction: column;
  }

  main {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .sidebar {
    display: none;
  }

  .header_logo {
    display: none;
  }
}




/* Rest of your CSS remains the same */
#flex-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 500px;
    border: 1px black solid;
    margin: 0 auto;
}

.flex-item {
    width: 100px;
    height: 200px;
    border: 1px black solid;
    background: #369;
}
