body {
  font-family: 'Poppins', sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: row;
  overflow-x: hidden;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

.table-cell {
  min-width: 240px;
  max-height: 100px;
  overflow-y: auto;
}

#results-area .bg-white {
  background-color: transparent;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(229, 231, 235, 0.5);
}

#result-table tr {
  border-bottom: 1px solid rgba(229, 231, 235, 0.5);
}

#result-table th,
#result-table td {
  padding: 0.75rem;
}

#result-table th {
  background-color: transparent;
  color: #1a4731;
  font-weight: 600;
  border-bottom: 2px solid green
}

#review-content {
  line-height: 1.8;
}

.main-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  margin-top: 15vh;
}

.progress-container {
  margin-top: 1.5rem;
  padding: 1rem 0;
}

.progress-info {
  margin-bottom: 1rem;
  text-align: center;
}

.progress-status {
  font-size: 1rem;
  font-weight: 500;
  color: #1a4731;
  margin-bottom: 0.5rem;
}

.progress-time {
  font-size: 0.875rem;
  color: #4b5563;
}

.progress-bar-container {
  position: relative;
  background-color: #f3f4f6;
  border-radius: 9999px;
  height: 0.75rem;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background-color: #10b981;
  transition: width 0.5s ease-in-out;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.progress-bar.low {
  background-color: #34d399;
}

.progress-bar.medium {
  background-color: #10b981;
}

.progress-bar.high {
  background-color: #059669;
}

.progress-percent {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

.results-container {
  margin-top: 3rem;
}

#inputArea {
  position: relative;
  overflow: visible;
}

#inputArea::before,
#inputArea::after,
#inputArea .wave-line-1,
#inputArea .wave-line-2 {
  content: '';
  position: absolute;
  border-radius: 1.5rem;
  pointer-events: none;
  opacity: 1;
  z-index: -1;
  transition: all 0.3s ease;
}

#inputArea::before {
  inset: -3px;
  border: 1px solid rgba(16, 185, 129, 0.2);
  animation: wave1 8s infinite linear;
}

#inputArea::after {
  inset: -5px;
  border: 1px solid rgba(16, 185, 129, 0.15);
  animation: wave2 12s infinite linear;
}

#inputArea .wave-line-1 {
  inset: -7px;
  border: 1px solid rgba(16, 185, 129, 0.1);
  animation: wave3 15s infinite linear;
}

#inputArea .wave-line-2 {
  inset: -9px;
  border: 1px solid rgba(16, 185, 129, 0.05);
  animation: wave4 20s infinite linear;
}

.edge-glow {
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.3);
  border-color: rgba(16, 185, 129, 0.5) !important;
}

#inputArea:focus-within {
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
  border-color: rgba(16, 185, 129, 0.7) !important;
}

#inputArea:hover::before,
#inputArea:focus-within::before {
  animation: wave1-hover 6s infinite linear;
}

#inputArea:hover::after,
#inputArea:focus-within::after {
  animation: wave2-hover 8s infinite linear;
}

#inputArea:hover .wave-line-1,
#inputArea:focus-within .wave-line-1 {
  animation: wave3-hover 10s infinite linear;
}

#inputArea:hover .wave-line-2,
#inputArea:focus-within .wave-line-2 {
  animation: wave4-hover 12s infinite linear;
}

@keyframes wave1 {
  0% {
    transform: scale(1) rotate(0deg);
  }

  33% {
    transform: scale(1.01) rotate(1deg);
  }

  66% {
    transform: scale(0.99) rotate(-1deg);
  }

  100% {
    transform: scale(1) rotate(0deg);
  }
}

@keyframes wave2 {
  0% {
    transform: scale(1) rotate(0deg);
  }

  25% {
    transform: scale(1.02) rotate(-1deg);
  }

  50% {
    transform: scale(1) rotate(1deg);
  }

  75% {
    transform: scale(0.98) rotate(0deg);
  }

  100% {
    transform: scale(1) rotate(0deg);
  }
}

@keyframes wave3 {
  0% {
    transform: scale(1) rotate(0deg);
  }

  20% {
    transform: scale(0.98) rotate(1deg);
  }

  40% {
    transform: scale(1.01) rotate(0deg);
  }

  60% {
    transform: scale(1) rotate(-1deg);
  }

  80% {
    transform: scale(0.99) rotate(0.5deg);
  }

  100% {
    transform: scale(1) rotate(0deg);
  }
}

@keyframes wave4 {
  0% {
    transform: scale(1) rotate(0deg);
  }

  20% {
    transform: scale(1.01) rotate(-0.5deg);
  }

  40% {
    transform: scale(0.99) rotate(1deg);
  }

  60% {
    transform: scale(1.02) rotate(0deg);
  }

  80% {
    transform: scale(1) rotate(-1deg);
  }

  100% {
    transform: scale(1) rotate(0deg);
  }
}

@keyframes wave1-hover {
  0% {
    transform: scale(1) rotate(0deg);
  }

  33% {
    transform: scale(1.03) rotate(2deg);
  }

  66% {
    transform: scale(0.97) rotate(-2deg);
  }

  100% {
    transform: scale(1) rotate(0deg);
  }
}

@keyframes wave2-hover {
  0% {
    transform: scale(1) rotate(0deg);
  }

  25% {
    transform: scale(1.04) rotate(-2deg);
  }

  50% {
    transform: scale(1) rotate(2deg);
  }

  75% {
    transform: scale(0.96) rotate(0deg);
  }

  100% {
    transform: scale(1) rotate(0deg);
  }
}

