/* ==================================================
   DR1061 LINKS
================================================== */
.dr1061links {
	padding: 120px 20px 80px;
	background: #f8fafc;
	overflow-x: hidden;
}

.dr1061linkscontainer {
	max-width: 1600px;
	margin: 0 auto;
	width: 100%;
}

/* ==================================================
   HEADER
================================================== */
.dr1061linksheader {
	margin-bottom: 25px;
}

.dr1061linksheader h2 {
	margin: 0 0 10px;
	font-size: 2rem;
	font-weight: 700;
	color: #0f172a;
}

.dr1061linksheader p {
	margin: 0;
	color: #64748b;
}

.dr1061linkssearchwrap {
	margin-top: 20px;
}

#dr1061linkssearch {
	width: 100%;
	max-width: 500px;
	padding: 12px 16px;
	border: 1px solid #cbd5e1;
	border-radius: 10px;
	font-size: 14px;
	outline: none;
	background: #ffffff;
	box-sizing: border-box;
}

#dr1061linkssearch:focus {
	border-color: #2563eb;
}

.dr1061linksstats {
	margin-top: 12px;
	font-size: 13px;
	color: #64748b;
}

/* ==================================================
   TABLE WRAPPER
================================================== */
.dr1061linkstablewrapper {
	width: 100%;
	overflow-x: auto;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	background: #ffffff;
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
}

/* ==================================================
   TABLE
================================================== */
.dr1061linkstable {
	width: 100%;
	min-width: 850px;
	border-collapse: collapse;
	table-layout: fixed;
}

/* ==================================================
   HEADER
================================================== */
.dr1061linkstable thead {
	background: #0f172a;
	color: #ffffff;
}

.dr1061linkstable thead tr, .dr1061linkstable thead tr:hover {
	background: #0f172a !important;
}

.dr1061linkstable thead th {
	position: sticky;
	top: 0;
	z-index: 10;
	padding: 14px;
	text-align: left;
	white-space: nowrap;
	font-size: 14px;
	font-weight: 600;
	background: #0f172a;
	color: #ffffff;
	border-bottom: 1px solid #1e293b;
}

/* ==================================================
   SORTABLE HEADERS
================================================== */
.dr1061linkstable th[data-sort] {
	cursor: pointer;
	user-select: none;
}

.dr1061linkstable th[data-sort]:hover {
	background: #1e293b !important;
}

.dr1061linkstable th[data-sort]::after {
	content: " ↕";
	font-size: 11px;
	opacity: .7;
}

/* ==================================================
   BODY
================================================== */
.dr1061linkstable tbody td {
	padding: 12px 14px;
	border-bottom: 1px solid #e2e8f0;
	vertical-align: middle;
	font-size: 14px;
}

.dr1061linkstable tbody tr {
	background: #ffffff;
	transition: background .2s ease;
}

.dr1061linkstable tbody tr:hover {
	background: #f8fafc;
}

/* ==================================================
   COLUMN WIDTHS
================================================== */
.dr1061linkstable th:nth-child(1), .dr1061linkstable td:nth-child(1) {
	width: 70px;
}

.dr1061linkstable th:nth-child(2), .dr1061linkstable td:nth-child(2) {
	width: 260px;
}

.dr1061linkstable th:nth-child(3), .dr1061linkstable td:nth-child(3) {
	width: 120px;
}

/* ==================================================
   NAME
================================================== */
.dr1061name {
	color: #0f172a;
	font-weight: 600;
	word-break: break-word;
}

/* ==================================================
   TYPE BADGES
================================================== */
.dr1061type {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 20px;
	font-size: 11px;
	font-weight: 700;
	white-space: nowrap;
}

.dr1061type-video {
	background: #dbeafe;
	color: #1d4ed8;
}

.dr1061type-image {
	background: #dcfce7;
	color: #15803d;
}

.dr1061type-document {
	background: #fee2e2;
	color: #b91c1c;
}

.dr1061type-audio {
	background: #ede9fe;
	color: #6d28d9;
}

.dr1061type-other {
	background: #e5e7eb;
	color: #374151;
}

/* ==================================================
   URL
================================================== */
.dr1061link {
	color: #2563eb;
	text-decoration: none;
	word-break: break-all;
}

.dr1061link:hover {
	text-decoration: underline;
}

/* ==================================================
   EMPTY
================================================== */
.dr1061empty {
	padding: 30px;
	text-align: center;
	color: #64748b;
}

/* ==================================================
   MOBILE
================================================== */
@media ( max-width :768px) {
	.dr1061links {
		padding: 90px 12px 40px;
	}
	.dr1061linksheader h2 {
		font-size: 1.6rem;
	}
	.dr1061linksheader p {
		font-size: 14px;
	}
	.dr1061linkstablewrapper {
		border-radius: 10px;
	}
	.dr1061linkstable {
		min-width: 500px;
	}
	.dr1061linkstable th, .dr1061linkstable td {
		padding: 10px;
		font-size: 13px;
	}

	/* S.No Column */
	.dr1061linkstable th:nth-child(1), .dr1061linkstable td:nth-child(1) {
		width: 60px;
		min-width: 60px;
		text-align: center;
		position: sticky;
		left: 0;
	}
	.dr1061linkstable tbody td:nth-child(1) {
		background: #ffffff;
		z-index: 2;
	}
	.dr1061linkstable thead th:nth-child(1) {
		background: #0f172a;
		z-index: 20;
	}

	/* Name */
	.dr1061linkstable th:nth-child(2), .dr1061linkstable td:nth-child(2) {
		width: 150px;
		min-width: 150px;
	}

	/* Type */
	.dr1061linkstable th:nth-child(3), .dr1061linkstable td:nth-child(3) {
		width: 90px;
		min-width: 90px;
	}

	/* URL */
	.dr1061linkstable th:nth-child(4), .dr1061linkstable td:nth-child(4) {
		min-width: 200px;
	}
	.dr1061name {
		font-size: 13px;
		line-height: 1.4;
	}
	.dr1061type {
		font-size: 10px;
		padding: 4px 8px;
	}
	.dr1061link {
		font-size: 12px;
		word-break: break-all;
	}
	#dr1061linkssearch {
		max-width: 100%;
		font-size: 14px;
	}
	.dr1061linksstats {
		font-size: 12px;
	}
}