body {
  background: #f7f7fa;
  font-family: "Segoe UI", Arial, sans-serif;
  display: flex;
  flex-direction: column;
}

h4 {
  margin-top: 40px;
  color: #333;
  font-size: 2rem;
  letter-spacing: 1px;
}

#npform {
  background: #fff;
  padding: 2rem 2.5rem 1.5rem 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}
#uploadform {
  background: #fff;
  padding: 2rem 2.5rem 1.5rem 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}

label {
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #444;
}

textarea {
  height: 40cap;
  resize: vertical;
  padding: 0.8rem;
  border: 1.5px solid #cfd8dc;
  border-radius: 8px;
  font-size: 1rem;
  margin-bottom: 1.2rem;
  background: #f9f9fb;
  transition: border 0.2s;
}

textarea:focus {
  border: 1.5px solid #1976d2;
  outline: none;
  background: #fff;
}

#btnsend {
  background: linear-gradient(90deg, #1976d2 60%, #42a5f5 100%);
  color: hsl(0, 0%, 100%);
  border: none;
  border-radius: 8px;
  padding: 0.7rem 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(25, 118, 210, 0.08);
  transition: background 0.2s, transform 0.1s;
}

#btnsend:hover {
  background: linear-gradient(90deg, #1565c0 60%, #1976d2 100%);
  transform: translateY(-2px) scale(1.03);
}

#btnlogout {
  background: linear-gradient(90deg, #b3ff00cc 60%, #00ff0d 100%);
  color: #000000;
  border: none;
  border-radius: 8px;
  padding: 0.7rem 1.5rem;
  font-size: 0.6rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(25, 118, 210, 0.08);
  transition: background 0.2s, transform 0.1s;
}

#btnlogout:hover {
  background: linear-gradient(90deg, #b3ff00cc 60%, #00ff0d 100%);
  transform: translateY(-2px) scale(1.03);
}

#successMsg,
#errorMsg,
#responseText {
  margin-top: 18px;
  font-size: 1.08rem;
  text-align: center;
}

#successMsg {
  color: #388e3c;
}

#errorMsg {
  color: #d32f2f;
}

#responseText {
  color: #1976d2;
  word-break: break-all;
}

#progressContainer {
  background: #e0e2e7;
  border-radius: 8px;
  overflow: hidden;
  height: 24px;
  width: 100%;
  margin-top: 10px;
  visibility: hidden;
  box-shadow: 0 1px 4px rgba(25, 118, 210, 0.08);
}

#progressBar {
  height: 24px;
  width: 0%;
  background: linear-gradient(90deg, #41a382 60%, #51850c 100%);
  border-radius: 8px;
  transition: width 0.2s;
}

#progressText {
  margin-top: 4px;
  font-size: 0.95rem;
  color: #000502;
  text-align: right;
}

.logoutSpan {
  cursor: pointer;
  text-align: right;
  padding-right: 8pt;
}


.container {
  background: #fff;
  margin-top: 80px;
  padding: 2rem 2.5rem 1.5rem 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  min-width: 340px;
  max-width: 90vw;
}
h2 {
  color: #1976d2;
  margin-bottom: 1.2rem;
  font-size: 1.5rem;
  letter-spacing: 1px;
  text-align: center;
}
label {
  font-weight: 500;
  color: #444;
  margin-bottom: 0.5rem;
  display: block;
}
input[type="text"],
input[type="password"] {
  width: 100%;
  padding: 0.7rem;
  margin-bottom: 1.2rem;
  border: 1.5px solid #cfd8dc;
  border-radius: 8px;
  font-size: 1rem;
  background: #f9f9fb;
  transition: border 0.2s;
}
input[type="text"]:focus,
input[type="password"]:focus {
  border: 1.5px solid #1976d2;
  outline: none;
  background: #fff;
}
button {
  background: linear-gradient(90deg, #1976d2 60%, #42a5f5 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.7rem 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  box-shadow: 0 2px 8px rgba(25, 118, 210, 0.08);
  transition: background 0.2s, transform 0.1s;
}
button:hover {
  background: linear-gradient(90deg, #1565c0 60%, #1976d2 100%);
  transform: translateY(-2px) scale(1.03);
}
#errorMsg {
  color: #d32f2f;
  margin-top: 1rem;
  text-align: center;
  display: none;
}
#successMsg {
  color: #388e3c;
  margin-top: 1rem;
  text-align: center;
  display: none;
}

ul {
  list-style: none;
}

li {
  padding: 5px 5px;
}

a {
  color: black;
  text-decoration: underline;
}

.material-icons {
  vertical-align: middle;
  padding-right: 5px;
  font-size: 24pt;
}
@keyframes float {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(30px, -50px) rotate(10deg);
  }
  66% {
    transform: translate(-20px, 20px) rotate(-10deg);
  }
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}
.astronaut {
  animation: float 6s ease-in-out infinite;
  font-size: 80px;
}
.star {
  position: absolute;
  background: white;
  border-radius: 50%;
  opacity: 0.5;
  animation: twinkle var(--duration) infinite;
}
@keyframes twinkle {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}


.container {
  background: #fff;
  margin-top: 60px;
  padding: 2rem 2.5rem 1.5rem 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  min-width: 340px;
  max-width: 90vw;
}
h2 {
  color: #1976d2;
  margin-bottom: 1.2rem;
  font-size: 1.5rem;
  letter-spacing: 1px;
}
pre {
  background: #f9f9fb;
  border: 1.5px solid #cfd8dc;
  border-radius: 8px;
  padding: 1rem;
  font-size: 1.08rem;
  color: #222;
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0;
}
.footer {
  margin-top: 2.5rem;
  color: #888;
  font-size: 0.95rem;
}
