/* Base Styling */
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(to right, #e0f7fa, #f1f8ff);
  color: #2c3e50;
}

/* Container */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 50px 20px;
}

/* Title */
h2 {
  text-align: center;
  color: #1565c0;
  font-weight: 700;
  margin-bottom: 40px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Form Panel */
form {
  background: rgba(255, 255, 255, 0.85);
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(21, 101, 192, 0.1);
  backdrop-filter: blur(6px);
}

.form-label {
  color: #0d47a1;
  font-weight: 600;
}

.form-select {
  background: #ffffff;
  border: 2px solid #bbdefb;
  color: #2c3e50;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.form-select:focus {
  border-color: #42a5f5;
  box-shadow: 0 0 6px #42a5f5;
}

/* Buttons */
button {
  border-radius: 12px;
  font-weight: 600;
  padding: 10px 20px;
  border: none;
  transition: all 0.2s ease-in-out;
}

#resetBtn {
  background: #ef5350;
  color: white;
}

#resetBtn:hover {
  background: #d32f2f;
  box-shadow: 0 0 8px #ef9a9a;
}

#exportBtn {
  background: #42a5f5;
  color: white;
}

#exportBtn:hover {
  background: #1e88e5;
  box-shadow: 0 0 8px #90caf9;
}

/* Table Results */
table {
  margin-top: 30px;
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(21, 101, 192, 0.1);
}

th, td {
  padding: 14px;
  text-align: left;
}

thead {
  background: #1976d2;
  color: #fff;
}

tbody tr:nth-child(even) {
  background-color: #f1f8ff;
}

tbody tr:hover {
  background-color: #e3f2fd;
  transition: background 0.2s ease;
}

/* Message/alert */
.alert {
  margin-top: 20px;
  background: #ffffff;
  border-left: 5px solid #42a5f5;
  color: #2c3e50;
  padding: 20px;
  border-radius: 10px;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
  form .row > div {
    margin-bottom: 20px;
  }
}
.portal-link {
  text-decoration: none;
  color: white;
  background: #42a5f5;
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 24px;
  font-weight: 700;
  box-shadow: 0 0 8px #90caf9;
  transition: background 0.2s ease-in-out;
}

.portal-link:hover {
  background: #1e88e5;
  box-shadow: 0 0 10px #64b5f6;
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 8px #90caf9;
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 16px #42a5f5;
    transform: scale(1.05);
  }
  100% {
    box-shadow: 0 0 8px #90caf9;
    transform: scale(1);
  }
}

.portal-link {
  display: inline-block;
  text-decoration: none;
  color: white;
  background: #42a5f5;
  padding: 10px 24px;
  border-radius: 12px;
  font-size: 20px;
  font-weight: 600;
  animation: pulseGlow 2.5s infinite ease-in-out;
  transition: background 0.2s ease-in-out, transform 0.2s ease-in-out;
  margin-bottom: 20px;
}

.portal-link:hover {
  background: #1e88e5;
  box-shadow: 0 0 20px #64b5f6;
  transform: scale(1.08);
}

