.vue-file-viewer {
  position: relative;
  width: 100%;
  height: 100%;
  overflow-y: hidden;
  .banner {
    color: #000;
    position: absolute;
    z-index: 2014;
    width: 100%;
  }

  .banner div {
    color: #000;
  }

  .banner h1 {
    font-size: 20px;
    text-align: center;
  }

  .file-select {
    padding: 0 20px;
    height: 45px;
    position: absolute;
    top: 2.5vw;
  }

  .file-select button {
    background: #fafafa;
  }

  .overlay button {
    background: #12b6ff;
    color: white;
  }

  button {
    outline: none;
    border-radius: 20px;
    border: 1px solid #e3e3e3;
    line-height: 19px;
    padding: 5px 12px;
    cursor: pointer;
  }

  .overlay input[type='text'] {
    line-height: 19px;
    height: 30px;
    outline: none;
    border: 1px solid silver;
    border-radius: 6px;
    margin-right: 10px;
  }

  .overlay {
    z-index: 9999;
    opacity: 0.4;
    padding: 10px;
    border-radius: 5px;
    background: white;
    border: 1px solid silver;
    margin-top: 5px;
    position: absolute;
  }

  .overlay:hover {
    opacity: 1;
  }

  .loading {
    text-align: center;
    padding-top: 50px;
  }

  .ctrol_btn {
    position: absolute;
    right: 2.5vw;
    margin-top: 2.5vh;
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 15px;
    border-radius: 20px;
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    font-size: 1rem;
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;

    &:hover {
      background-color: rgba(0, 0, 0, 0.5);
    }

    > span {
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      user-select: none;
    }

    .scale_add{
      margin-right: 15px;
    }

    .scale_add,
    .scale_reduce {
      width: 28px;
      height: 28px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      transition: all 0.2s ease;
      position: relative;
      -webkit-tap-highlight-color: transparent;
      
      &:hover {
        background-color: rgba(255, 255, 255, 0.15);
      }
      
      &:before {
        content: "";
        width: 18px;
        height: 18px;
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
      }
    }
    
    .scale_add:before {
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='18' height='18' fill='white' stroke='white' stroke-width='0.5'%3E%3Cpath d='M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z'/%3E%3C/svg%3E");
    }
    
    .scale_add:hover:before {
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='18' height='18' fill='%23ffffff' stroke='%23ffffff' stroke-width='0.5'%3E%3Cpath d='M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z'/%3E%3C/svg%3E");
    }
    
    .scale_reduce:before {
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='18' height='18' fill='white' stroke='white' stroke-width='0.5'%3E%3Cpath d='M19 13H5v-2h14v2z'/%3E%3C/svg%3E");
    }
    
    .scale_reduce:hover:before {
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='18' height='18' fill='%23ffffff' stroke='%23ffffff' stroke-width='0.5'%3E%3Cpath d='M19 13H5v-2h14v2z'/%3E%3C/svg%3E");
    }

    .download {
      position: relative;
      padding-left: 28px;
      font-size: 0.95rem;
      font-weight: 500;
      user-select: none;
      -webkit-tap-highlight-color: transparent;
      
      &:before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 20px;
        height: 20px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='20' height='20' fill='white' stroke='white' stroke-width='0.5'%3E%3Cpath d='M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
      }

      &:hover {
        color: #12b6ff;
        
        &:before {
          background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='20' height='20' fill='%2312b6ff' stroke='%2312b6ff' stroke-width='0.5'%3E%3Cpath d='M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z'/%3E%3C/svg%3E");
        }
      }
    }
  }

  :deep(.output > div) {
    height: 100%;
  }
}
