

.active, .collapsible:hover {
        padding: 0;
}

.content {
    width: 550px;
    padding: 0 px;
    display: none;
    overflow: hidden;
}
.password_field {
    font-size:20pt;
    border:none;
    background-color: #ecf0f1;

}
.button {

    color: var(--clr-text);
    font-family: Arial, Helvetica, sans-serif;
}

/* ------------------------------------------------------------------
   Meter - dark-mode look
   ------------------------------------------------------------------ */
#meter {
  display: flex;
  gap: 4px;                           /* doubled spacing between bars   */
  padding: 8px;                       /* doubled padding inside container */
  align-items: center;

  /* Card-style background + border - same as before */
  background: var(--bg-card);
  border: 1px solid var(--clr-border);
  border-radius: 4px;
  max-width: 420px;                   /* doubled max-width */
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
}

/* ------------------------------------------------------------------
   Bar - light-dark contrast
   ------------------------------------------------------------------ */
#meter div {
  width: 36px;                        /* doubled width   */
  height: 36px;                       /* doubled height  */
  flex-shrink: 0;

  /* Base colour (dark grey) - can be overridden via --bg */
  background: var(--bg, #4a5b6c);

  border-radius: 3px;
  box-shadow: 0 1px 2px rgba(0,0,0,.15);
  transition: background .25s ease, transform .2s ease;
  cursor: pointer;
}

/* Hover lift (still subtle on dark background) */
#meter div:hover {
  transform: translateY(-4px);
}

/* ------------------------------------------------------------------
   Rating colour tiers - same vibrant colours
   ------------------------------------------------------------------ */
#meter div.rating-1,
#meter div.rating-2  { --bg: #e74c3c; }   /* red - poor */
#meter div.rating-3,
#meter div.rating-4  { --bg: #e67e22; }   /* orange - fair */
#meter div.rating-5,
#meter div.rating-6  { --bg: #f1c40f; }   /* yellow - average */
#meter div.rating-7,
#meter div.rating-8  { --bg: #2ecc71; }   /* greenyellow - good */
#meter div.rating-9,
#meter div.rating-10{ --bg: #27ae60; }   /* green - excellent */

/* ------------------------------------------------------------------
   Optional - if you want to add a “selected” state
   ------------------------------------------------------------------ */
#meter div.selected {
  box-shadow: 0 0 0 2px var(--clr-accent);
}

/*  Standard Matt-Cloud CSS  */

/* -------------------------------------------------
   1. Global settings & color palette
   ------------------------------------------------- */
:root {
    /* Dark theme - body & card backgrounds */
    --bg-body:     #2c3e50;   /* main page background */
    --bg-card:     #34495e;   /* card / panel background */
    --bg-sidebar:  #3d566e;   /* sidebar background (slightly lighter) */
    /* Accent / link colour */
    --clr-accent:  #3498db;   /* blue accent for links */
    /* Text colour */
    --clr-text:    #ecf0f1;   /* light whiteish text */
    /* Borders / accents */
    --clr-border:  #1f2b38;   /* dark border colour */
}

* { box-sizing: border-box; }

/* Body */
body {
    margin: 0;
    padding: 0;
    background: var(--bg-body);
    color: var(--clr-text);
    font-family: Arial, Helvetica, sans-serif;
}

/* Links */
a { color: var(--clr-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* -------------------------------------------------
   2. Layout - wrapper, sidebar, main
   ------------------------------------------------- */
.wrapper { display: flex; min-height: 100vh; }
.main { flex: 1; padding: 1rem; }

/* -------------------------------------------------
   3. Card components
   ------------------------------------------------- */
.card {
    max-width: 550px;
    margin: 20px auto 1rem auto;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--clr-border);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,.3);
}

.collapsible {
    max-width: 550px;
    margin: 20px auto 1rem auto;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--clr-border);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,.3);
    text-align: left;
    outline: none;
}

.active, .collapsible:hover {
    padding: 20px;
}

.content {
    max-width: 550px;
    margin: 20px auto 1rem auto;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--clr-border);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,.3);
    display: none;
    overflow: hidden;
}
/* -------------------------------------------------
   4. Tables
   ------------------------------------------------- */
table, th, td {
    border: 2px solid var(--clr-border);
    border-collapse: collapse;
}
th, td { padding: 10px; }

/* Alternate row colour for metrics table */
#host_metrics_table tbody tr td:nth-of-type(even) {
    background: #3e5c78;   /* slight contrast */
}

/* -------------------------------------------------
   5. Lists & headings
   ------------------------------------------------- */
h1, h2, h3, h4 { color: var(--clr-text); margin: 0 0 .4rem 0; }
ul { list-style: none; padding: 0; }
ol { list-style: none; padding: 0; }
li { margin-bottom: 10px; color: var(--clr-text); }

/* -------------------------------------------------
   6. Components grid
   ------------------------------------------------- */
.components {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}
.component {
    padding: 10px;
    border: 1px solid var(--clr-border);
    border-radius: 4px;
}
.component h3 { margin: 0 0 5px; }

/* -------------------------------------------------
   7. Help toggle / modal
   ------------------------------------------------- */
.help-link {
    cursor: pointer;
    user-select: none;
    color: var(--clr-accent);
    text-align: right;
}
.help-link:hover { text-decoration: underline; }
#helpText { display: none; }

/* -------------------------------------------------
   8. Misc helpers
   ------------------------------------------------- */
/* Hide numeric markers in metric columns (if any) */
#host_metrics_column td { list-style: none; padding-left: 0; margin-left: 0; }