﻿.autolivesub {
  background-color: transparent;
  --header-text-color: #000000;
  --tab-header-text-color: #1bc98e;
  --tab-header-background-color: #ffffff;
  --splitter-color: #797979;
  --text-box-border-color: #797979;
  --text-box-add-background-color: #797979cc;
  --text-box-add-foreground-color: #333333;
}

  .autolivesub .header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0;
  }

    .autolivesub .header h2 {
      color: var(--header-text-color);
      text-transform: uppercase;
      font-weight: bold;
    }

  .autolivesub .content {
    background-color: transparent;
  }

  .autolivesub .tab-header {
    background-color: transparent;
    padding: 10px 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }

    .autolivesub .tab-header .tab-header-button {
      background-color: transparent;
      width: 180px;
      height: 40px;
      margin-right: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      border: 1px solid var(--tab-header-text-color);
      border-radius: 3px;
      color: var(--tab-header-text-color);
      font-weight: bold;
      cursor: pointer;
    }

    .autolivesub .tab-header .tab-header-button-selected {
      background-color: var(--tab-header-text-color);
      border: 1px solid var(--tab-header-text-color);
      color: #FFFFFFEE;
    }

  .autolivesub .splitter {
    height: 1px;
    width: 100%;
    border: 1px solid var(--splitter-color);
    border-top: 0;
    overflow: hidden;
  }

  .autolivesub .splitter-text {
    color: var(--splitter-color);
    margin-top: -20px;
    width: 50%;
  }

  .autolivesub .navigation-area {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 10px 0 10px 0;
  }

    .autolivesub .navigation-area .navigation-area-left {
      display: flex;
      justify-content: flex-start;
      align-items: flex-start;
    }

    .autolivesub .navigation-area .navigation-area-right {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      align-items: flex-end;
      min-height: 80px;
    }

    .autolivesub .navigation-area .navigation-buttons {
      display: flex;
      flex-direction: row;
    }

  .autolivesub .text-box-add {
    height: 40px;
    border: 1px solid var(--text-box-border-color);
    border-radius: 4px;
    background-color: var(--text-box-add-background-color);
    color: var(--text-box-add-foreground-color);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-right: 10px;
  }

    .autolivesub .text-box-add input {
      background-color: transparent;
      border: none;
      width: 100%;
      min-width: 100%;
      padding-left: 10px;
    }

      .autolivesub .text-box-add input::placeholder {
        color: var(--text-box-border-color);
        font-style: italic;
      }

  .autolivesub .text-box-search {
    height: 30px;
    border: 1px solid var(--text-box-border-color);
    border-radius: 4px;
    background-color: transparent;
    color: var(--text-box-add-foreground-color);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
  }

  .autolivesub .text-box-search-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 4px;
  }

  .autolivesub .text-box-search input {
    background-color: transparent;
    border: none;
    width: 80%;
    min-width: 80%;
    max-width: 80%;
    padding-left: 4px;
  }

    .autolivesub .text-box-search input::placeholder {
      color: #707070;
      font-style: italic;
    }

  .autolivesub .button-add {
    background-color: #ffa500;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 40px;
    border: 1px solid #ffa500;
    border-radius: 2px;
    cursor: pointer;
  }

  .autolivesub .button-edit {
    background-color: #414e6a;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 30px;
    border: 1px solid #414e6a;
    border-radius: 2px;
    cursor: pointer;
  }

  .autolivesub .button-cancel {
    background-color: transparent;
    color: var(--text-box-add-foreground-color);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 30px;
    cursor: pointer;
  }

  .autolivesub .button-save {
    background-color: #ffa500;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 30px;
    border: 1px solid #ffa500;
    border-radius: 2px;
    cursor: pointer;
  }

  .autolivesub .phonetic-collection {
    display: grid;
    grid-template-columns: 240px 1fr;
    width: 100%;
  }

  .autolivesub .phonetic-word {
    color: var(--tab-header-text-color);
    margin: 10px 0;
  }

    .autolivesub .phonetic-word input {
      background-color: transparent;
      min-width: 90%;
      border: 1px solid transparent;
      width: 100%;
      min-width: 100%;
      padding-left: 4px;
    }

      .autolivesub .phonetic-word input:focus {
        min-width: 90%;
        border: 1px solid var(--text-box-border-color);
        border-radius: 4px;
      }

  .autolivesub .phonetic-replaces {
    color: var(--text-box-add-foreground-color);
    margin: 10px 0;
  }

    .autolivesub .phonetic-replaces textarea {
      background-color: transparent;
      min-width: 90%;
      border: 1px solid transparent;
      width: 100%;
      min-width: 100%;
      padding-left: 4px;
    }


      .autolivesub .phonetic-replaces textarea:focus {
        border: 1px solid var(--text-box-border-color);
        border-radius: 4px;
      }

  .autolivesub .phonetic-header {
    display: grid;
    grid-template-columns: 240px 1fr;
  }


  .autolivesub .forbidden-collection {
  }

    .autolivesub .forbidden-collection .forbidden-word {
      color: var(--tab-header-text-color);
      margin: 10px 0;
    }

      .autolivesub .forbidden-collection .forbidden-word input {
        background-color: transparent;
        min-width: 90%;
        border: 1px solid transparent;
        width: 240px;
        padding-left: 4px;
      }

        .autolivesub .forbidden-collection .forbidden-word input:focus {
          min-width: 240px;
          border: 1px solid var(--text-box-border-color);
          border-radius: 4px;
        }

  .autolivesub .color-collection {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 20px;
  }

    .autolivesub .color-collection .color-collection-item {
      flex-basis: calc(50% - 10px); /* Ширина элемента, 10px - маргины и отступы */
      padding: 10px;
      margin: 5px;
      display: flex;
      align-items: center;
      justify-content: flex-start;
    }

      .autolivesub .color-collection .color-collection-item:nth-child(odd) {
        justify-content: flex-end;
      }

      .autolivesub .color-collection .color-collection-item .color-collection-item-title {
        width: 180px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        margin: 0 10px;
      }

      .autolivesub .color-collection .color-collection-item .color-collection-item-color {
        display: flex;
        width: 60px;
        height: 24px;
        border-radius: 4px;
        margin: 0 10px;
      }

        .autolivesub .color-collection .color-collection-item .color-collection-item-color select {
          width: 60px;
          height: 24px;
          border-radius: 4px;
        }

.autolivesub .apisettings-content {
  display: grid;
  grid-template-columns: 240px 1fr;
  width: 100%;
}

.autolivesub .apisettings-word {
  color: var(--text-box-add-foreground-color);
  margin: 10px 0;
}

.autolivesub .apisettings-content input {
  background-color: transparent;
  min-width: 90%;
  border: 1px solid transparent;
  width: 100%;
  min-width: 100%;
  padding-left: 4px;
}

  .autolivesub .apisettings-content input:focus {
    min-width: 90%;
    border: 1px solid var(--text-box-border-color);
    border-radius: 4px;
  }

.autolivesub .phonetic-replaces {
  color: var(--text-box-add-foreground-color);
  margin: 10px 0;
}

.autolivesub .phonetic-header {
  display: grid;
  grid-template-columns: 240px 1fr;
}
