.scroller::-webkit-scrollbar {
  width: 5px;
  height: 5px;
  background: var(--accent-semi);
}
.scroller::-webkit-scrollbar-thumb {
  background: var(--accent-dark);
}
.scroller::-webkit-scrollbar-thumb:hover {
  background: var(--inverse);
}
.full-container {
  width: 100%;
  height: 100vh;
  display: grid;
  grid-template-columns: 280px 1fr 280px;
  grid-template-rows: var(--top-bar-height) var(--top-bar-height) 1fr 35px;
  background: var(--bg);
  overflow: hidden;

  --icon-size: 120px; /* Medium - Default */
  --icon-gap: 15px;
  --drive-icon-size: 300px; /* for drives */
}
.full-container.icon-ex-sm {
  --icon-size: 80px; /* Extra Small */
  --icon-font-size: 11px;
}
.full-container.icon-sm {
  --icon-size: 100px; /* Small */
  --icon-font-size: 11px;
}
.full-container.icon-md {
  --icon-size: 120px; /* Medium */
  --icon-font-size: 12px;
}
.full-container.icon-lg {
  --icon-size: 140px; /* Large */
  --icon-font-size: 12px;
}
.full-container.icon-ex-lg {
  --icon-size: 180px; /* Extra Large */
  --icon-font-size: 13px;
}
.full-container.icon-hg {
  --icon-size: 220px; /* Huge */
  --icon-font-size: 14px;
}
.mini-scroll-bar::-webkit-scrollbar {
  width: 5px;
  height: 5px;
  background: var(--accent-semi-light);
}
.mini-scroll-bar::-webkit-scrollbar-thumb {
  background: var(--accent);
}
.mini-scroll-bar::-webkit-scrollbar-thumb:hover {
  background: var(--accent-dark);
}
.header {
  grid-area: 1 / 1 / 2 / 4;
  border-bottom: var(--border);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  overflow-x: auto;
  background: var(--primary);
  -webkit-app-region: drag;
  -webkit-user-select: none;
  user-select: none;
}
.header .options,
.header .min {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.header .option {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 0px 5px;
  transform: scale(0.8);
  transition: transform 0.3s;
  -webkit-app-region: no-drag;
}
.header .option:not(.inactive) {
  cursor: pointer;
}
.header .option.inactive {
  transform: scale(1);
  margin-right: 15px;
}
.header .min .option {
  margin: 0px 2px;
}
.header .option .icon {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 3px;
}
.header .option.inactive .icon.logo {
  background-image: url("/assets/images/logo.svg");
  background-size: 80%;
  background-position: center;
  background-repeat: no-repeat;
}
.header .option .icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--bg);
  stroke-width: 1.5;
  transition: stroke 0.3s;
}
.header .option.win-buttons .icon svg {
  width: 25px;
  height: 25px;
  stroke-width: 2;
}
.header .option .title {
  color: var(--bg);
  transition: color 0.3s;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 100;
}
.header .option.inactive .title {
  color: var(--absolute);
  margin-left: 5px;
}
.header .option:hover {
  transform: scale(1);
}
.header .option:hover .icon svg {
  stroke: var(--absolute);
}
.header .option:hover .title {
  color: var(--absolute);
}
.header .option:focus {
  outline: 0px solid transparent;
}
.header .option:focus .icon svg {
  stroke: var(--primary9);
}
.header .option:focus .title {
  color: var(--primary9);
}
.header .option.win-minimize:hover .icon svg,
.header .option.win-maximize:hover .icon svg {
  stroke: var(--yellow);
}
.header .option.win-close:hover .icon svg {
  stroke: var(--red);
}
.splash {
  width: 100%;
  height: calc(100vh - var(--top-bar-height));
  position: fixed;
  top: var(--top-bar-height);
  left: 0;
  z-index: 2147483647; /* max value */
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
}
.splash .icon {
  width: clamp(50px, 60vmin, 200px);
  height: clamp(50px, 60vmin, 200px);
  background-image: url("/assets/images/logo.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
.splash .splash-load {
  width: 50px;
  height: 50px;
  stroke: var(--primary);
  transform: rotate(0deg);
  animation: splash-loading 1s ease-in-out infinite normal;
}
@keyframes splash-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.connection-list {
  grid-area: 2 / 1 / 4 / 2;
  border-right: var(--border);
  overflow-y: auto;
  overflow-x: hidden;
}
.connection-list .connection {
  margin: 10px;
  padding: 10px;
  box-sizing: border-box;
  border-radius: 5px;
  border: 2px solid var(--accent-semi-light);
  color: #808080;
  background-color: transparent;
  transition: border-color 0.3s, background-color 0.8s;
}
.connection-list .connection .connection-options {
  width: calc(100% + 22px);
  height: 0px;
  background: var(--primary);
  margin-top: 10px;
  margin-left: -11px;
  margin-bottom: -11px;
  transition: height 0.3s;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  padding: 0px 5px;
  box-sizing: border-box;
}
.connection-list .connection:hover {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: var(--accent-semi-light);
}
.connection-list .connection:hover .connection-options {
  height: 40px;
}
.connection-list .connection .connection-options svg {
  transition: transform 0.3s, opacity 0.1s;
  padding: 5px;
  cursor: pointer;
}
.connection-list .connection .connection-options svg:hover {
  transform: scale(1.5);
}
.connection-list .connection .name {
  font-weight: 500;
  margin-bottom: 5px;
  color: var(--accent-dark);
}
.connection-list .connection:hover .name {
  color: var(--primary);
}
.connection-list .connection .description {
  text-align: justify;
  font-size: 13px;
}
.connection-list .connection .server {
  margin-top: 5px;
}
.connection-list .connection .server,
.connection-list .connection .user {
  text-align: right;
  font-style: italic;
}
.connection-list .add-connection {
  display: flex;
  flex-direction: row;
  cursor: pointer;
}
.connection-list .add-connection svg {
  margin-left: auto;
  stroke: var(--accent-dark);
  transition: transform 0.3s;
  transform: scale(1);
}
.connection-list .add-connection:hover svg {
  stroke: #000000 !important;
  transform: scale(1.5);
}
.connection-list .add-connection .name {
  margin: unset;
}
.connection-list .add-connection:hover {
  border: 2px solid var(--primary);
  color: #000000;
  background-color: var(--primary);
}
.connection-list .add-connection:hover .name {
  color: #000000;
}
.top-bar {
  border-bottom: var(--border);
  grid-area: 2 / 2 / 3 / 4;
  display: grid;
  grid-template-columns: minmax(200px, 1fr) 250px;
}
.top-bar .path {
  display: flex;
  flex-direction: row;
  align-items: center;
  overflow-x: auto;
  overflow-y: hidden;
}
.top-bar .path .location {
  padding-left: 30px;
  position: relative;
  color: var(--accent-dark);
  cursor: pointer;
  white-space: nowrap;
  height: 100%;
  display: inline-flex;
  align-items: center;
  z-index: 1;
  background: var(--bg);
}
.top-bar .path .location:first-child {
  padding-left: 10px;
}
.top-bar .path .location:nth-last-child(4) {
  margin-right: 15px;
}
.top-bar .path .location:hover {
  color: #000000;
  background: var(--accent);
}
.top-bar .path .location::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0px;
  transform: translate(50%, -50%) rotate(45deg);
  width: 30px;
  height: 30px;
  border-top: var(--border);
  border-right: var(--border);
  z-index: -1;
  background: var(--bg);
  /* border-top-right-radius:5px; */
}
.top-bar .path .location:hover::after {
  /* border-top:2px solid var(--primary);
  border-right:2px solid var(--primary); */
  background: var(--accent);
}
.top-bar .path .edit-path {
  margin-left: auto;
  padding-left: 5px;
  min-width: 35px;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.top-bar .path .edit-path svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent-dark);
  transition: stroke 0.3s;
}
.top-bar .path .edit-path:hover svg.svg-blue {
  stroke: var(--primary);
}
.top-bar .path .edit-path svg.svg-red {
  stroke: #f44336;
}
.top-bar .path .edit-path:hover svg.svg-red {
  stroke: #ff0000;
}
.editable-path {
  position: relative;
  top: 0;
  left: 0;
  border: none;
  border-radius: 0px;
  height: 100%;
  width: 100%;
  background: transparent;
  padding: 5px 10px;
  box-sizing: border-box;
  font-size: 18px;
  font-family: monospace;
  letter-spacing: 2px;
  color: var(--accent-dark);
}
.editable-path:focus {
  outline: 0px solid transparent;
  animation: flash 1s ease-out 1 forwards;
}
.editable-path::selection {
  color: var(--bg);
  background: var(--inverse);
}
.editable-path-label {
  width: 38px;
  height: 38px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  top: 50%;
  right: 0;
  margin-left: 5px;
  margin-right: -5px;
  transform: translate(0%, -50%);
  cursor: pointer;
}
.editable-path-label svg {
  stroke: var(--accent-dark);
  transition: stroke 0.3s;
  width: 20px;
  height: 20px;
}
.editable-path-label:hover svg {
  stroke: var(--primary);
}
.top-bar .search {
  border-left: var(--border);
  position: relative;
}
.top-bar .search input {
  position: absolute;
  top: 0;
  left: 0;
  border: none;
  border-radius: 0px;
  height: 100%;
  width: 100%;
  background: transparent;
  padding: 5px 38px 5px 10px;
  box-sizing: border-box;
  font-size: 18px;
  letter-spacing: 1px;
  color: var(--accent-dark);
}
.top-bar .search input:focus {
  outline: 0px solid transparent;
  animation: flash 1s ease-out 1 forwards;
}
@keyframes flash {
  0% {
    background: var(--accent-semi);
  }
  100% {
    background: transparent;
  }
}
.top-bar .search .icon {
  width: 38px;
  height: 38px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}
