:root {
  color-scheme: only light;
}

body,
html {
  padding: 0;
  margin: 0;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  min-height: 100vh;
}

.rows,
.cols {
  display: flex;
}
.rows:not(.nogap),
.cols:not(.nogap) {
  gap: 1em;
}
.rows.nowrap,
.cols.nowrap {
  flex-wrap: nowrap;
}
.rows:not(.nowrap),
.cols:not(.nowrap) {
  flex-wrap: wrap;
}

.cols {
  flex-direction: row;
}

.rows {
  flex-direction: column;
}

#values-yml-inputs {
  flex: 0 1 240px;
}

#values-yml-outputs {
  flex: 0 1 400px;
  min-height: 300px;
}

#custom-vless {
  max-width: 400px;
}

input {
  display: block;
  margin-bottom: 1ex;
  width: 100%;
}

textarea {
  display: block;
  width: 100%;
  resize: none;
}

input,
textarea {
  border: 1px solid black;
  padding: 5px;
  border-radius: 5px;
  flex-grow: 1;
}

#values-yml-inputs > div {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  width: 100%;
}

label::after {
  content: ":";
}

h1 {
  margin-top: 0;
}

#title {
  font-size: 2em;
  font-weight: bold;
}

header,
footer,
main {
  padding: 12px;
}

main {
  flex-grow: 1;
}

footer {
  text-align: end;
}

table {
  border-collapse: collapse;
}

td,
th {
  padding: 5px;
}
