/* PDL dialog — isolated from backend admin table styles */

.ui-dialog.lt-pdl-dialog-wrap {
	padding: 0;
	border: 1px solid #8fa8c4;
	border-radius: 10px;
	box-shadow: 0 14px 48px rgba(17, 35, 58, 0.28);
	overflow: hidden;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #2f3f55;
}

.ui-dialog.lt-pdl-dialog-wrap .ui-dialog-titlebar {
	background: linear-gradient(180deg, #1e3a5f 0%, #17324f 100%);
	border: 0;
	border-radius: 0;
	padding: 10px 40px 10px 14px;
	color: #fff;
}

.ui-dialog.lt-pdl-dialog-wrap .ui-dialog-title {
	font-size: 14px;
	font-weight: bold;
	margin: 0;
	float: none;
	width: auto;
}

.ui-dialog.lt-pdl-dialog-wrap .ui-dialog-titlebar-close {
	right: 10px;
	top: 50%;
	width: 28px;
	height: 28px;
	margin: -14px 0 0 0;
	padding: 0;
	border: 0;
	background: transparent;
}

.ui-dialog.lt-pdl-dialog-wrap .ui-dialog-titlebar-close .ui-icon {
	display: block;
	width: 28px;
	height: 28px;
	margin: 0;
	padding: 0;
	background: none !important;
	background-image: none !important;
	text-indent: -9999px;
	overflow: hidden;
	font-size: 0;
	line-height: 0;
}

.ui-dialog.lt-pdl-dialog-wrap .ui-dialog-titlebar-close .ui-icon:before {
	content: '\00d7';
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	width: 28px;
	height: 28px;
	text-indent: 0;
	overflow: visible;
	color: #fff;
	font-size: 26px;
	font-weight: normal;
	line-height: 26px;
	text-align: center;
}

.ui-dialog.lt-pdl-dialog-wrap .ui-dialog-titlebar-close:hover .ui-icon:before {
	color: #dce8f5;
}

.ui-dialog.lt-pdl-dialog-wrap .ui-dialog-content {
	padding: 0;
	overflow: hidden;
	background: #eef2f7;
}

#lt-pdl-dialog {
	padding: 0;
	margin: 0;
	border: 0;
	background: transparent;
}

.lt-pdl-dialog-body {
	max-height: 72vh;
	overflow-x: hidden;
	overflow-y: auto;
	padding: 0;
}

.lt-pdl-shell {
	padding: 16px 18px 18px;
}

/* Header */
.lt-pdl-header {
	display: table;
	width: 100%;
	margin-bottom: 14px;
	padding: 14px 16px;
	background: #fff;
	border: 1px solid #c5d4e4;
	border-radius: 8px;
	box-sizing: border-box;
}

.lt-pdl-header-photo,
.lt-pdl-header-text,
.lt-pdl-score-wrap {
	display: table-cell;
	vertical-align: middle;
}

.lt-pdl-header-photo {
	width: 78px;
	padding-right: 14px;
}

.lt-pdl-profile-pic {
	display: block;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid #c5d4e4;
	background: #eef2f7;
}

.lt-pdl-client-name {
	margin: 0 0 4px;
	padding: 0;
	font-size: 17px;
	font-weight: bold;
	color: #17324f;
	line-height: 1.25;
	background: none;
	border: 0;
	box-shadow: none;
}

.lt-pdl-client-email {
	margin: 0;
	padding: 0;
	font-size: 12px;
	color: #5a6f88;
}

.lt-pdl-score-wrap {
	width: 80px;
	text-align: right;
	padding-left: 12px;
}

.lt-pdl-score {
	display: inline-block;
	min-width: 52px;
	padding: 6px 8px;
	border-radius: 8px;
	font-size: 18px;
	font-weight: bold;
	line-height: 1;
	text-align: center;
	color: #17324f;
	background: #e8f1fb;
	border: 1px solid #b8cfe8;
}

.lt-pdl-score span {
	display: block;
	font-size: 10px;
	font-weight: normal;
	color: #5a6f88;
	margin-top: 2px;
}

.lt-pdl-score.lt-pdl-score-high {
	background: #e6f4ea;
	border-color: #9fd4ad;
	color: #1f5c32;
}

.lt-pdl-score.lt-pdl-score-mid {
	background: #fff8e6;
	border-color: #e8d9a8;
	color: #6b5718;
}

.lt-pdl-score.lt-pdl-score-low {
	background: #fdeeee;
	border-color: #e8b4b4;
	color: #8a2e2e;
}

.lt-pdl-score-label {
	display: block;
	font-size: 10px;
	font-weight: normal;
	margin-top: 4px;
	color: #5a6f88;
	line-height: 1.2;
}

/* Notices */
.lt-pdl-notice {
	margin: 0 0 12px;
	padding: 10px 12px;
	font-size: 12px;
	line-height: 1.45;
	color: #5a4a20;
	background: #fff8e6;
	border: 1px solid #e8d9a8;
	border-radius: 6px;
}