.top-bar .search .icon svg {
  width: 25px;
  height: 25px;
  stroke: var(--accent-dark);
  transition: stroke 0.3s;
}
.top-bar .search input:focus ~ .icon svg {
  stroke: var(--inverse);
}
.top-bar .search input::selection {
  color: var(--bg);
  background: var(--inverse);
}
.contents {
  grid-area: 3 / 2 / 4 / 3;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(var(--icon-size), 1fr));
  grid-auto-rows: calc(var(--icon-size) + 30px);
  grid-gap: var(--icon-gap);
  padding: var(--icon-gap);
  box-sizing: border-box;
  overflow: auto;
  position: relative;
}
.contents.drive-container {
  grid-template-columns: repeat(auto-fill, minmax(var(--drive-icon-size), 1fr));
  grid-auto-rows: 120px;
}
.contents.wide {
  grid-area: 3 / 2 / 4 / 4;
}
.progress-container {
  grid-area: 3 / 3 / 4 / 4;
  width: 100%;
  height: 100%;
  border-left: var(--border);
  overflow-y: auto;
}
.selector {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  opacity: 0.3;
  background: var(--primary6);
  outline: 2px solid var(--primary9);
}
.no-items {
  color: var(--red);
  position: absolute;
  top: 50%;
  left: 50%;
  line-height: 25px;
  transform: translate(-50%, -50%) scale(1);
  text-align: center;
  animation: pulse 1s linear infinite alternate;
  letter-spacing: 3px;
}
@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    transform: translate(-50%, -50%) scale(1.2);
  }
}
.loader {
  width: 50px;
  height: 50px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(0deg);
  animation: rolling 2.5s linear infinite normal;
}
@keyframes rolling {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
.loader svg {
  width: 100%;
  height: 100%;
  stroke: var(--primary3);
}
.bottom-bar {
  height: 100%;
  width: 100%;
  grid-area: 4 / 1 / 5 / 4;
  border-top: var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  font-size: 14px;
}
.bottom-bar-inner {
  display: flex;
  flex-direction: row;
  width: max-content;
  justify-content: flex-end;
}
.bottom-bar-inner.bar-left {
  color: var(--accent-dark);
}
.bottom-bar-inner.bar-right {
  /* color:var(--accent-dark); */
}
.bar-item,
.key-state {
  padding: 2.5px 6px;
  margin: 1px 3.5px;
  border-radius: 2px;
  cursor: not-allowed;
  background: var(--primary);
  color: #000;
  height: 18px;
}
.bar-item {
  padding: 2.5px 10px;
  cursor: default;
  background: var(--accent-semi-light);
  color: var(--accent-dark);
  white-space: nowrap;
}
.key-green {
  background: var(--green);
}
.progress .progress-bar {
  animation: progress-bar-stripes 1s linear infinite;
}
.progress-button {
  padding: 0px 3px;
  cursor: pointer;
}
.progress-button svg {
  stroke: var(--accent-dark);
  transition: stroke 0.3s;
}
.progress-button:hover svg {
  stroke: var(--primary);
}
.progress-button svg.progress-icon {
  animation: spin 2s linear infinite normal;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.hidden {
  display: none !important;
}
.context-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 180px;
  height: auto;
  display: flex;
  flex-direction: column;
  background: var(--abstract-light);
  border: 1px solid var(--accent);
  box-shadow: 0px 0px 6px 2px #00000050;
  backdrop-filter: blur(8px);
  border-radius: 5px;
  overflow: hidden;
  z-index: 2147483646; /* max z-index - 1 */
}
.context-menu .menu-button {
  display: flex;
  flex-direction: row;
  padding: 10px;
  color: var(--inverse);
  border-bottom: 1px solid var(--accent);
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s;
}
.context-menu .menu-button:last-child {
  border-bottom: unset;
}
.context-menu .menu-button:not(.menu-disabled):hover {
  background: var(--primary);
}
.context-menu .menu-button svg {
  padding-right: 10px;
}
.context-menu .menu-button svg {
  stroke: var(--inverse);
}
.context-menu .menu-button.menu-disabled {
  color: var(--inverse-light);
  cursor: not-allowed;
}
.context-menu .menu-button.menu-disabled svg {
  stroke: var(--inverse-light) !important;
}
.progress-container {
  padding: 0px 10px;
  box-sizing: border-box;
}
.progress-container .title-box {
  padding-top: 10px;
  display: flex;
  flex-direction: row;
  vertical-align: middle;
  justify-content: space-between;
}
.progress-container .title-box .title {
  margin-bottom: 0px;
  line-height: 24px;
  color: var(--inverse-light);
}
.progress-container .title-box .close {
  cursor: pointer;
}
.progress-container .title-box .close svg {
  stroke: var(--accent-dark);
  transition: stroke 0.3s;
}
.progress-container .title-box .close:hover svg {
  stroke: var(--red);
}
.progress-container .process {
  padding: 10px;
  box-sizing: border-box;
  background: var(--accent-semi);
  color: var(--accent-dark);
  font-size: 14px;
  border-radius: 5px;
  font-weight: 100;
  margin: 10px 0px;
}
.progress-container .process .error-status,
.progress-container .process .success-status {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
.progress-container .process .error-status .text {
  color: var(--red);
}
.progress-container .process .success-status .text {
  color: var(--accent-dark);
}
.progress-container .process .delete-process svg {
  stroke: var(--red);
  cursor: pointer;
  stroke-width: 1.3;
  transform: scale(1);
  transition: transform 0.3s, stroke-width 0.3s;
}
.progress-container .process .delete-process:hover svg {
  stroke-width: 2;
  transform: scale(1.5);
}
.progress-container .title {
  font-size: 16px;
  margin-bottom: 10px;
  font-weight: 500;
  color: var(--inverse);
}
.progress-container .sub-title {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.progress-container .progress {
  margin-top: 10px;
}
.progress {
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 50px;
  overflow: hidden;
  width: 100%;
  height: 10px;
  box-sizing: border-box;
}
.progress-bar {
  width: 0%;
  max-width: 100%;
  height: 100%;
  border-radius: 50px;
  background-color: #2196f3;
  background-image: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.15) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.15) 50%,
    rgba(255, 255, 255, 0.15) 75%,
    transparent 75%,
    transparent
  );
  background-size: 20px 20px;
  box-sizing: border-box;
}
@keyframes progress-bar-stripes {
  0% {
    background-position: 20px 0;
  }
  100% {
    background-position: 0 0;
  }
}
