@import "globals.css";

html {
  overflow: hidden;
}

/* Login box */
.login-container {
  display: flex;
  flex-direction: column;
  width: 20vw;
  border: 2px solid var(--primary-color);
  padding: 10px 20px 20px 20px;
  background: var(--container-color);
  box-shadow: 0 0 20px var(--primary-color);
  text-align: center;
  position: relative;
  z-index: 1;

  &::before {
    content: "SINGULO SYSTEMS SECURE NODE v1.0.0";
    font-size: 0.5rem;
    color: var(--secondary-text-color);
    margin-bottom: 10px;
    text-align: left;
  }

  .title {
    font-size: 1.25rem;
    margin-bottom: 10px;
    text-transform: uppercase;
  }

  .btn-login {
    padding: 10px 20px;
    color: var(--primary-text-color);
    background: transparent;
    border: 2px solid var(--primary-color);
    text-decoration: none;
    font-size: 1rem;
    transition: background 0.3s, color 0.3s;
    width: fit-content;
    align-self: center;
    margin-top: 20px;

    &:hover {
      background: var(--primary-color);
      color: #000;
    }
  }
  #help-container {
    #info-icon {
      width: 1.5vmax;
      filter: brightness(0) saturate(100%) invert(86%) sepia(56%) saturate(7495%) hue-rotate(103deg) brightness(103%) contrast(104%) opacity(50%);
      position: absolute;
      bottom: 20px;
      right: 20px;
      cursor: help;
    }

    #tooltip {
      display: none;
      position: absolute;
      transform: translateX(125%) translateY(20%);
      background-color: var(--container-color);
      padding: 10px;
      border-radius: 4px;
      font-size: 0.75rem;
      z-index: 1;
    }
  }
}

.field {
  margin: 15px 0;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.field label {
  display: block;
  font-size: 0.75rem;
  margin-bottom: 5px;
}

.field input {
  padding: 8px;
  border: 1px solid var(--primary-color);
  background: var(--input-background-color);
  color: var(--primary-text-color);
  font-size: 0.75rem;
  outline: none;
}
