.wpav-root.open {
    border: 1px dashed #ddd;
    padding: 10px 20px;
    max-width: 450px;
    border-radius: 8px;
    background: #f8f9fb;
}

.wpav-status {
  margin: 30px 0;
  font-weight: 600;
}

.wpav-tree ul {
    list-style: none;
    padding-left: 1px;
    margin: -10px 0px 0px -2px;
}

.wpav-tree li {
  margin: -10px 0px;
  line-height: 1.6;
}

.wpav-tree a {
  color: #0073aa;
  text-decoration: none;
}

.wpav-tree a:hover {
  text-decoration: underline;
}
.wpav-btn-disabled {
  opacity: 0.35;
  pointer-events: none;
}

.wpav-btn-secondary {
  margin-left: 10px;
  opacity: 1;
}
.wpav-progress-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wpav-progress-bar {
  position: relative;
  flex: 1;
  height: 35px;
  background: #eee;
  border-radius: 4px;
  overflow: hidden;
}

.wpav-progress-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: white;
    pointer-events: none;
    font-size: 14px;
}
.wpav-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(135deg, #1482e4 25%, #0075db 25%, #0075db 50%, #1482e4 50%, #1482e4 75%, #0075db 75%);
    background-size: 40px 40px;
    animation: wpav-progress-move 1s linear infinite;
    transition: width 0.25s linear;
}

.wpav-progress-fill.inspecting {
  animation-duration: 1.8s;
}

.wpav-cancel-btn {
    white-space: nowrap;
    margin: 0px;
    background: #0075db;
    border-radius: 4px;
    color: white;
    height: 35px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.wpav-tree-list {
  list-style: none;
  margin: 0;
  padding-left: 22px;
  position: relative;
}
.wpav-tree-list::before {
  content: "";
  position: absolute;
  top: 0px;
  bottom: 18px;
  left: 9px;
  width: 1px;
  background: #ededed;
}
.wpav-tree-list > li {
    position: relative;
    padding-left: 35px;
}
.wpav-title {
  margin: 20px 0;
  font-size: 18px;
}
.buttoncenter{
  display: flex;
  justify-content: center;
}
.bx-shuffle:before {
    content: "\ec0e";
}
.bx-download:before{
    content: "\eab9";
}
i.button-icon {
    padding: 0px 0px 2px 0px;
}
.bx-upload:before {
    content: "\ec5f";
}
.tool-content h2.titleav {
    font-size: 32px;
    text-align: center;
    margin-bottom: 30px;
}

button#wpav-upload-btn {
    margin: 0px;
    background: #0075db;
    color: white;
    border-radius: 4px;
    font-size: 18px;
}
i.bx.bx-upload {
    padding: 0px 5px 3px 0px;
}
button#wpav-upload-btn span {
    font-size: 12px;
    color: white;
    opacity: 0.7;
    text-transform: lowercase;
    margin: -20px 0px 0px;
}
.wpav-actions {
    margin: 30px 0px;
    display: flex;
    gap: 15px;
}
.infoav {
    padding: 20px 30px;
    background: #eee;
    border-radius: 8px;
}
.infoav p {
    margin: 0px;
    font-size: 14px;
    margin-bottom: 5px;
}
.wpav-actions button {
    margin: 0px;
    font-size: 15px;
    background: #0075db;
    border-radius: 4px;
    padding: 1px 18px;
    color: white;
}
.wpav-tree-list > li::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 9px;
    width: 20px;
    height: 1px;
    background: #ededed;
}
.wpav-tree-list > li:last-child::before {
  background: #ededed;
}
.wpav-toggle {
  width: 14px;
  text-align: center;
  cursor: pointer;
  color: #000;
  flex-shrink: 0;
}
.wpav-name {
    flex: 1;
    cursor: pointer;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    -webkit-line-clamp: 1;font-size: 14px;
}
.wpav-row {
  display: flex;
  align-items: center;
  gap: 6px;margin: 5px 0px;
}

.wpav-toggle {
  width: 14px;
  cursor: pointer;
  user-select: none;
  font-size: 12px;
}

.wpav-folder .wpav-toggle {
  color: #000;
}

.wpav-folder:not(.open) .wpav-toggle {
  color: #aaa;
}

.wpav-icon {
    width: 24px !important;
    height: 24px !important;
    display: inline-block;flex-shrink: 0;
}

.wpav-icon.folder::before { content: "📁"; }
.wpav-icon.exe::before    { content: "⚙️"; }
.wpav-icon.img::before    { content: "🖼️"; }
.wpav-icon.svg::before    { content: "📐"; }
.wpav-icon.archive::before{ content: "🗜️"; }
.wpav-icon.file::before   { content: "📄"; }

.wpav-download {
    margin-left: auto;
    background: none;
    border: none;
    cursor: pointer;
    margin-right: 0px;
    margin-bottom: 0px;color: #555;
}


@keyframes wpav-progress-move {
  from {
    background-position: 0 0;
  }
  to {
    background-position: -40px 0;
  }
}
