/* -------------------------------------------------
   🌐 Theme Styles for NSAP Portal
   Author: Suraj Kumar
   ------------------------------------------------- */

/* 🔹 Global Body */
body {
  font-family: "Noto Sans Devanagari", sans-serif;
  background-color: #f9fafb;
  color: #1e293b;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* 🔹 Header Fix & Shadow */
header {
  position: relative;
  z-index: 10;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* 🔹 Title & Subtitle alignment */
header h1 {
  letter-spacing: 0.5px;
  line-height: 1.3;
}

header p {
  font-size: 15px;
  color: #334155;
}

/* 🔹 Navigation Bar */
nav {
  font-weight: 600;
  border-top: 3px solid #1e40af;
  border-bottom: 3px solid #1e40af;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul li a {
  display: inline-block;
  padding: 6px 10px;
  transition: all 0.2s ease-in-out;
}

nav ul li a:hover {
  color: #facc15; /* yellow hover */
}

/* 🔹 Main Section Padding */
main {
  flex: 1;
  padding: 2rem 1rem 5rem; /* bottom padding to make space for footer */
}

/* 🔹 Footer Styling */
footer {
  background: #1e3a8a;
  color: white;
  text-align: center;
  padding: 10px 5px;
  font-size: 14px;
  margin-top: auto;
  border-top: 4px solid #2563eb;
}

footer span {
  color: #93c5fd;
}

/* 🔹 Table Styling */
table {
  border-collapse: collapse;
  width: 100%;
}

table th, table td {
  border: 1px solid #cbd5e1;
  padding: 8px;
  text-align: center;
}

table th {
  background-color: #2563eb;
  color: #fff;
}

/* 🔹 Buttons */
button {
  cursor: pointer;
  transition: background 0.2s ease-in-out;
}

button:hover {
  opacity: 0.9;
}

/* 🔹 Responsive Design */
@media (max-width: 768px) {
  header h1 {
    font-size: 1.2rem;
  }

  header p {
    font-size: 0.9rem;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
  }

  nav ul li {
    margin-bottom: 5px;
  }
}
