
/* Deep-purple Light scheme (Default) */
/* Can be forced with data-theme="light" */
[data-theme="light"],
:root:not([data-theme="dark"]) {
  --primary: #5e35b1;
  --primary-hover: #512da8;
  --primary-focus: rgba(94, 53, 177, 0.125);
  --primary-inverse: #FFF;
}

/* Deep-purple Dark scheme (Auto) */
/* Automatically enabled if user has Dark mode enabled */
@media only screen and (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --primary: #5e35b1;
    --primary-hover: #673ab7;
    --primary-focus: rgba(94, 53, 177, 0.25);
    --primary-inverse: #FFF;
    --background-color: #11191f;
  }
}

/* Deep-purple Dark scheme (Forced) */
/* Enabled if forced with data-theme="dark" */
[data-theme="dark"] {
  --primary: #5e35b1;
  --primary-hover: #673ab7;
  --primary-focus: rgba(94, 53, 177, 0.25);
  --primary-inverse: #FFF;
  --background-color: #11191f;
}

/* Deep-purple (Common styles) */
:root {
  --form-element-active-border-color: var(--primary);
  --form-element-focus-color: var(--primary-focus);
  --switch-color: var(--primary-inverse);
  --switch-checked-background-color: var(--
                                         primary);
}

/* Bit of custom stylings. */

@media (min-width: 768px) {
  input:not([type="checkbox"], [type="radio"]), select, textarea {
    width: auto;
  }
}

.log-table .has-data td {
  border-bottom: none;
}

.log-table .data pre {
  height: 0;
  overflow: hidden;
  margin: 0;
}

.log-table .data.active pre {
  height: auto;
}

.bank-list {
  padding: 0;
}

@media (min-width: 600px) {
  .bank-list {
    column-count: 2;
  }
}

.bank-list li {
  list-style-type: none;
}

.bank-list li a {
  width: 100%;
  text-align: left;
}

.bank-list img {
  height: 32px;
  width: 32px;
}

.reconnect a {
  /* Add a bit of bottom margin to buttons to avoid them running */
  /* together on small screens. */
  margin-bottom: 1rem;
}
