/* =========================================
				Hero Styles
========================================= */
.nnln-hero {
	background-image: url('../img/banner/lab-banner.png');
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	padding: 60px 0;
	text-align: center;
	color: white;
	position: relative;
	overflow: hidden;
}

.nnln-hero #particles-js {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.nnln-hero .container {
	position: relative;
	z-index: 2;
}

.nnln-hero-title {
	color: #ffffff;
	font-size: 22px;
	font-weight: 700;
	margin-bottom: 10px;
	letter-spacing: 1px;
}

.nnln-hero-subtitle {
	font-size: 18px;
	opacity: 0.9;
	font-weight: 300;
}

/* ============================================
				Search Styles
============================================ */
.nnln-table-section {
	padding: 40px 0;
	background: #ffffff;
}

.nnln-container {
	width: 100%;
	margin: 0 auto;
	padding: 0 1.5dvw;
	box-sizing: border-box;
}

@media (min-width: 768px) {
	.nnln-container {
		padding: 0 2.5dvw;
	}
}

@media (min-width: 1200px) {
	.nnln-container {
		padding: 0 3.5dvw;
	}
}

@media (min-width: 1600px) {
	.nnln-container {
		padding: 0 4.5dvw;
	}
}

@media (min-width: 1920px) {
	.nnln-container {
		padding: 0 5dvw;
	}
}

.nnln-search-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: 20px;
}

.nnln-search-input {
	flex: 1 1 auto;
	min-width: 0;
	width: 100%;
	max-width: none;
    padding: 14px 20px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.3s ease;
    position: relative;
    z-index: 0;
    pointer-events: auto !important;
}

.nnln-search-container .search-controls {
	flex: 0 0 auto;
	display: flex;
	gap: 10px;
	align-items: center;
}

.nnln-search-input:focus {
	border-color: #3b5998;
	box-shadow: 0 0 0 3px rgba(59, 89, 152, 0.1);
}

.per-page-select {
	padding: 12px 44px 12px 20px;
	border-radius: 8px;
	background-color: #fff;
	border: 1px solid #acafb4;
	color: #111827;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 11px;
	min-height: 48px;
}

.nnln-filter-panel {
   position: static;
   width: 100%;
   margin-top: 12px;
   background: #fff;
   border: 1px solid #e5e7eb;
   box-shadow: 0 4px 16px rgba(16,24,40,0.08);
   padding: 10px 10px 16px 10px;
   border-radius: 6px;
   pointer-events: auto;
   max-height: 0;
   opacity: 0;
   transform: translateY(-8px);
   overflow: hidden;
   transition: max-height 320ms cubic-bezier(.2,.9,.2,1), opacity 220ms ease, transform 260ms ease;
}

.nnln-filter-panel.open {
   max-height: 1400px;
   opacity: 1;
   transform: translateY(0);
}

.filter-grid { 
   display: grid; 
   grid-template-columns: repeat(2, 1fr); 
   gap: 20px; 
}

.filter-column { 
   border-right: 1px solid #f3f4f6; 
   padding-right: 18px; 
}

.filter-column:last-child { 
   border-right: none; 
   padding-right: 0; 
}

.filter-search { 
   width: 100%; 
   padding: 8px 10px; 
   border: 0; 
   border-bottom: 1px solid #e6e6e6; 
   outline: none; 
}

.filter-list { 
   margin-top: 12px; 
   max-height: 280px; 
   overflow: auto; 
   padding-right: 6px; 
}

.filter-item { 
   display: flex; 
   align-items: center; 
   gap: 10px; 
   padding: 6px 0; 
   color: #111827; 
}

.filter-actions { 
   display: flex; 
   justify-content: flex-end; 
   gap: 10px; 
   margin-top: 12px; 
}

.filter-actions button { 
   padding: 8px 12px; 
   border-radius: 6px; 
   border: 1px solid #d1d5db; 
   background: #fff; 
   cursor: pointer; 
}

