.app {
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
  background-color: #f5f5f5;
  color: #333;
}

.app-header {
  background-color: #1a1a2e;
  color: white;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.app-header h1 {
  margin: 0;
  font-size: 1.8rem;
}

.app-content {
  flex: 1;
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto minmax(0, 1fr); /* Connectors auto, logs take remaining space */
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  overflow: hidden;
}

.connectors-section h2 {
  margin-top: 0;
  color: #1a1a2e;
  border-bottom: 2px solid #e6e6e6;
  padding-bottom: 0.5rem;
}

.connectors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.connectors-placeholder {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  background-color: #e9ecef;
  border-radius: 8px;
  text-align: center;
  color: #495057;
  font-size: 1.1rem;
  min-height: 150px; /* Give it some body */
}

  .logs-section {
  grid-row: 2; 
  height: 100%; 
  min-height: 300px; 
  display: flex;
  flex-direction: column;
  overflow: hidden; 
  }

.app-footer {
  background-color: #1a1a2e;
  color: white;
  text-align: center;
  padding: 1rem;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .app-header {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }
  
  .app-header h1 {
    margin-bottom: 1rem;
  }
  
  .app-content {
    padding: 1rem;
    gap: 1rem;
    grid-template-rows: auto auto; /* Stack connectors/placeholder and logs */
  }

  .connectors-placeholder {
    min-height: 100px;
    font-size: 1rem;
  }
  
  .logs-section {
    height: 400px;
    min-height: 300px;
  }
}