body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f8f8fc;
  color: #333;
}

header {
  background-color: #5f43f3;
  color: white;
  padding: 1rem;
  text-align: center;
}

header h1 {
  margin: 0;
  font-size: 1.8rem;
}

nav {
  margin-top: 0.5rem;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  margin: 0 10px;
}

main {
  max-width: 800px;
  margin: 2rem auto;
  padding: 1rem;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

h2 {
  color: #3e31af;
}

#drop-area {
  border: 2px dashed #5f43f3;
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  background-color: #f2f4ff;
  margin-bottom: 2rem;
}

.upload-form {
  margin-top: 1rem;
}

.custom-file-upload {
  display: inline-block;
  padding: 10px 20px;
  background-color: #5f43f3;
  color: white;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.2s ease;
}

.custom-file-upload:hover {
  background-color: #4a32c9;
}

.primary-btn {
  background-color: #5f43f3;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 10px 20px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 1rem;
  transition: background-color 0.2s ease;
}

.primary-btn:hover {
  background-color: #4a32c9;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

table thead {
  background-color: #f2f4ff;
  color: #3e31af;
  font-weight: bold;
}

table th, table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
}

#analysis-status {
  margin-top: 1rem;
  padding: 1rem;
  background-color: #f8f9ff;
  border-left: 4px solid #5f43f3;
  border-radius: 6px;
  font-size: 0.95rem;
}
