/* Minimalistisches Schwarz-Weiß-Zeitungsstil UI */

body {
    margin: 0;
    padding: 0;
    font-family: 'Georgia', serif;
    background: #ffffff;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
  }
  
  .container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: #ffffff;
    padding: 2rem;
    border: 0.4px solid #0000003b;
    max-width: 420px;
    width: 90%;
    box-sizing: border-box;
    margin: 5vh auto;
    overflow-y: auto;
    max-height: 90vh;
    border-radius: 3px;
    scrollbar-width: none;
    scrollbar-color: #ccc #ffffff;
    height: 100px;
    max-height: 90vh;
    transition: all 0.2s cubic-bezier(0.075, 0.82, 0.165, 1);
  }

  div#main {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    flex-direction: row;
}

  /* on mobile devices, make max-height little bit smaller, because of the keyboard and url bar */
  @media (max-width: 600px) {
    .container {
        align-self: flex-start;
        max-height: none;
        overflow-y: none;
        border: 0px solid #0000003b;
        margin: 0px;
        height: 100% !important;
        padding: 1rem;
        padding-top: 1.5rem;
    }


  }

  #authWrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  h1 {
    font-size: 1.6rem;
    margin: 0 0 1rem;
    text-transform: uppercase;
    border-bottom: 1px solid black;
    padding-bottom: 0.5rem;
  }
  
  input, button, textarea, select {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    border: 0.5px solid #0000009d;
    background: #ffffff;
    color: #000000;
    box-sizing: border-box;
    border-radius: 3px;
    font-family: 'Georgia', serif;
  }

  input[type="color"] {
    padding: 0px;
    height: 40px;
  }
  
  input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #000;
  }
  
  button {
    background: #000000;
    color: #ffffff;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.2s;
  }
  
  button:hover {
    background: #333333;
  }

  #stopBtn {
    background: #e53935;
}
  
  #result, #entries, #loginMessage, #labelPreview {
    font-size: 0.95rem;
    color: #000000;
    word-break: break-word;
  }
  
  #entries div {
    border-radius: 10px;
    padding: 0.6rem;
    border: 0.5px solid #00000022;
    margin-bottom: 0.1rem;
    background: #ffffff;
}
  
  nav {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
  }
  
  nav button {
    border: 1px solid #000;
    background: transparent;
    color: #000;
    padding: 0.5rem 1rem;
    
    text-transform: uppercase;
    font-family: 'Georgia', serif;
    transition: background 0.2s, color 0.2s;
  }

  /* nav and nav button in mobile view smaller */
  @media (max-width: 600px) {
    nav {
        margin-top: 0px;
        gap: 0.3rem;
      }
      
      nav button {
        border: 1px solid #00000055;
        background: transparent;
        color: #000;
        padding: 0.5rem 1rem;
        padding-top: 2px;
        padding-bottom: 2px;
        text-transform: uppercase;
        font-family: 'Georgia', serif;
        transition: background 0.2s, color 0.2s;
      }
    
  }
  
  nav button:hover {
    background: #000;
    color: #fff;
  }
  
  .checkbox-wrapper .checkmark {
    border: 1px solid #000;
    background-color: #fff;
  }
  
  .checkbox-wrapper input:checked + .checkmark {
    background-color: #000;
  }
  
  .checkmark::after {
    border-color: white;
  }
  
  .spinner, .loader-spinner {
    border-color: #000000;
    border-top-color: transparent;
  }

  .spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 8px;
    vertical-align: middle;
}

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

    100% {
        transform: rotate(360deg);
    }
}
  
  blockquote {
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    padding: 1rem;
    font-style: italic;
    text-align: center;
    margin-top: 2rem;
  }
  