@keyframes wave3-hover {
  0% {
    transform: scale(1) rotate(0deg);
  }

  20% {
    transform: scale(0.96) rotate(2deg);
  }

  40% {
    transform: scale(1.03) rotate(0deg);
  }

  60% {
    transform: scale(1) rotate(-2deg);
  }

  80% {
    transform: scale(0.97) rotate(1deg);
  }

  100% {
    transform: scale(1) rotate(0deg);
  }
}

@keyframes wave4-hover {
  0% {
    transform: scale(1) rotate(0deg);
  }

  20% {
    transform: scale(1.03) rotate(-1deg);
  }

  40% {
    transform: scale(0.97) rotate(2deg);
  }

  60% {
    transform: scale(1.04) rotate(0deg);
  }

  80% {
    transform: scale(1) rotate(-2deg);
  }

  100% {
    transform: scale(1) rotate(0deg);
  }
}

@keyframes subtle-pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(16, 185, 129, 0);
  }

  50% {
    transform: scale(1.005);
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.2);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(16, 185, 129, 0);
  }
}

.input-area-animation {
  animation: subtle-pulse 2s ease-in-out infinite;
}

#inputArea:focus-within {
  animation: none;
  transform: scale(1);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.2);
}

#inputArea:hover::before,
#inputArea:hover::after,
#inputArea:hover .wave-line-1,
#inputArea:hover .wave-line-2,
#inputArea.show-waves::before,
#inputArea.show-waves::after,
#inputArea.show-waves .wave-line-1,
#inputArea.show-waves .wave-line-2 {
  opacity: 1;
}

@keyframes wave1 {
  0% {
    transform: scale(1) rotate(0deg);
  }

  33% {
    transform: scale(1.01) rotate(1deg);
  }

  66% {
    transform: scale(0.99) rotate(-1deg);
  }

  100% {
    transform: scale(1) rotate(0deg);
  }
}

@keyframes wave2 {
  0% {
    transform: scale(1) rotate(0deg);
  }

  25% {
    transform: scale(1.02) rotate(-1deg);
  }

  50% {
    transform: scale(1) rotate(1deg);
  }

  75% {
    transform: scale(0.98) rotate(0deg);
  }

  100% {
    transform: scale(1) rotate(0deg);
  }
}

@keyframes wave3 {
  0% {
    transform: scale(1) rotate(0deg);
  }

  20% {
    transform: scale(0.98) rotate(1deg);
  }

  40% {
    transform: scale(1.01) rotate(0deg);
  }

  60% {
    transform: scale(1) rotate(-1deg);
  }

  80% {
    transform: scale(0.99) rotate(0.5deg);
  }

  100% {
    transform: scale(1) rotate(0deg);
  }
}

@keyframes wave4 {
  0% {
    transform: scale(1) rotate(0deg);
  }

  20% {
    transform: scale(1.01) rotate(-0.5deg);
  }

  40% {
    transform: scale(0.99) rotate(1deg);
  }

  60% {
    transform: scale(1.02) rotate(0deg);
  }

  80% {
    transform: scale(1) rotate(-1deg);
  }

  100% {
    transform: scale(1) rotate(0deg);
  }
}

@keyframes subtle-pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(16, 185, 129, 0);
  }

  50% {
    transform: scale(1.005);
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.2);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(16, 185, 129, 0);
  }
}

.input-area-animation {
  animation: subtle-pulse 2s ease-in-out 3;
}

.progress-bar::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 0px;
  background-color: transparent;
  box-shadow: 0 0 5px 2px rgba(255, 255, 255, 0.7);
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 5px 2px rgba(255, 255, 255, 0.7);
  }

  50% {
    box-shadow: 0 0 10px 4px rgba(255, 255, 255, 0.9);
  }

  100% {
    box-shadow: 0 0 5px 2px rgba(255, 255, 255, 0.7);
  }
}

.progress-bar[style="width: 0%"]::after {
  display: none;
}

.content-wrapper {
  transition: margin-left 0.3s ease;
  width: 100%;
}

.sidebar {
  position: fixed;
  top: 0;
  left: -350px;
  width: 350px;
  height: 100vh;
  background-color: white;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  z-index: 40;
  transition: left 0.3s ease;
  overflow-y: auto;
}

.sidebar.open {
  left: 0;
}

.content-wrapper.sidebar-open {
  margin-left: 300px;
}

.sidebar-toggle-area {
  position: fixed;
  top: 0;
  left: 0;
  width: 60px;
  height: 100vh;
  background-color: rgba(4, 99, 42, 0.715);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 1.5rem;
  z-index: 30;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.sidebar-toggle {
  background-color: transparent;
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 1rem;
}

.sidebar-toggle:hover {
  transform: scale(1.1);
}

.sidebar-register {
  background-color: transparent;
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 1rem;
}

.sidebar-register:hover {
  transform: scale(1.1);
}


.sidebar-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.sidebar-content {
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.sidebar-header {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
}

.sidebar-body {
  flex: 1;
}

.sidebar-footer {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
  text-align: center;
}

.main-container {
  transition: margin-left 0.3s ease;
  margin-left: 60px;
}

@media (max-width: 768px) {
  .sidebar {
    width: 250px;
  }

  .content-wrapper.sidebar-open {
    margin-left: 0;
  }

  .sidebar.open {
    left: 0;
  }

  .sidebar-toggle-area {
    width: 50px;
  }

  .main-container {
    margin-left: 50px;
  }
}