/* Base Reset & Font */
 body {
      font-family: Arial, sans-serif;
      padding: 20px;
      background: #f9f9f9;
      margin: 0;
      font-size: x-small;
    }
.navbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      background-color: #081f36;
      padding: 10px 20px;
      color: white;
      margin-bottom: 30px;
    }

    .navbar a {
      color: white;
      text-decoration: none;
      margin: 0 10px;
      font-weight: bold;
    }

    .navbar a:hover {
      text-decoration: underline;
    }

    .nav-left {
      font-size: 12pt;
      font-weight: bold;
    }

    .nav-right {
      display: flex;
    }

    .container {
      display: flex;
      align-items: center;
      justify-content: center;
      height: calc(100vh - 60px); /* account for navbar height */
    }
    .submit {
  width: 100%;
  margin-top: 20px;
}

/* Header */
header {
  text-align: center;
  margin-bottom: 30px;
  font-size: 24px;
  font-weight: bold;
  color: #007BFF;
}

/* Table Styles */
table {
  width: 100%;
  max-width: 900px;
  margin: 20px auto;
  border-collapse: collapse;
  background-color: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  border-radius: 6px;
  overflow: hidden;
}

th, td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
}

th {
  background-color: #f0f4f8;
  font-weight: 600;
}

/* Input & Button Styles */
input, button {
  padding: 10px 12px;
  margin: 8px 0;
  font-size: 14px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

input:focus {
  border-color: #007BFF;
  outline: none;
}
.modal-content button {
  width: 100%;
  margin-top: 20px;
}

button {
  background-color: #081f36;
  color: white;
  border: none;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #0056b3;
}

/* Modal Overlay */
.modal {
  display: none;
  position: fixed;
  z-index: 10;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  justify-content: center;
  align-items: center;
}

/* Modal Content */
.modal-content {
  background-color: #ffffff;
  margin: auto;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 600px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* Close Button */
.close-button {
  float: right;
  font-size: 24px;
  font-weight: bold;
  color: #aaa;
  cursor: pointer;
}

.close-button:hover {
  color: #000;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
}

.form-group input {
  width: 100%;
  padding: 10px;
  font-size: 14px;
  box-sizing: border-box;
}

.full-width {
  grid-column: 1 / -1; /* button spans full row */
}

.modal-content form {
  margin-top: 20px;
}
