/* General HTML & Body Styles */
html {
  background-color: #241917;
  color: #f3bbae;
  font-size: 14px;
}

html {
  overflow-x: hidden;
}

body {
  font-family: Liberation Mono, Courier New, monospace, serif;
  font-size: 1rem;
  line-height: 1.5rem;
  margin: auto;
  margin-bottom: 10rem;
  margin-top: 0;
  max-width: 700px;
  word-wrap: break-word;
}

/* Table Styles */
table {
  background-color: #342a27;
  border-collapse: collapse;
  color: #f3bbae;
  font-size: 0.95rem;
  overflow: hidden;
  width: 100%;
}

th,
td {
  padding: 5px 5px;
  text-align: left;
}

th {
  background-color: #9a756c;
  color: #241917;
}

tr:nth-child(even) {
  background-color: #3c2a26;
}

tr:hover {
  background-color: #503b30;
  cursor: pointer;
}

ul {
  margin-top: 0;
}

/* Header Styles */
h3,
h2,
h1 {
  color: #f1c9c0;
  background-color: #56423d;
  padding: 0.25rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  margin: 0;
  margin-bottom: 0.55rem;
  text-align: center;
  border-bottom: 2px solid #f1c9c0;
}

.table-header {
  text-align: center;
}

.pricing-header {
  margin-bottom: 0;
}

/* Paragraph Styles */
p {
  margin-bottom: 13px;
  margin-top: 0;
}

/* Global Reset */
* {
  box-sizing: border-box;
  text-rendering: geometricPrecision;
}

/* Links and Buttons */
a {
  color: inherit !important;
  cursor: pointer;
  text-decoration: none;
}

a[itemprop="url"]:hover {
  color: #fff;
}

button {
  background-color: transparent;
  border: none;
  color: inherit !important;
  display: inline-block;
  text-decoration: underline;
}

/* Navigation Links */
.nav-links {
  display: flex;
  flex-direction: row;
  font-size: 0.9rem;
  justify-content: space-between;
}

.left {
  display: flex;
  flex-direction: row;
  gap: 0;
}

/* Active and Inactive States */
.active,
.inactive {
  display: inline-block;
  font-size: inherit !important;
  padding: 0.85rem;
  padding-bottom: 0.55rem;
}

.active {
  background-color: #f3bbae;
  color: #241917 !important;
}

.inactive:hover {
  background-color: #503b30;
}

/* Right Section Layout */
.right {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  padding: 0.75rem;
}

/* Feed Icon */
.feed-icon::after {
  content: none !important;
}

/* Social Icon */
.social-icon {
  display: block;
  height: 1.5em;
  margin-bottom: 0.25em;
  padding: 0.1em;
  width: auto;
}

/* Icon Styles */
.icon {
  margin-bottom: -3px;
}

/* User Actions Container */
.user-actions-container {
  align-items: center;
  display: flex;
  flex-grow: 1;
  gap: 15px;
  margin-left: 15px;
  margin-right: 15px;
  max-width: 100%;
  position: relative;
}

/* Main */
main {
  animation: intro 0.3s both;
  animation-delay: 0.15s;
  margin-top: 3rem;
}

/* Footer */
footer {
  color: #fff;
  font-size: 0.75rem;
  margin-top: 4rem;
}

/* Section */
section {
  align-items: start;
  border-color: #9a756c;
  border-style: solid;
  border-width: 2px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  justify-content: start;
  padding: 1rem;
}

.grid {
  align-items: start;
  display: flex;
  flex-direction: row;
  gap: 1rem;
  justify-content: center;
}

.grid div {
  width: 100%;
}

/* Console */

.console {
  display: grid;
  font-weight: 600;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 2rem repeat(3, 1fr);
  gap: 0;
}

.console i {
  font-size: 0.9rem;
}

.console p {
  grid-column: span 2;
}

.console-left,
.console-right {
  color: #f1c9c0;
  background-color: #56423d;
  padding: 0.25rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  border-bottom: 2px solid #f1c9c0;
  height: 100%;
  max-height: 3.5rem;
  margin-bottom: 1rem;
}

.console-right button,
.console-right .alert {
  background-color: #f3bbae;
  color: #241917 !important;
  cursor: pointer;
  display: inline-block;
  font-size: inherit !important;
  padding: 0.5rem 1rem 0.5rem 1rem;
  text-decoration: none;
  font-size: 0.9rem !important;
  font-weight: 600;
  text-wrap: nowrap;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.console-right button:hover {
  background-color: #9a756c;
}

.console-right .alert {
  background-color: #ff3e1c;
  color: #ffe3dd !important;
}

.console-right {
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 1rem;
}

.console-resources {
  display: flex;
  flex-direction: column;
}

.console-resources div {
  display: flex;
  justify-content: space-between;
}

.progress {
  border-color: #9a756c;
  border-style: solid;
  border-width: 1px;
  height: 8px;
}

.progress .bar {
  background-color: #f3bbae;
  height: 100%;
}

.console-log {
  grid-column: span 2;
}

.console-log summary {
  cursor: pointer;
}

details div {
  max-height: 100px !important;
  overflow: scroll;
}

.console-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
}

.console-right {
  text-align: end;
}

.console-left {
  text-align: start;
  font-size: large;
}

.console-uname {
  grid-row: span 3;
}

.console-uname li:before {
  content: "- ";
  display: inline-block;
  margin: 0 0 0 -15px;
  width: 10px;
}

.console-uname ul {
  font-size: 0.85rem;
  list-style-type: none;
  padding-left: 2rem;
}

.console-select .select-container {
  width: 100%;
}

.select-container tr:hover {
  background-color: #503b30;
  cursor: text;
}

tr a::after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="%23f3bbae" d="M352 0c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9L370.7 96 201.4 265.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L416 141.3l41.4 41.4c9.2 9.2 22.9 11.9 34.9 6.9s19.8-16.6 19.8-29.6l0-128c0-17.7-14.3-32-32-32L352 0zM80 32C35.8 32 0 67.8 0 112L0 432c0 44.2 35.8 80 80 80l320 0c44.2 0 80-35.8 80-80l0-112c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 112c0 8.8-7.2 16-16 16L80 448c-8.8 0-16-7.2-16-16l0-320c0-8.8 7.2-16 16-16l112 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L80 32z"/></svg>') no-repeat center center;
  background-size: contain;
  margin-left: 0.5rem;
  vertical-align: middle;
}

.loader {
  display: none;
  border: 4px solid transparent;
  border-top: 4px solid #241917;
  border-radius: 50%;
  width: 1.1rem;
  height: 1.1rem;
  animation: spin 1s linear infinite;
  margin-left: 1.3rem;
  margin-right: 1.3rem;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.loading {
  background-color: #ccc;
  pointer-events: none;
}