.card {
  margin: 8px;
  padding: 16px;
  background: #1e1e1e;
  color: white;
  border-radius: 4px;
}

.connection-tester__controls {
  .connection-tester__control-buttons {
    display: grid;
  }

  .connection-tester__room-info-container {
    display: grid;

    .connection-tester__room-input-container {
      display: flex;
      flex-direction: row;
      border: 1px solid hsla(0, 0%, 100%, .3);
      border-radius: 4px;
      overflow: hidden;
      margin-bottom: 8px;

      .connection-tester__room-type-select {
        background: var(--zocks-grey-3);
        color: white;
        color: hsla(0, 0%, 100%, .87);
        padding: 16px;
        border: 0;
        border-left: 1px solid hsla(0, 0%, 100%, .3);
      }
    }
  }

  .token-radio-buttons {
    display: flex;
    flex-direction: column;

    input[type="radio"] {
      accent-color: var(--zocks-purple-5);
    }

    margin-bottom: 4px;
  }

  .connection-tester__token-input-container {
    display: flex;
  }

  .connection-tester__token-button {
    margin-left: 8px;
  }

  .connection-tester__token-input {
    border: 1px solid hsla(0, 0%, 100%, .3);
    border-radius: 4px;
    display: flex;
    overflow: hidden;
    flex: 1;
  }

  input {
    flex: 1;
    background: var(--zocks-grey-3);
    color: white;
    border: 0;
    color: hsla(0, 0%, 100%, .87);
    padding: 1rem;
  }

  button {
    margin: 8px 0;
    text-transform: uppercase;
    background: var(--zocks-purple-5);
    border-radius: 0.125rem;
    padding: 16px 24px;
    border: none;
    color: white;

    &:hover {
      cursor: pointer;
      background: var(--zocks-purple-4);
    }

    &:active {
      cursor: pointer;
      background: var(--zocks-purple-2);
    }

    &:disabled {
      cursor: pointer;
      background: var(--zocks-grey-3);
    }
  }
}

.connection-tester__errors {
  color: var(--zocks-error-medium);
}

.connection-tester__export-results-button {
  i {
    font-size: 16px;
  }

  .icon-error {
    color: var(--zocks-error-medium);
  }
}

.connection-tester__result-container {
  .log-message {
    font-size: 0.9rem;
    margin-left: 8px;
  }

  .check-info-success {
    color: var(--zocks-success-medium);
  }

  .check-info-failed {
    color: var(--zocks-error-medium);
  }

  .check-info-normal {
  }

  .log-message-info {
  }

  .log-message-warning {
    color: var(--zocks-warning-medium);
  }

  .log-message-error {
    color: var(--zocks-error-medium);
  }
}

.log-message-table {
  td {
    border-bottom: 1px solid var(--zocks-grey-3);
    padding: 16px;
  }

  tr:nth-child(even) {
    background: var(--zocks-grey-2)
  }
}

.connection-tester__check-result-summary--success {
  color: var(--zocks-success-medium);
}

.loader {
  width: 16px;
  height: 16px;
  border: 2px solid #FFF;
  border-bottom-color: transparent;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

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