import { css } from 'lit';

export default css`
#app {
  display: grid;
  grid-template:
    "nav content" 100vh / minmax(360px, 2fr) 10fr;
}

.nav {
  grid-area: nav;
  padding: 12px;
}

main {
  grid-area: content; 
  background-color: var(--md-sys-color-surface);
  border-radius: var(--md-sys-shape-corner-medium);
  color: var(--md-sys-color-on-primary-container);

  overflow: hidden;
  display: flex;
}

main .content {
  padding: 12px;
  position: relative;
  z-index: 0;
  border-radius: inherit;

  flex: 1;
  display: flex;
  flex-direction: column;

  overflow: hidden;
}

split-view {
  flex: 1;
  overflow: hidden;
}

/* main .content::before {
  content: '';
  background-color: var(--md-sys-color-primary);
  opacity: .05;
  position: absolute;
  inset: 0;
  border-radius: inherit;
} */

/* main .content > * {
  position: relative;
  z-index: 1;
} */

.request-container,
.environment-editor-content,
.project-runner-content {
  border-radius: 0 0 12px 12px;
  overflow: hidden;
  padding: 12px;
  display: flex;
}

.scrollable {
  overflow: auto;
  flex: 1 1 0%;
}

.response-wrapper {
  margin-top: 20px;
  border-radius: 12px;
}

.response-wrapper http-project-request-history {
  padding: 8px;
  box-sizing: border-box;
}

.empty-layout {
  border-radius: 12px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

contextual-menu {
  min-width: 240px;
}
`;
