/* ===== Global Layout ===== */
body {
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  margin: 0;
  padding: 0;
  color: #333;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

/* ===== Main Container ===== */
.container {
  width: 90%;
  max-width: 1100px;
  background: #ffffff;
  margin: 60px auto;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  padding: 40px;
  animation: fadeIn 0.8s ease-in-out;
}

/* ===== Header ===== */
.header {
  text-align: center;
  margin-bottom: 40px;
}

.header h1 {
  font-size: 2.6em;
  font-weight: 700;
  color: #2a5298;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.header h1 i {
  color: #1e3c72;
  font-size: 1.6em;
}

/* ===== Form Styling ===== */
form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

label {
  font-weight: 600;
  color: #444;
}

input[type="text"] {
  padding: 12px;
  width: 260px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.3s ease;
}

input[type="text"]:focus {
  border-color: #2a5298;
  box-shadow: 0 0 8px rgba(42, 82, 152, 0.4);
  outline: none;
}

button {
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

button:hover {
  background: linear-gradient(135deg, #2a5298, #1e3c72);
  transform: translateY(-2px);
}

/* ===== Section Title ===== */
.section-title {
  text-align: center;
  font-size: 1.8em;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.section-title i {
  color: #2a5298;
}

/* ===== Table Styling ===== */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  border-radius: 8px;
  overflow: hidden;
}

thead tr {
  background: linear-gradient(135deg, #1e3c72, #2a5298);
}

th {
  color: #fff;
  padding: 14px;
  text-align: left;
  font-size: 15px;
  letter-spacing: 0.5px;
}

td {
  padding: 12px;
  border-bottom: 1px solid #eee;
  font-size: 14px;
  color: #444;
}

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

tr:hover {
  background-color: #304c8e;
  transition: background 0.3s ease;
}

/* ===== Footer ===== */
.footer {
  text-align: center;
  margin-top: 40px;
  font-size: 13px;
  color: #666;
}

/* ===== Animations ===== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
