:root {
  --light-blue: #b4d5e7;
  --dark-blue: #66a2d6;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Inter", serif !important;
  background: rgba(102, 162, 214, 0.05) !important;
}

h1 {
  text-align: center;
}

/* table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background-color: #f4f4f4;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.25);
} */

/* th,
td {
  padding: 8px;
  text-align: left;
  color: #181c32 !important;
}

td {
  cursor: pointer;
}

th {
  text-transform: uppercase;
  font-size: 14px;
}

tr.expanded-row td {
  background-color: #f4f4f4;
} */
.searchInput {
  box-shadow: none !important;
}
.searchInput:focus {
  border-color: #181c32 !important;
}
.main_image {
  max-width: 900px; /* Ensure the container spans the full width */
  text-align: center;
  margin: auto;
  margin-top: 56px;
  padding: 30px 0;
  height: auto; /* Remove fixed height and let it adjust dynamically */
}

.main_image img {
  max-width: 100%; /* Ensure the image doesn't exceed the container's width */
  height: auto; /* Maintain aspect ratio */
  object-fit: contain; /* Optional: Keep this for proportional scaling */
}
.page-item .page-link {
  color: #181c32 !important;
}
.page-item .page-link:focus {
  box-shadow: none !important;
}

.page-item.active .page-link {
  color: white !important;
  background-color: #181c32 !important;
}

.hrDivider {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}
.hidden-row {
  display: none;
}

.page-button {
  padding: 5px 10px;
  margin: 0 2px;
  cursor: pointer;
  border: 1px solid #ddd;
  background-color: #f9f9f9;
  border-radius: 4px;
}

.page-button.active {
  background-color: #007bff;
  color: white;
  border-color: #007bff;
}

.page-button:hover {
  background-color: #007bff;
  color: white;
}

.ellipsis {
  padding: 5px;
}

.search-input {
  border-radius: 5px;
  padding: 3px;
  border: 1px solid #ccc;
  margin-top: 6px;
}
.sortBtn {
  background-color: transparent;
  border: none;
  margin-left: 5px;
}
.extraDetails {
  cursor: default;
  pointer-events: none;
  background-color: #f8f9fa !important;
  box-shadow: inset 0 0px 5px rgba(0, 0, 0, 0.1) !important;
}
.extraDetails:hover {
  background-color: #f8f9fa !important;
}

.custom-badge {
  display: inline-block;
  padding: 2px 6px;
  margin: 5px;
  border-radius: 5px;
  font-weight: 500;
  font-size: 12px;
  text-transform: capitalize;
}
/* Style for the category tree */
.category-tree {
  list-style-type: none; /* Remove default bullet points */
  margin-top: 10px;
  background-color: rgba(102, 162, 214, 0.15);
  padding: 5px;
  border-radius: 5px;
}

/* Parent category styling */
.parent-category {
}

/* Sub-category styling */
.sub-category {
  padding-left: 15px; /* Indent sub-category */
}

.sub-category span {
  padding-left: 0; /* Indent sub-category */
  font-size: 0.5em; /* Slightly smaller font size for sub-category */
  color: #888; /* Lighter color for sub-category */
  font-size: 20px;
  display: inline-block;
  position: relative;
  top: 3px;
  left: -15px;
}

.table-responsive {
  border-radius: 10px; /* Add curved corners */
  border: 1px solid #e0e0e0; /* Add outer border */
  background-color: var(--white);
  padding-bottom: 15px;
}

.table-responsive td {
  min-width: 200px;
  font-size: 14px;
  vertical-align: middle;
  color: #717275;
}

.table-responsive td.small_td {
  min-width: 150px !important;
}

.table-responsive td.large_td {
  min-width: 300px !important;
  text-align: justify;
}

table {
  border-collapse: collapse; /* Ensures the cells respect the border-radius */
  background-color: var(--white);
}

table thead th {
  background-color: rgba(102, 162, 214, 0.15) !important;
  border: 1px solid #e0e0e0;
  border-top: none !important;
  font-weight: 600 !important;
  font-size: 14px;
  padding: 10px !important;
  text-align: center;
}

table thead th:first-of-type {
  border-radius: 10px 0 0 0; /* Top-left corner */
  border-left: none !important;
}

table thead th:last-of-type {
  border-radius: 0 10px 0 0; /* Top-right corner */
  border-right: none !important;
}

table tbody tr:last-child td:first-of-type {
  border-radius: 0 0 0 10px; /* Bottom-left corner */
}

table tbody tr:last-child td:last-of-type {
  border-radius: 0 0 10px 0; /* Bottom-right corner */
}

table tbody tr td:first-of-type {
  border-left: 0 !important;
}

table tbody tr td:last-of-type {
  border-right: 0 !important;
}

table tbody tr:last-child td {
  border-bottom: 0 !important;
}

table tbody td {
  background-color: white;
  border: 1px solid #e0e0e0;
  cursor: pointer;
}

table.table-noHover tbody td {
  background-color: white;
  border: 1px solid #e0e0e0;
  cursor: default !important;
}
nav {
  position: fixed !important;
  top: 0;
  left: 0;
  z-index: 999;
  width: 100%;
  background-color: var(--dark-blue) !important;
}
.navbar-brand {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  color: var(--light-blue);
}
.navbar-brand div {
  display: flex;
  justify-content: center;
  align-items: center;
}
.navbar-brand div i {
  margin-left: -6px;
  margin-right: -6px;
}
.Pending_status span {
  background-color: #d6f2ff !important;
  color: #007bff !important;
  padding: 5px 15px;
  border-radius: 5px;
}
.Approved_status span {
  background-color: #dff9e4 !important;
  color: #28a745 !important;
  padding: 5px 15px;
  border-radius: 5px;
}
.Rejected_status span {
  background-color: #fee6e5 !important;
  color: #dc3545 !important;
  padding: 5px 15px;
  border-radius: 5px;
}
.editPaperForm {
  background-color: red !important;
}

.editPaperForm input {
  background-color: red !important;
}

.doi-link {
  color: #007bff;
  text-decoration: none;
  font-size: 11px;
  word-break: break-all;
}
.doi-link:hover { text-decoration: underline; }

.kw-badge {
  background-color: #f0f0f0 !important;
  color: #333 !important;
  border: 1px solid #ddd;
}

.flag-badge {
  font-size: 10px !important;
  padding: 1px 5px !important;
}
.export_button {
  text-align: right;
}
.table_header {
  padding-top: 30px;
  padding-bottom: 30px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

/* Sub-labels for grouped columns (Issue 1) */
.col-sublabel {
  display: block;
  font-size: 10px;
  color: #888;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 2px;
  margin-top: 4px;
}
