/***************************************************************************
 *   Extension:   Net Commander                                            *
 *   Author:      elelabdev                                                *
 *   Description: Net Commander supercharges Visual Studio Code for        *
 *                Network Engineers, DevOps Engineers and                  *
 *                Solution Architects streamlining everyday workflows and  * 
 *                accelerating data-driven root-cause analysis.            * 
 *                professionals and Architects right inside VS Code.       *
 *   Github:      https://github.com/elelabdev/net-commander               *
 *                                                                         *
 *   Icon Author: elelab                                                   *
 *                                                                         *
 *   Copyright (C) 2025 elelab                                             *
 *   https://www.elelab.dev                                                *
 *                                                                         *
 *   Licensed under the MIT License. See LICENSE file in the project       *
 *   root for details.                                                     *
 **************************************************************************/

/*  media/common/css/style.css */

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

.layout {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  height: 100vh;
}


.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem;
  gap: 0.5rem;
}

.top-bar h1 {
  margin: 0;
  font-size: 1.4rem;
  color: var(--vscode-sideBar-foreground);
}

.header {
  composes: flex-row section-padding;
}

.middle {
  grid-row: 3;
  composes: section-padding scrollable-y;
}

.section {
  background: var(--vscode-editorWidget-background);
  border: 1px solid var(--vscode-editorWidget-border);
  padding: 0.5rem;
  border-radius: 3px;
}

.flex-row {
  display: flex;
  gap: 1rem;
}

.section-padding {
  padding: 1rem;
}

.scrollable-y {
  overflow-y: auto;
}

vscode-form-group#calc-commands {
  display: block;
  margin: 15px 0px;
  --label-width: 0;
}


.info-block-left {
  flex-basis: 30%;
}


.info-block-right {
  flex-basis: 70%;
}

.info-block-left input,
.info-block-left select,
.info-block-left textarea {
  width: 100%;
  margin-bottom: 0.5rem;
}

.info-block-right table {
  width: 100%;
  border-collapse: collapse;
}

.info-block-right th,
.info-block-right td {
  border: 1px solid var(--vscode-editorWidget-border);
  padding: 0.3rem 0.5rem;
}