/* General Reset and Fonts */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Body Background */
body {
  background: linear-gradient(135deg, #f0f4ff, #dbe6ff);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  padding: 20px;
}

/* Glassmorphism Container */
.container {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 2.5rem;
  max-width: 700px;
  width: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  text-align: center;
  animation: fadeIn 0.8s ease;
}

/* Fade-in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Heading */
.container h1 {
  font-size: 2.2rem;
  color: #1a1a2e;
  margin-bottom: 1.5rem;
}

/* Labels */
label {
  display: block;
  text-align: left;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: #333;
}

/* File input and Textarea */
input[type="file"],
textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 12px;
  font-size: 1rem;
  background-color: #f9f9f9;
  transition: 0.3s ease;
  margin-bottom: 1rem;
}

input[type="file"]:hover,
textarea:focus {
  border-color: #007bff;
  background-color: #eef6ff;
}

/* Analyze Button */
#analyzeBtn {
  margin-top: 1rem;
  width: 100%;
  padding: 0.8rem;
  background: linear-gradient(to right, #007bff, #0056d2);
  color: white;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#analyzeBtn:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 15px rgba(0, 123, 255, 0.4);
}

/* Results Section */
#results {
  margin-top: 2rem;
  padding: 1.2rem;
  background-color: #e9f5ff;
  border-radius: 12px;
  text-align: left;
}

#results h2 {
  color: #007bff;
  margin-bottom: 0.5rem;
}

#results p {
  margin: 0.3rem 0;
  font-size: 1rem;
  color: #333;
}

/* Hidden Utility */
.hidden {
  display: none;
}

/* Responsive */
@media (max-width: 600px) {
  .container {
    padding: 1.5rem;
  }

  .container h1 {
    font-size: 1.8rem;
  }

  #analyzeBtn {
    font-size: 0.95rem;
  }
}
.footer {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.95rem;
  color: #555;
  opacity: 0.8;
}

.footer a {
  color: #007bff;
  text-decoration: none;
  font-weight: 600;
}

.footer a:hover {
  text-decoration: underline;
}