.filter-actions .apply-btn { 
   background: #0b4a8d; 
   color: #fff; 
   border-color: #111827; 
}

.filter-actions button:hover {
   opacity: 0.9;
}

.nnln-filter-btn {
   display: inline-flex;
   align-items: center;
   gap: 20px;
   padding: 12px 20px;
   border-radius: 8px;
   background: #fff;
   border: 1px solid #acafb4;
   color: #111827;
   cursor: pointer;
   min-height: 48px;
}

.nnln-filter-btn:hover { 
   background-color: #eeeeee; 
}

.nnln-filter-btn:active { 
   transform: scale(0.985); 
}

.nnln-filter-btn .filter-icon, .nnln-filter-btn .dropdown-icon { 
   width: 16px; 
   height: 16px; 
}

/* ============================================
				Table Styles
============================================ */
#nnlnTable {
	width: 100%;
	border-collapse: collapse;
	margin-top: 20px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.details-btn {
  background-color: #2563eb;
  color: white;
  padding: 7px 14px;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: block;
  transition: background-color 0.3s, transform 0.2s;
  margin-bottom: 8px;
  width: 100%;
  max-width: 120px;
  text-align: center;
}

.details-btn:hover {
  background-color: #1e40af;
  transform: scale(1.05);
  color: white;
  text-decoration: none;
}

.details-btn:active {
  transform: scale(0.98);
}

.enquiries-btn {
  background-color: #059669;
  color: white;
  padding: 7px 14px;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: block;
  transition: background-color 0.3s, transform 0.2s;
  width: 100%;
  max-width: 120px;
  text-align: center;
}

.enquiries-btn:hover {
  background-color: #047857;
  transform: scale(1.05);
  color: white;
  text-decoration: none;
}

.enquiries-btn:active {
  transform: scale(0.98);
}

.table-scroll { 
	width: 100%; 
	overflow-x: auto; 
}

#nnlnTable th,
#nnlnTable td {
	padding: 12px 15px;
	text-align: left;
	border-bottom: 1px solid #e5e7eb;
}

#nnlnTable th {
	background: #f3f4f6;
	font-weight: 600;
	color: #1f2937;
	text-transform: uppercase;
	font-size: 0.9rem;
}

#nnlnTable tr:hover { 
	background-color: #f9fafb; 
	transition: 0.2s; 
}

/* ============================================
				Pagination Styles 
============================================ */
.pagination { 
	display:flex; 
	justify-content:center; 
	margin-top:25px; 
	gap:6px; 
	margin-bottom:20px;
}
.pagination button { 
	padding:6px 12px; 
	border:1px solid #d1d5db; 
	border-radius:6px; 
	background:white; 
	cursor:pointer; 
	transition:0.3s; 
}
.pagination button.active { 
	background-color:#2563eb; 
	color:white; 
	border-color:#2563eb; 
}
.pagination button:hover:not(.active) { 
	background-color:#f3f4f6; 
}

/* ============================================
			Responsive Overrides 
============================================ */
@media (max-width: 900px) {
	.nnln-hero-title { 
		font-size: 20px; 
	}
	.nnln-section-title,
	.nnln-section-title-center { 
		font-size: 28px; 
	}
	.nnln-search-container { 
		flex-direction: column; 
		align-items: stretch; 
		gap: 12px; 
		position: relative; 
		z-index: 900; 
	}
	.nnln-search-input { 
		width: 100%; 
		box-sizing: border-box; 
		min-height: 48px; 
		max-width: 100%; 
		margin-right: 0;
	}
	.per-page-select {
		width: 100%;
	}
	.nnln-filter-btn {
		width: 100%;
		justify-content: center;
	}
	.table-scroll { 
		overflow-x: auto; 
	}
	#nnlnTable th, #nnlnTable td { 
		padding: 10px 8px; 
		white-space: nowrap; 
	}
	.filter-grid {
		grid-template-columns: repeat(1, 1fr);
	}
}

@media (max-width: 480px) {
	.nnln-hero-title { 
		font-size: 18px; 
	}
}
