/* danilopez25.es — Winget Generator */
*,
*::before,
*::after {
  box-sizing: border-box;
}
.powershell-page {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  padding: 118px 20px 110px;
  background: center/cover fixed no-repeat;
}
.powershell-overlay {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(
      circle at 50% 4%,
      rgba(123, 92, 255, 0.17),
      transparent 31%
    ),
    radial-gradient(
      circle at 92% 54%,
      rgba(181, 108, 255, 0.08),
      transparent 29%
    ),
    rgba(4, 3, 10, 0.69);
}
.powershell-panel {
  position: relative;
  width: min(1180px, 100%);
  margin: auto;
  padding: clamp(28px, 4vw, 48px);
  overflow: hidden;
  border: 1px solid rgba(181, 108, 255, 0.4);
  border-radius: 24px;
  background: rgba(8, 7, 16, 0.84);
  box-shadow: 0 36px 110px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(13px);
}
.powershell-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 13%;
  width: 74%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(181, 108, 255, 0.78),
    transparent
  );
}
.powershell-back {
  display: inline-flex;
  min-height: 40px;
  padding: 8px 14px;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(181, 108, 255, 0.34);
  border-radius: 999px;
  background: rgba(123, 92, 255, 0.08);
  color: #ddd4f7;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: 0.18s;
}
.powershell-back:hover {
  transform: translateX(-2px);
  border-color: rgba(181, 108, 255, 0.62);
  background: rgba(123, 92, 255, 0.16);
  color: #fff;
  text-decoration: none;
}
.powershell-head {
  max-width: 780px;
  margin: -4px auto 28px;
  text-align: center;
}
.powershell-head > span {
  color: #b98aff;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.powershell-head h1 {
  margin: 7px 0 0;
  color: #fff;
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.powershell-head p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(14px, 1.6vw, 17px);
  line-height: 1.55;
}
.powershell-head::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin: 15px auto 0;
  border-radius: 99px;
  background: linear-gradient(90deg, #7b5cff, #b56cff);
  box-shadow: 0 0 14px rgba(181, 108, 255, 0.35);
}
.powershell-layout {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  gap: 18px;
}
.powershell-sidebar,
.powershell-selection,
.powershell-options,
.powershell-output {
  border: 1px solid rgba(181, 108, 255, 0.18);
  border-radius: 16px;
  background: rgba(11, 10, 20, 0.84);
}
.powershell-sidebar {
  padding: 17px;
}
.powershell-sidebar h2,
.powershell-section-head h2,
.powershell-options h2 {
  margin: 0 0 12px;
  color: #b98aff;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.powershell-categories {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.powershell-categories button {
  display: flex;
  min-height: 39px;
  padding: 8px 10px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.02);
  color: rgba(255, 255, 255, 0.68);
  cursor: pointer;
  text-align: left;
}
.powershell-categories button:hover,
.powershell-categories button.is-active {
  border-color: rgba(181, 108, 255, 0.38);
  background: rgba(123, 92, 255, 0.11);
  color: #fff;
}
.powershell-categories span {
  padding: 2px 7px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 11px;
}
.powershell-custom {
  margin-top: 22px;
  padding-top: 17px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.powershell-custom label {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.63);
  font-size: 12px;
}
.powershell-custom-row {
  display: grid;
  grid-template-columns: 1fr 38px;
  gap: 7px;
}
.powershell-custom input,
.powershell-scope-label select {
  min-width: 0;
  height: 40px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 9px;
  outline: 0;
  background: #11101a;
  color: #fff;
  font:
    12px Consolas,
    monospace;
}
.powershell-custom-row button {
  border: 1px solid rgba(181, 108, 255, 0.45);
  border-radius: 9px;
  background: #7445e8;
  color: #fff;
  cursor: pointer;
}
.powershell-custom p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.38);
  font-size: 11px;
  line-height: 1.45;
}
.powershell-workspace {
  min-width: 0;
}
.powershell-searchbar {
  display: grid;
  min-height: 48px;
  padding: 0 14px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(181, 108, 255, 0.22);
  border-radius: 13px;
  background: rgba(11, 10, 20, 0.9);
  color: #9f7ce9;
}
.powershell-searchbar input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: 14px;
}
.powershell-searchbar span {
  color: rgba(255, 255, 255, 0.42);
  font-size: 11px;
}
.powershell-apps {
  display: grid;
  max-height: 375px;
  margin-top: 10px;
  padding-right: 4px;
  overflow: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.powershell-app {
  display: grid;
  min-height: 68px;
  padding: 10px 12px;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.018);
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  text-align: left;
  transition: 0.16s;
}
.powershell-app:hover,
.powershell-app.is-selected {
  border-color: rgba(181, 108, 255, 0.4);
  background: rgba(123, 92, 255, 0.09);
  color: #fff;
}
.powershell-app > i:first-child {
  color: #a982f3;
  font-size: 19px;
  text-align: center;
}
.powershell-app > i:last-child {
  color: #9b70ef;
}
.powershell-app span {
  min-width: 0;
}
.powershell-app strong,
.powershell-app small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.powershell-app strong {
  font-size: 13px;
}
.powershell-app small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.38);
  font:
    10.5px Consolas,
    monospace;
}
.powershell-selection,
.powershell-options,
.powershell-output {
  margin-top: 10px;
  padding: 14px;
}
.powershell-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.powershell-section-head h2 {
  margin-bottom: 4px;
}
.powershell-section-head p {
  margin: 0;
  color: rgba(255, 255, 255, 0.43);
  font-size: 11px;
}
.powershell-section-head button,
.powershell-output-actions button {
  padding: 6px 8px;
  border: 0;
  background: transparent;
  color: #aa7cff;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}
.powershell-selected-list {
  display: flex;
  min-height: 38px;
  flex-wrap: wrap;
  gap: 7px;
}
.powershell-selected-list > span {
  display: inline-flex;
  padding: 6px 8px 6px 10px;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(181, 108, 255, 0.25);
  border-radius: 99px;
  background: rgba(123, 92, 255, 0.08);
  color: #ddd4f7;
  font-size: 11px;
}
.powershell-selected-list button {
  width: 18px;
  height: 18px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}
.powershell-empty {
  grid-column: 1/-1;
  margin: auto;
  padding: 28px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 12px;
  text-align: center;
}
.powershell-option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}
.powershell-option-grid > label:not(.powershell-scope-label) {
  display: flex;
  min-height: 42px;
  padding: 8px 10px;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 9px;
  color: rgba(255, 255, 255, 0.67);
  font-size: 12px;
}
.powershell-option-grid input {
  accent-color: #9258f5;
}
.powershell-scope-label {
  display: grid;
  grid-column: 1/-1;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.67);
  font-size: 12px;
}
.powershell-scope-label select {
  width: 100%;
}
.powershell-output-actions {
  display: flex;
  gap: 5px;
}
.powershell-terminal {
  margin-top: 11px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 11px;
  background: #0b0d14;
}
.powershell-dots {
  display: flex;
  height: 30px;
  padding: 0 12px;
  align-items: center;
  gap: 7px;
}
.powershell-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff6d62;
}
.powershell-dots span:nth-child(2) {
  background: #ffc45e;
}
.powershell-dots span:nth-child(3) {
  background: #69c276;
}
.powershell-terminal pre {
  min-height: 150px;
  max-height: 280px;
  margin: 0;
  padding: 8px 14px 16px;
  overflow: auto;
  color: #dce6f0;
  font:
    12px/1.65 Consolas,
    "Courier New",
    monospace;
  white-space: pre-wrap;
}
.powershell-status {
  min-height: 18px;
  margin: 8px 0 0;
  color: #67ce78;
  font-size: 11px;
  text-align: right;
}
@media (max-width: 900px) {
  .powershell-layout {
    grid-template-columns: 1fr;
  }
  .powershell-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .powershell-categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .powershell-custom {
    margin: 0;
    padding: 0 0 0 18px;
    border-top: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
  }
}
@media (max-width: 640px) {
  .powershell-page {
    padding: 104px 12px 80px;
    background-attachment: scroll;
  }
  .powershell-panel {
    padding: 20px 13px;
    border-radius: 18px;
  }
  .powershell-back {
    margin-bottom: 18px;
  }
  .powershell-head {
    margin: 0 auto 22px;
  }
  .powershell-head h1 {
    font-size: 34px;
    letter-spacing: 0.04em;
  }
  .powershell-sidebar {
    display: block;
  }
  .powershell-custom {
    margin-top: 18px;
    padding: 16px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 0;
  }
  .powershell-apps {
    grid-template-columns: 1fr;
    max-height: 480px;
  }
  .powershell-option-grid {
    grid-template-columns: 1fr;
  }
  .powershell-scope-label {
    grid-column: auto;
    grid-template-columns: 1fr;
  }
  .powershell-section-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .powershell-output-actions {
    width: 100%;
    justify-content: space-between;
  }
  .powershell-searchbar span {
    display: none;
  }
}

/* PowerShell Helper additions */

.powershell-admin-badge {
  display: inline-flex;
  padding: 6px 10px;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 193, 92, 0.32);
  border-radius: 999px;
  background: rgba(255, 177, 66, 0.08);
  color: #ffc56e;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.powershell-admin-badge[hidden] {
  display: none;
}

.powershell-scope-label input[type="text"] {
  width: 100%;
  min-width: 0;
  height: 40px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 9px;
  outline: 0;
  background: #11101a;
  color: #ffffff;
  font: 12px Consolas, "Courier New", monospace;
}

.powershell-scope-label input[type="text"]:focus,
.powershell-scope-label select:focus {
  border-color: rgba(181, 108, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(123, 92, 255, 0.1);
}

.powershell-custom p i {
  margin-right: 5px;
  color: #ffc56e;
}
