:root {
    --color-primary: #16CCBC;
    --color-light: #F8F4F4;
    --color-darker: #d6d4d3;
    --color-gray: #737373;
}

html, body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background: var(--color-darker);
  min-height: 100vh;
}


.file-icon {
    width: 28px;
    height: 28px;
    margin-right: 1em;
    flex-shrink: 0;
}

.file-list li {
    margin-bottom: 0.5em;
    list-style: none;
}
@font-face {
  font-family: 'Rubik';
  src: url('../fonts/Rubik-VariableFont_wght.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
body {
    font-family: 'Rubik', Arial, sans-serif;
    font-weight: 400;
    color: var(--color-gray);
}
h1, h2, h3, h4, h5, h6, strong, b {
    font-family: 'Rubik', Arial, sans-serif;
    font-weight: 600;
}

p, li, a, span, label, input, button {
    font-family: 'Rubik', Arial, sans-serif;
    font-weight: 400;
}
h2 {color: var(--color-primary);}
h1 {color: var(--color-gray);    font-weight: 500;}

h2 span {
    font-family: 'Rubik', Arial, sans-serif;
    font-weight: 500;
}

.login-flex {
  display: flex;
  align-items: center; /* vertical alignment */
  justify-content: flex-start; /* horizontal alignment, use flex-start for left align */
  gap: 0.2em;
}

.card-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 700px) {
    .card-list {
        grid-template-columns: 1fr 1fr;
    }
}
.card-list article {
    background: var(--color-light);
    border-radius: 1em;
    box-shadow: 0 2px 8px rgba(1,114,173,0.05);
    padding: 2em 1.5em 1.5em 1.5em;
    display: flex;
    flex-direction: column;
    min-width: 0;
    transition: background 0.2s;
}
.card-list h2 {
    margin-top: 0;
    margin-bottom: 0.5em;
}
.card-list p {
    margin-bottom: 1em;
}
.card-list ul.file-list {
    margin: 0;
    padding: 0;
}
.file-button {
    display: flex;
    align-items: center;
    background: var(--color-light);
    border: 1px solid var(--color-darker);
    border-radius: 0.5em;
    padding: 0.6em 1em;
    margin-bottom: 0.7em;
    transition: background 0.2s, box-shadow 0.2s, color 0.2s;
    cursor: pointer;
    text-decoration: none;
    color: var(--color-gray);
    font-weight: 400;
    box-shadow: 0 0 0 rgba(0,0,0,0);
    max-width: 380px;
}
.file-button:hover, .file-button:focus {
    background: var(--color-darker);
    box-shadow: 0 2px 8px rgba(1,114,173,0.10);
    text-decoration: none;
}
.unactive-file {
    display: flex;
    align-items: center;
    background: var(--color-light);
    border: 1px dashed var(--color-darker);
    border-radius: 0.5em;
    padding: 0.6em 1em;
    margin-bottom: 0.7em;
    max-width: 380px;
    color: #888;
    opacity: 0.6;
    cursor: not-allowed;
}
a {
    text-decoration: none;
    color: var(--color-primary);
}
.input-light {
  background: #fff !important;
  color: #222 !important;
  border: 1px solid #d6d4d3 !important;
  box-shadow: none !important;
}
.input-light::placeholder {
  color: #888 !important;
  opacity: 1;
}

.flex-header {
    display: flex;
    align-items: flex-start;  /* Align items to the top */
    justify-content: space-between;
}

.flex-header hgroup {
    margin: 0;
}

.welcome-block {
    text-align: right;
}

.welcome-block h1 {
    margin-bottom: 0.2em; /* Reduce bottom margin */
}

.welcome-block p {
    margin-top: 0.1em;   /* Reduce top margin */
}

.input-light {
    background: #fff !important;
    color: #222 !important;
    border: 1px solid #d6d4d3 !important;
    box-shadow: none !important;
  }
  .input-light::placeholder {
    color: #888 !important;
    opacity: 1;
  }