@font-face {
  font-family: aurora;
  /*src: url(RozhaOne-Regular.ttf);*/
  src: url(AURORA-PRO.otf);
}

body {
  font-family: sans-serif;
  text-align: center;
  margin: 0;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-color: #464646;

  color: white;
  font-size: 16px;
}

h2 {
  color: white;
  font-size: 1em;
  text-align: left;
  padding: 10px 10px 0px 0px;
  filter: blur(0.2px);
}

#upload-form {
  margin: 0 auto;
  max-width: 450px;
}

#bpm {
  display: block;
  width: 100%;
  height: 2rem;
  margin-bottom: 1rem;
  border: 1px solid white;
  background-color: transparent;
  color: white;
  padding: 0.2rem 0.2rem;
}

#bpm:focus {
  outline: none;
}

label {
  display: block;
  text-align: left;
  margin-bottom: 0.2rem;
  font-size: 0.6rem;
}

#submit-button {
  margin-bottom: 1rem;
  text-transform: capitalize;
}

.dropzone {
  color: white;
  font-size: 1em;
  border: 2px dashed white;
  min-height: 100px;
  min-width: 200px;
  max-width: 450px;
  padding: 10px 10px 10px 10px;
  vertical-align: middle;
  margin: 10% auto 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.dz-button {
  background: none;
  border: none;
  color: white;
  font-size: 1rem;
}

/* Gradient */

#gradient-canvas {
  z-index: -1;
  position: absolute;
  width: 100vw;
  height: 100%;
  --gradient-color-1: #ffbd84;
  --gradient-color-2: #0089c0;
  --gradient-color-3: #e3c778;
  --gradient-color-4: #ff929e;
}

.parent {
  position: relative;
  padding-top: 25px;
  display: grid;
  grid-template-columns: 1fr repeat(2, 0.7fr) 1fr;
  grid-template-rows: 0.7fr 0.5fr 0.8fr 0.1fr;
  grid-column-gap: 0px;
  grid-row-gap: 0px;
}

.div1 {
  grid-area: 1 / 2 / 2 / 4;
  color: white;
  font-size: 4.5em;
  font-family: aurora;
  text-align: center;
  padding: 0 0px 0.3em 0px;
  filter: blur(0.5px);
  border: 1px solid white;
  min-width: 720px;
}

#main-header {
  max-width: 720px;
  margin: 0 auto;
}

.div2 {
  grid-area: 2 / 2 / 3 / 4;
  border: 1px solid white;
  filter: blur(0.3px);
  font-size: 0.5em;
  padding: 0.3em 0px 0.3em 0px;
  vertical-align: middle;
}

.div2:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* App Description */

.info-wrapper {
  font-size: 0.75rem;
}

.div3 {
  grid-area: 3 / 2 / 4 / 3;
  color: white;
  /* font-size: 0.5em; */
  text-align: left;
  filter: blur(0.3px);
  border: 1px solid white;
  padding: 10% 10% 10% 10%;
}

.div4 {
  grid-area: 3 / 3 / 4 / 4;
  color: white;
  /* font-size: 0.5em; */
  text-align: left;
  filter: blur(0.3px);
  border: 1px solid white;
  padding: 10% 10% 10% 10%;
}

.div5 {
  grid-area: 4 / 2 / 5 / 3;
  color: white;
  font-size: 0.5em;
  text-align: center;
  filter: blur(0.3px);
  border: 1px solid white;
  padding: 3% 10% 3% 10%;
}

.div6 {
  grid-area: 4 / 3 / 5 / 4;
  color: white;
  font-size: 0.5em;
  text-align: center;
  filter: blur(0.3px);
  border: 1px solid white;
  padding: 3% 10% 3% 10%;
}

hr.solid {
  border: 1px solid white;
}

a:link {
  color: white;
}

a:visited {
  color: white;
}

a:hover {
  color: #a1caed;
}

a:focus {
  color: #a1caed;
}

a:active {
  color: red;
}

ul.ul_dec {
  list-style-type: decimal;
  list-style-position: inside;
  padding-left: 0;
}

/* Response Templates */

.message-wrapper {
  display: flex;
  flex-direction: column;
  max-width: 450px;
  min-height: 100px;
  justify-content: center;
  align-items: center;
  margin: 10% auto;
}

.btn-action {
  background: none;
  border: 1px solid white;
  font-size: 1rem;
  padding: 0.3rem 0.7rem;
  border-radius: 15px;
  color: white;
}

.btn-action:hover {
  color: orange !important;
}

a.action-link,
a.action-link:visited {
  text-decoration-line: none;
  color: white !important;
}

a.action-link:hover {
  color: orange !important;
}

.response-message-body {
  font-size: 1.2rem;
  font-weight: 100;
}

.response-message-body-details {
  font-size: 1.2rem;
  font-weight: 100;
  justify-content: left;
  max-width: 450px;
}

.actions {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Enhanced Error Display Styles */
.error-message.message-wrapper {
  animation: fadeIn 0.3s ease-in;
}

.error-content {
  text-align: center;
  padding: 1rem 0;
}

.error-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  animation: bounce 0.6s ease-in-out;
}

.error-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: #fff;
  margin: 0.5rem 0;
  letter-spacing: 0.5px;
}

.response-message-body {
  padding: 1rem 2rem;
  line-height: 1.6;
  font-size: 1rem;
}

/* Upload Progress Styles */
.upload-info.message-wrapper {
  text-align: center;
  padding: 2rem;
  animation: fadeIn 0.3s ease-in;
}

.file-details {
  margin-bottom: 2rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

.file-details p {
  margin: 0.5rem 0;
}

.upload-progress {
  margin: 2rem auto;
}

.upload-progress p {
  margin: 0.5rem 0;
}

.upload-note {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Spinner Animation */
.spinner {
  width: 50px;
  height: 50px;
  margin: 1rem auto;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Validation Error Types */
.size-error .error-icon {
  color: #ff9800;
}

.extension-error .error-icon {
  color: #2196f3;
}

.validation-error .error-icon {
  color: #f44336;
}
