@charset "UTF-8";
:host, :root {
  --pico-font-family: Poppins, Arial, sans-serif;
}

html, body {
  height: 100%;
  margin: 0;
}

#app {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.d-none {
  display: none !important;
}

section {
  padding-top: 2rem;
  padding-bottom: 1rem;
  margin-bottom: 0;
}

section > h4 {
  text-align: center;
  margin-bottom: 2rem;
}

/* Header */
#app > header {
  flex-shrink: 0;
}

header a.logo {
  color: var(--pico-h3-color);
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none !important;
}

header nav .material-symbols-outlined {
  font-size: 1.5rem;
  line-height: 1.2rem;
}

header details.dropdown > summary::after {
  display: none;
}

/* Main */
#app > main {
  flex-grow: 1;
}

main[data-page=home],
main[data-page="404"] {
  background-color: var(--pico-muted-border-color);
}

#app > footer {
  padding-block: var(--pico-block-spacing-vertical);
  background-color: var(--pico-muted-border-color);
}

.layer-main {
  background-color: var(--pico-muted-border-color);
}

.label-input {
  width: 100%;
  height: 220px;
  margin-bottom: 0;
  position: relative;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-align: center;
  align-items: center;
  justify-content: center;
  border: 1px dashed #686868;
  border-radius: 42px;
}
.label-input div > * {
  margin: 0.2rem 0;
}
.label-input.lock {
  opacity: var(--pico-form-element-disabled-opacity);
  pointer-events: none;
  cursor: default;
}
.label-input .settings {
  position: absolute;
  bottom: 10px;
}
.label-input .settings input[type=number] {
  width: 125px;
  margin: 0;
  padding: 0 0 0 1rem;
  height: 1.75rem;
  text-align: right;
}

.label-wrap, .label-wrap * {
  font-size: 1.125rem;
  line-height: 1.225;
  font-weight: bold;
}

.label-wrap > label, .label-wrap > a {
  display: inline-block;
  color: var(--pico-primary);
  padding: 0 var(--pico-spacing);
  cursor: pointer;
}

.upload {
  grid-template-columns: 1fr;
}

.settings {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}
.settings .btn-warning {
  cursor: pointer;
  margin-right: 1rem;
  color: #FF9800;
}
.settings .lock > *:not(.btn-warning) {
  opacity: var(--pico-form-element-disabled-opacity);
  cursor: not-allowed !important;
  pointer-events: none;
}
.settings select {
  width: auto;
  padding-top: 0;
  padding-bottom: 0;
  margin-left: 0.5rem;
  margin-bottom: 0;
}
.settings label {
  display: inline-block;
}

.choose-output {
  display: inline-block;
  cursor: pointer;
}
.choose-output.err {
  color: red;
  animation-name: shakeX;
  animation-duration: 1s;
}
.choose-output kbd {
  margin-right: 0.3rem;
}
.choose-output small {
  display: inline-block;
  font-size: 0.75em;
}

.btn-start {
  min-width: 50%;
}

.size-compressed {
  color: #00BCD4;
}

.material-symbols-outlined {
  font-size: inherit;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  transform: translateY(4px);
  max-width: 2rem;
}

.logo {
  margin: 0;
}
.logo span {
  background: #83aecf;
  color: #fff;
  border-radius: 8px;
  padding-left: 5px;
  padding-right: 5px;
  margin-left: 3px;
}

nav ul li .act {
  text-decoration: underline;
}

/*  */
.tools header span {
  font-size: 2rem;
  margin-right: 0.2rem;
}
.tools header a {
  display: inline-block;
  font-weight: bolder;
  transform: translateY(-7px);
}
.tools article {
  position: relative;
}
.tools article:not(:hover) a {
  text-decoration-color: rgba(255, 255, 255, 0);
}
.tools article:nth-child(1) header span {
  color: #FF9800;
}
.tools article:nth-child(2) header span {
  color: #03A9F4;
}
.tools article:nth-child(3) header span {
  color: #673AB7;
}
.tools article:nth-child(4) header span {
  color: #4CAF50;
}

.stretched-link {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  opacity: 0;
}

/* Table */
.table-files td.status-2 span {
  font-size: 1.5rem;
  color: #00BCD4;
  cursor: pointer;
}

.table-files td.status-1 span {
  font-size: 1.5rem;
  color: #83aecf;
  animation: rotateAndDelay 2s infinite ease-in-out;
}

.table-files td:nth-child(1) {
  width: 50px;
}

.table-files td:nth-child(1) > img {
  max-width: 50px;
  max-height: 50px;
  width: auto;
  height: auto;
}

.table-files tr > th:nth-child(2),
.table-files tr > td:nth-child(2) {
  display: none;
}

@media (min-width: 768px) {
  .wrap-main {
    grid-template-columns: 2fr 3fr;
  }
  .d-md-block {
    display: block !important;
  }
  .d-md-none {
    display: none !important;
  }
  .d-md-flex {
    display: flex !important;
  }
  .table-files tr > th:nth-child(2),
  .table-files tr > td:nth-child(2) {
    display: table-cell;
  }
}
@keyframes shakeX {
  0%, to {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
  10%, 30%, 50%, 70%, 90% {
    -webkit-transform: translate3d(-10px, 0, 0);
    transform: translate3d(-10px, 0, 0);
  }
  20%, 40%, 60%, 80% {
    -webkit-transform: translate3d(10px, 0, 0);
    transform: translate3d(10px, 0, 0);
  }
}
@keyframes rotateAndDelay {
  /* 0% - 33.33%: Giữ nguyên ở 0 độ (Delay 1) */
  0%, 33.33% {
    transform: rotate(0deg);
  }
  /* 33.33% - 50%: Xoay 180 độ (Lật lần 1) */
  50% {
    transform: rotate(180deg);
  }
  /* 50% - 83.33%: Giữ nguyên ở 180 độ (Delay 2) */
  50.01%, 83.33% {
    transform: rotate(180deg);
  }
  /* 83.33% - 100%: Xoay 360 độ (Lật lần 2 - Quay về vị trí ban đầu) */
  100% {
    transform: rotate(360deg);
  }
}

/*# sourceMappingURL=style.css.map */
