/* ===============================
   Global Styles
================================ */
body {
  font-family: "Segoe UI", sans-serif;
  background: linear-gradient(135deg, #f4f7fb, #eef1f8);
  margin: 0;
  padding: 25px;
  color: #2c3e50;
}

/* ===============================
   Hero Header
================================ */
.hero {
  background: linear-gradient(135deg, #5a7efc, #7f53ff);
  padding: 45px 20px 35px;
  border-radius: 18px;
  margin-bottom: 30px;
  box-shadow: 0 12px 32px rgba(90, 126, 252, 0.35);
}

.hero-content {
  text-align: center;
  color: #ffffff;
}

.hero-content h1 {
  margin: 0;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0.6px;
}

.hero-content .subtitle {
  margin-top: 8px;
  font-size: 15px;
  font-weight: 400;
  opacity: 0.9;
}

.login-badge {
  display: inline-block;
  margin-top: 18px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  backdrop-filter: blur(6px);
}

/* ===============================
   Card Layout
================================ */
.card {
  background: #ffffff;
  padding: 22px;
  margin-bottom: 22px;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.card h2 {
  margin-bottom: 15px;
  color: #1f3c88;
}

/* ===============================
   Inputs & Buttons
================================ */
input {
  width: 100%;
  padding: 12px;
  margin: 8px 0 14px;
  border-radius: 8px;
  border: 1px solid #ccd6f6;
  font-size: 14px;
}

input:focus {
  outline: none;
  border-color: #5a7efc;
}

.primary-btn {
  background: linear-gradient(135deg, #5a7efc, #7f53ff);
  color: white;
  border: none;
  padding: 12px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

.primary-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.secondary-btn {
  margin-top: 15px;
  background: #e8edff;
  color: #1f3c88;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

.secondary-btn:hover {
  background: #dbe3ff;
}

/* ===============================
   Statistics Section
================================ */
.stats {
  display: flex;
  gap: 20px;
  margin-bottom: 22px;
}

.stat-box {
  flex: 1;
  background: white;
  padding: 18px;
  text-align: center;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.stat-box span {
  display: block;
  font-size: 13px;
  color: #6b728e;
}

.stat-box b {
  font-size: 22px;
  color: #1f3c88;
}

/* ===============================
   Table Styles
================================ */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

th {
  background: #eef1ff;
  color: #1f3c88;
  padding: 12px;
  font-size: 14px;
}

td {
  padding: 10px;
  text-align: center;
  border-bottom: 1px solid #e5e7eb;
}

tr:hover {
  background: #f7f9ff;
}

/* ===============================
   Progress Bar
================================ */
.progress {
  background: #e5e7eb;
  border-radius: 10px;
  height: 10px;
}

.progress-bar {
  height: 10px;
  background: linear-gradient(135deg, #5a7efc, #7f53ff);
  border-radius: 10px;
}

/* ===============================
   Download Button Fix
================================ */
#downloadBtn {
  margin-top: 18px;
}
