.container {
  .vcs-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;

    .title {
      flex: 1;
      padding: 8px;
      text-transform: uppercase;
      color: var(--primary-text-color);
    }

    .actions {
      display: flex;
      align-items: center;
    }

    .action-button {
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 8px;
      border-radius: 50%;
      border: none;
      cursor: pointer;
      transition: background-color 0.3s ease, transform 0.3s ease;
      color: var(--primary-text-color);

      &:active {
        background-color: var(--active-icon-color);
      }

      svg {
        width: 16px;
        height: 16px;
      }
    }
  }

  .repo-unavailable {
    padding: 10px;

    button {
      width: 100%;
      padding: 6px;
      margin-top: 10px;
      border-radius: 4px;
      border: none;
      background-color: var(--button-background-color);
      color: var(--button-text-color);
    }
  }

  .source-control {
    width: 100%;

    .repositories {
      width: 100%;
      display: flex;
      align-items: center;
      list-style-type: disc;
      box-sizing: border-box;
      background-color: rgba(55, 55, 55, 0.8);

      .action-item {
        min-width: 20px;
        display: flex;
        align-items: center;
        padding: 5px 8px;
        cursor: pointer;
        border-radius: 5px;
        transition: background-color 0.2s ease;
        border: 1px solid var(-popup-border-color);
      }

      .action-icon>svg {
        width: 14px;
        height: 14px;
      }

      .action-label {
        padding-left: 4px;
      }
    }

    .commit-area {
      padding: 8px;

      textarea {
        border: none;
        border-radius: 2px;
        overflow-y: auto;
        resize: none;
        max-height: calc(1.5em * 5);
        line-height: 1.5em;
      }

      .commit-btn {
        width: 100%;
        background-color: var(--button-background-color);
        color: var(--button-text-color);
        padding: 6px;
        border: none;
        border-radius: 2px;
      }
    }

    .list-files {
      .status {
        font-size: 1em;
        height: 30px;
        min-width: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
      }

      .status.U {
        color: #73c991;
      }

      .status.A {
        color: #73c991;
      }

      .status.M {
        color: #e2c08d;
      }

      .status.D {
        color: #c74e39;
      }
    }

  }

  #repo-error {
    color: red;
  }
}

.is-refreshing {
  animation: rotate 1.5s ease-in-out infinite;
}

.hide {
  display: none;
  pointer-events: none;
  opacity: 0;
}

.disabled {
  background-color: #ccc;
  color: #666;
  pointer-events: none;
  cursor: not-allowed;
  opacity: 0.5;
}

.linear-progress {
  position: relative;
  width: 100%;
  height: 1px;
  background-color: transparent;
  overflow: hidden;

  .progress-bar {
    position: absolute;
    width: 20%;
    height: 100%;
    background-color: #007bff;
    animation: linearMove 2s infinite linear;
  }
}

@keyframes linearMove {
  0% {
    transform: translateX(-100%);
  }

  50% {
    transform: translateX(200%);
  }

  100% {
    transform: translateX(500%);
  }
}

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

  to {
    transform: rotate(360deg);
  }
}