.app {
  position: relative;
  z-index: 1;
}
.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../assets/images/backgroundtest2.PNG");
  filter: brightness(95%);
  background-size: cover;
  background-position: center;
  z-index: -1;
}
.shell {
  display: flex;
  flex-direction: column;
  gap: 20px;
  border: 0.5px solid white;
  border-radius: 20px;
  max-width: 35rem;
  margin: 100px auto;
  padding: 0 20px;
  background: var(--shell);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  box-shadow: 0px 25px 15px 10px var(--shadow-color);
}
.shell header {
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}
.shell main {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.input-text,
.input-file {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.input-radio {
  margin-top: 2rem;
  margin-left: 0.3rem;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.radio-box {
  display: flex;
  gap: 10px;
  align-items: center;
}
.input-file {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
input[type="text"],
input[type="file"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-color);
  background-color: transparent;
  border-radius: 6px;
  box-sizing: border-box;
  font-size: 0.95rem;
  margin-bottom: 3px;
}
input[type="text"]:focus {
  outline: none;
  border-color: var(--button-background);
}
input[type="radio"] {
  margin-right: 6px;
  accent-color: var(--button-background);
}
input[type="file"] {
  outline: none;
  border: 1px solid var(--border-color);
  background-color: transparent;
  border-radius: 6px;
  box-sizing: border-box;
  font-size: 0.95rem;
  padding: 6px 10px;
  cursor: pointer;
}
input[type="file"]::file-selector-button {
  background: var(--shell);
  color: var(--text-color-a);
  border: 0.5px solid white;
  padding: 2px 18px;
  margin-right: 1rem;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: var(--button-shadow);
  transition:
    background 0.3s ease,
    color 0.3s ease,
    border 0.3s ease,
    transform 0.1s ease;
}
input[type="file"]::file-selector-button:hover {
  color: white;
  background: var(--button-hover-background);
}
input[type="file"]::file-selector-button:active {
  background: var(--button-active-background);
  transform: scale(0.98);
}
.shell button {
  width: 100%;
  padding: 12px;
  margin-top: 2rem;
  margin-bottom: 2rem;
  background: var(--shell);
  color: var(--text-color-a);
  border: 0.5px solid white;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: var(--button-shadow);
  transition:
    background 0.3s ease,
    color 0.3s ease,
    border 0.3s ease,
    transform 0.1s ease;
}
.shell button:hover {
  color: white;
  background: var(--button-hover-background);
}
.shell button:active {
  background: var(--button-active-background);
  transform: scale(0.98);
}
.shell button:disabled {
  background: var(--button-disabled-background);
  cursor: not-allowed;
}
.progress-wrap {
  margin-top: 20px;
  background: var(--border-color);
  border-radius: 6px;
  height: 24px;
  overflow: hidden;
  display: none;
}
.progress-bar {
  height: 100%;
  width: 0%;
  margin-left: 0rem;
  background: var(--button-background);
  transition: width 0.1s linear;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
}
.status {
  margin-top: 1rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  min-height: 1.4em;
}
.status.ok {
  color: var(--status-ok);
}
.status.err {
  color: var(--status-err);
}
.chunk-info {
  color: #666;
  font-size: 0.8rem;
  margin-top: 4px;
}
