/* Basic Reset */
* {
  
  margin: 0;
  padding: 0;
}

/* General Page Styles */
body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  padding: 20px;
}

/* Main Container */
.container {
  
  margin: 0 auto;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Headings */
h1, h2 {
  text-align: center;
  color: #333;
  margin-bottom: 15px;
}

/* Forms */
form {
  background: #fafafa;
  padding: 15px;
  border-radius: 6px;
  border: 1px solid #ddd;
  margin-bottom: 20px;
}

form input[type="text"],
form input[type="number"] {
  width: calc(100% - 22px);
  padding: 10px;
  margin: 5px 0;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
}

/* Buttons */
button {
  width: 100%;
  padding: 10px 15px;
  background-color: #28a745;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  margin-top: 10px;
  text-align: center;
}

button:hover {
  background-color: #218838;
}

/* Buttons container */
#buttonsDiv {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

#buttonsDiv button {
  width: 48%;
}



/* Responsive Design */
@media (max-width: 600px) {
  #buttonsDiv {
    flex-direction: column;
  }

  #buttonsDiv button {
    width: 100%;
    margin-bottom: 10px;
  }
}
table {
  width: 100%;
  border-spacing: 0; /* Replace border-collapse: collapse; */
}

th, td {
  border: 1px solid #000; /* Add borders to all sides */
  padding: 8px; /* Add padding inside cells */
  text-align: center;
  box-sizing: border-box; /* Ensure borders are included in cell dimensions */
}

/* Remove double borders between cells */
th + th,
td + td,
th + td,
td + th {
  border-left: none; /* Remove left border for adjacent cells */
}

/* Force the right border on the rightmost cells */
th:last-child,
td:last-child {
  border-right: 1px solid #000 !important; /* Ensure the right border is visible */
}

th {
  background-color: #faf1f0;
  color: black;
}
/* Style for the blank column */
.blank-column {
  width: 1px !important; /* Force 1px width */
  border-right: 1px solid #000 !important; /* Force right border */
  padding: 0 !important; /* Remove padding */
  margin: 0 !important; /* Remove margin */
  min-width: 1px !important; /* Prevent collapse */
  box-sizing: border-box !important; /* Include border in width */
}
/* Style for the "क्रमांक" (Serial Number) column */
td:first-child,
th:first-child {
  width: 1%;            /* Minimal width to shrink the column */
  white-space: nowrap;  /* Prevent wrapping to keep it compact */
  font-weight: bold;
  background-color: #f0f8ff; /* Light blue shade */
  color: #333;
  text-align: center;
}