.lt-pdl-meta-strip {
	margin: 0 0 12px;
	font-size: 11px;
	color: #5a6f88;
}

.lt-pdl-loading-wrap {
	text-align: center;
	padding: 36px 20px;
}

.lt-pdl-loading {
	margin: 0;
	font-size: 13px;
	color: #4a5f7a;
}

.lt-pdl-spinner {
	display: inline-block;
	width: 28px;
	height: 28px;
	margin-bottom: 12px;
	border: 3px solid #d6e0ec;
	border-top-color: #17324f;
	border-radius: 50%;
	animation: lt-pdl-spin 0.75s linear infinite;
}

@keyframes lt-pdl-spin {
	to {
		transform: rotate(360deg);
	}
}

.lt-pdl-error-box {
	margin: 0;
	padding: 14px 16px;
	font-size: 13px;
	line-height: 1.45;
	color: #7a2222;
	background: #fff5f5;
	border: 1px solid #e8b4b4;
	border-radius: 8px;
}

/* Sections */
.lt-pdl-dialog-wrap .lt-pdl-section {
	margin: 0 0 12px;
	padding: 0;
	background: #fff;
	border: 1px solid #c5d4e4;
	border-radius: 8px;
	overflow: hidden;
}

.lt-pdl-dialog-wrap .lt-pdl-section-title {
	margin: 0;
	padding: 9px 14px;
	font-size: 11px;
	font-weight: bold;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #17324f;
	background: #f3f7fc;
	border: 0;
	border-bottom: 1px solid #dce4ee;
	box-shadow: none;
}

.lt-pdl-dialog-wrap .lt-pdl-section-body {
	padding: 0;
}

/* Field list (avoids global table th/td rules) */
.lt-pdl-dialog-wrap .lt-pdl-fields {
	margin: 0;
	padding: 4px 0;
	overflow: hidden;
}

.lt-pdl-dialog-wrap .lt-pdl-field-label,
.lt-pdl-dialog-wrap .lt-pdl-field-value {
	margin: 0;
	padding: 8px 14px;
	font-size: 12px;
	line-height: 1.45;
	border: 0;
	background: transparent;
	box-shadow: none;
	font-weight: normal;
	text-align: left;
}

.lt-pdl-dialog-wrap .lt-pdl-field-label {
	float: left;
	clear: left;
	width: 34%;
	color: #4a5f7a;
	font-weight: bold;
	box-sizing: border-box;
}

.lt-pdl-dialog-wrap .lt-pdl-field-value {
	margin-left: 34%;
	padding-left: 10px;
	color: #2f3f55;
	word-break: break-word;
	border-bottom: 1px solid #edf1f6;
	box-sizing: border-box;
}

.lt-pdl-dialog-wrap .lt-pdl-fields .lt-pdl-field-label:last-of-type {
	border-bottom: 1px solid #edf1f6;
	padding-bottom: 10px;
	margin-bottom: 2px;
}

.lt-pdl-dialog-wrap .lt-pdl-fields .lt-pdl-field-value:last-of-type {
	border-bottom: 0;
}

.lt-pdl-dialog-wrap .lt-pdl-field-value a {
	color: #1a5a9a;
	font-weight: normal;
	text-decoration: none;
}

.lt-pdl-dialog-wrap .lt-pdl-field-value a:hover {
	text-decoration: underline;
}

.lt-pdl-empty-val {
	color: #9aa8b8;
}

.lt-pdl-empty {
	margin: 0;
	padding: 12px 14px;
	font-size: 12px;
	color: #5a6f88;
	font-style: italic;
}

/* JSON blocks */
.lt-pdl-dialog-wrap .lt-pdl-json {
	display: block;
	margin: 0;
	padding: 10px 12px;
	max-height: 320px;
	overflow: auto;
	font-family: Consolas, 'Courier New', monospace;
	font-size: 11px;
	line-height: 1.45;
	color: #1e2a38;
	background: #f6f8fb;
	border: 1px solid #dce4ee;
	border-radius: 4px;
	white-space: pre-wrap;
	word-break: break-word;
}

/* Lookup trigger buttons (outside dialog) */
.lt-pdl-lookup-btn,
.lt-pdl-lookup-btn-inline {
	display: inline-block;
	margin-left: 6px;
	padding: 2px 8px;
	vertical-align: middle;
	font-size: 11px;
	line-height: 1.3;
	color: #17324f;
	border: 1px solid #b8c9dc;
	border-radius: 4px;
	background: linear-gradient(180deg, #ffffff 0%, #eef3f9 100%);
	cursor: pointer;
	box-shadow: 0 1px 1px rgba(21, 38, 67, 0.08);
}

.lt-pdl-lookup-btn:hover,
.lt-pdl-lookup-btn-inline:hover {
	border-color: #7f9ec4;
	background: linear-gradient(180deg, #ffffff 0%, #e3edf7 100%);
}

.lt-pdl-lookup-btn:active,
.lt-pdl-lookup-btn-inline:active {
	box-shadow: inset 0 1px 2px rgba(21, 38, 67, 0.12);
}
