/* ===== Layout shell ===== */

.dcp-wrapper{
	max-width:1200px;
	margin:20px auto;
	padding:24px 28px 32px;
	background:#f8f9fa;
	border-radius:8px;
	box-shadow:0 2px 8px rgba(0,0,0,.08);
	font-family:"Segoe UI",-apple-system,BlinkMacSystemFont,"Roboto","Helvetica Neue",Arial,sans-serif;
	color:#2c3e50;
	font-size:13px;
	line-height:1.5;
}

/* ===== Header / navigation ===== */

.dcp-header{
	display:flex;
	justify-content:space-between;
	align-items:center;
	flex-wrap:wrap;
	border-bottom:1px solid #e5e7eb;
	padding-bottom:10px;
	margin-bottom:18px;
}
.dcp-title{
	font-size:20px;
	font-weight:600;
	color:#1a365d;
	letter-spacing:-0.3px;
}
.dcp-nav{
	display:flex;
	gap:8px;
	flex-wrap:wrap;
}
.dcp-nav-link{
	border:none;
	border-radius:6px;
	padding:8px 14px;
	font-size:12px;
	font-weight:500;
	cursor:pointer;
	background:#ffffff;
	color:#4a5568;
	border:1px solid #e2e8f0;
	transition:.15s ease-in-out;
}
.dcp-nav-link:hover{
	background:#f7fafc;
	border-color:#cbd5e0;
	 color: #4a5568;
}
.dcp-nav-link.dcp-active{
	background:#2c5282;
	color:#ffffff;
	border-color:#2c5282;
	box-shadow:0 1px 3px rgba(44,82,130,.2);
}

/* ===== Sections ===== */

.dcp-section{
	display:none;
}
.dcp-section.dcp-section-active{
	display:block;
}
.dcp-section-title{
	font-size:18px;
	font-weight:600;
	margin-bottom:18px;
	color:#2c3e50;
	padding-bottom:10px;
	border-bottom:2px solid #e2e8f0;
}

/* ===== Global message ===== */

#dcp-global-message{
	margin-bottom:12px;
	padding:8px 12px;
	border-radius:4px;
	font-size:12px;
}
.dcp-success{
	background:#ecfdf3;
	border:1px solid #22c55e;
	color:#166534;
}
.dcp-error{
	background:#fef2f2;
	border:1px solid #ef4444;
	color:#b91c1c;
}
.dcp-hidden{
	display:none;
}

/* ===== Forms / rows ===== */

.dcp-form{
	margin-top:6px;
}
.dcp-form .dcp-row{
	display:flex;
	flex-wrap:wrap;
	margin-bottom:14px;
	align-items:flex-start;
	gap:10px;
}
.dcp-form .dcp-row label{
	width:100%;
	max-width:220px;
	font-size:12px;
	font-weight:600;
	color:#4a5568;
	margin-bottom:2px;
	line-height:1.4;
}

/* only text/email/file/select get "input" styling – NOT checkboxes */
.dcp-form .dcp-row input[type="text"],
.dcp-form .dcp-row input[type="email"],
.dcp-form .dcp-row input[type="date"],
.dcp-form .dcp-row input[type="file"],
.dcp-form .dcp-row select{
	flex:1;
	min-width:200px;
	padding:6px 10px;
	border-radius:4px;
	border:1px solid #cbd5e0;
	font-size:12px;
	background:#ffffff;
	transition:border-color .12s ease, box-shadow .12s ease;
	height:32px;
	line-height:1.4;
	box-sizing:border-box;
	vertical-align:middle;
}
.dcp-form .dcp-row input[type="text"]:focus,
.dcp-form .dcp-row input[type="email"]:focus,
.dcp-form .dcp-row input[type="date"]:focus,
.dcp-form .dcp-row input[type="file"]:focus,
.dcp-form .dcp-row select:focus{
	outline:0;
	border-color:#2c5282;
	box-shadow:0 0 0 2px rgba(44,82,130,.1);
}
.dcp-form .dcp-row input[type="file"]{
	height:auto;
	padding:4px 8px;
	font-size:11px;
	line-height:1.5;
}

.dcp-inline input{
	margin-right:6px;
	margin-bottom:4px;
}

/* Required asterisk */
.dcp-required{
	color:#e53e3e;
	margin-left:3px;
	font-weight:600;
}

/* Submit row */
.dcp-row-submit{
	margin-top:14px;
}

/* ===== Buttons ===== */

.dcp-btn-primary,
.dcp-btn-secondary{
	border:none;
	border-radius:4px;
	padding:7px 16px;
	font-size:12px;
	font-weight:500;
	cursor:pointer;
	transition:.15s ease-in-out;
	height:32px;
	line-height:1.4;
	display:inline-flex;
	align-items:center;
	justify-content:center;
}
.dcp-btn-primary{
	background:#2c5282;
	color:#ffffff;
	box-shadow:0 1px 3px rgba(44,82,130,.2);
}
.dcp-btn-primary:hover{
	background:#2a4f7a;
	box-shadow:0 2px 4px rgba(44,82,130,.25);
}
.dcp-btn-secondary{
	background:#ffffff;
	color:#4a5568;
	border:1px solid #cbd5e0;
}
.dcp-btn-secondary:hover{
	background:#f7fafc;
	border-color:#a0aec0;
}
.dcp-btn-link{
	border:none;
	background:none;
	color:#2563eb;
	cursor:pointer;
	font-size:13px;
	text-decoration:none;
	padding:4px 8px;
	border-radius:4px;
	transition:.15s ease-in-out;
}
.dcp-btn-link:hover{
	background:#eff6ff;
	color:#1d4ed8;
}
.dcp-btn-danger{
	color:#dc2626;
}
.dcp-btn-danger:hover{
	background:#fef2f2;
	color:#b91c1c;
}
.dcp-action-separator{
	color:#d1d5db;
	margin:0 6px;
	font-size:12px;
}

/* ===== Tables (contacts & signatories & company list) ===== */

.dcp-table{
	width:100%;
	border-collapse:collapse;
	margin-top:12px;
	font-size:12px;
	background:#ffffff;
	border:1px solid #e2e8f0;
}
.dcp-table th,
.dcp-table td{
	border:1px solid #e2e8f0;
	padding:8px 10px;
	text-align:left;
}
.dcp-table th{
	background:#f7fafc;
	font-weight:600;
	color:#2c3e50;
	font-size:11px;
	text-transform:uppercase;
	letter-spacing:0.5px;
}
.dcp-table tbody tr{
	transition:background-color .15s ease;
}
.dcp-table tbody tr:nth-child(odd){
	background:#fcfdff;
}
.dcp-table tbody tr:hover{
	background:#f3f4f6;
}
.dcp-table td{
	vertical-align:top;
}
.dcp-table td input[type="text"],
.dcp-table td input[type="email"],
.dcp-table td select {
	width: 100%;
	padding: 6px 10px;
	border-radius: 4px;
	border: 1px solid #cbd5e0;
	font-size: 12px;
	background: #ffffff;
	height: 32px;
	box-sizing: border-box;
}
.dcp-table td input[type="text"]:focus,
.dcp-table td input[type="email"]:focus,
.dcp-table td select:focus {
	outline: 0;
	border-color: #2c5282;
	box-shadow: 0 0 0 2px rgba(44,82,130,.1);
}
.dcp-table td .dcp-btn-link{
	margin-right:4px;
}

/* ===== DSC/E-Sign Details in Table ===== */

.dcp-dsc-wrap,
.dcp-esign-wrap {
	width: 100%;
	min-width: 300px;
}
.dcp-dsc-row {
	display: flex;
	flex-direction: column;
	margin-bottom: 10px;
	gap: 4px;
}
.dcp-dsc-row:last-child {
	margin-bottom: 0;
}
.dcp-dsc-row label {
	font-size: 11px;
	font-weight: 600;
	color: #4a5568;
	margin-bottom: 2px;
	display: block;
}
.dcp-dsc-row input[type="text"],
.dcp-dsc-row input[type="date"],
.dcp-dsc-row input[type="file"] {
	
	padding: 6px 10px;
	border-radius: 4px;
	border: 1px solid #cbd5e0;
	font-size: 12px;
	background: #ffffff;
	transition: border-color .12s ease, box-shadow .12s ease;
	height: 32px;
}
.dcp-dsc-row input[type="file"] {
	height: auto;
	padding: 4px 8px;
	font-size: 11px;
}
.dcp-dsc-row input[type="text"]:focus,
.dcp-dsc-row input[type="date"]:focus {
	outline: 0;
	border-color: #2c5282;
	box-shadow: 0 0 0 2px rgba(44,82,130,.1);
}

/* Table column widths for signatories */
#dcp-signatories-table th:nth-child(1),
#dcp-signatories-table td:nth-child(1) {
	width: 100px;
	min-width: 100px;
}
#dcp-signatories-table th:nth-child(2),
#dcp-signatories-table td:nth-child(2) {
	width: 150px;
	min-width: 150px;
}
#dcp-signatories-table th:nth-child(3),
#dcp-signatories-table td:nth-child(3) {
	width: 150px;
	min-width: 150px;
}
#dcp-signatories-table th:nth-child(4),
#dcp-signatories-table td:nth-child(4) {
	width: 130px;
	min-width: 130px;
}
#dcp-signatories-table th:nth-child(5),
#dcp-signatories-table td:nth-child(5) {
	width: auto;
	min-width: 320px;
}
#dcp-signatories-table th:nth-child(6),
#dcp-signatories-table td:nth-child(6) {
	width: 80px;
	min-width: 80px;
	text-align: center;
}

/* ===== Checkbox blocks (companies / contacts / signatories) ===== */

.dcp-checkbox-line{
	display:flex;
	align-items:center;
	gap:6px;
	margin-bottom:4px;
	font-size:14px;
}
.dcp-checkbox-line input[type="checkbox"]{
	flex:0 0 auto;
	width:auto;
	height:auto;
}
.dcp-group{
	margin-bottom:10px;
	padding:8px 10px;
	border-radius:4px;
	background:#ffffff;
	border:1px solid #e2e8f0;
}
.dcp-group > strong{
	display:block;
	margin-bottom:4px;
	font-size:11px;
	color:#4a5568;
	font-weight:600;
}
.dcp-multi-group{
	flex:1;
	min-width:220px;
}
.dcp-hint{
	font-size:11px;
	color:#718096;
}

/* ===== Steps ===== */

.dcp-step{
	display:none;
	padding:16px 14px;
	border-radius:10px;
	border:1px solid #e5e7eb;
	background:#f9fafb;
	margin-top:4px;
}
.dcp-step.dcp-step-active{
	display:block;
}
.dcp-step > h4{
	margin-top:0;
	margin-bottom:12px;
	font-size:16px;
	font-weight:600;
	color:#111827;
}
.dcp-radio-group .dcp-radio{
	display:inline-flex;
	align-items:center;
	margin-right:14px;
	font-size:14px;
}
.dcp-radio-group .dcp-radio input[type="radio"]{
	margin-right:4px;
}
.dcp-radio-group .dcp-radio input[type="radio"]:disabled{
	opacity:0.5;
	cursor:not-allowed;
}
.dcp-radio-group .dcp-radio input[type="radio"]:disabled + *{
	opacity:0.6;
	cursor:not-allowed;
}

/* ===== Login card ===== */

.dcp-login-box{
	max-width:420px;
	margin:30px auto;
	padding:20px 22px;
	background:#ffffff;
	border-radius:10px;
	box-shadow:0 10px 25px rgba(15,23,42,.12);
}

/* ===== Reports (DSC / E-Sign / Submissions) ===== */

.dcp-report-tabs{
	display:flex;
	gap:6px;
	margin-bottom:12px;
	flex-wrap:wrap;
}
.dcp-report-tab{
	border:none;
	border-radius:999px;
	padding:5px 14px;
	font-size:13px;
	font-weight:500;
	background:#f3f4f6;
	color:#374151;
	cursor:pointer;
	transition:.15s ease-in-out;
}
.dcp-report-tab:hover{
	background:#e5e7eb;
}
.dcp-report-tab.dcp-report-tab-active{
	background:#111827;
	color:#ffffff;
}
.dcp-report-panel{
	display:none;
}
.dcp-report-panel.dcp-report-panel-active{
	display:block;
}
.dcp-report-toolbar{
	display:flex;
	flex-wrap:wrap;
	gap:8px;
	margin-bottom:14px;
	align-items:center;
	padding:10px 12px;
	background:#ffffff;
	border-radius:4px;
	border:1px solid #e2e8f0;
}
.dcp-report-table-wrap{
	max-height:500px;
	overflow:auto;
	border-radius:4px;
	border:1px solid #e2e8f0;
	background:#ffffff;
	box-shadow:0 1px 2px rgba(0,0,0,.04);
}
.dcp-report-table{
	font-size:11px;
	margin:0;
}
.dcp-report-table th{
	position:sticky;
	top:0;
	z-index:10;
	background:#f7fafc;
	box-shadow:0 1px 2px -1px rgba(0,0,0,.05);
}
.dcp-input,
.dcp-select{
	padding:6px 10px;
	border-radius:4px;
	border:1px solid #cbd5e0;
	font-size:12px;
	min-width:160px;
	background:#ffffff;
	transition:border-color .15s ease, box-shadow .15s ease;
	height:32px;
}
.dcp-input:focus,
.dcp-select:focus{
	outline:none;
	border-color:#2c5282;
	box-shadow:0 0 0 2px rgba(44,82,130,.1);
}
.dcp-input::placeholder{
	color:#9ca3af;
}
.dcp-badge{
	display:inline-block;
	padding:3px 8px;
	border-radius:3px;
	font-size:10px;
	font-weight:500;
}
.dcp-badge-danger{
	background:#fef2f2;
	color:#b91c1c;
	border:1px solid #fecaca;
}

/* ===== Select2 Integration ===== */

.select2-container {
	width: 100% !important;
}
.select2-container--default .select2-selection--single {
	border: 1px solid #d1d5db;
	border-radius: 8px;
	height: 38px;
	padding: 0 8px;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
	line-height: 36px;
	padding-left: 0;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 36px;
	right: 8px;
}

/* ===== Company Selector & Tabs ===== */

.dcp-company-tabs-wrapper {
	margin-bottom: 20px;
	padding: 14px 16px;
	background: #ffffff;
	border-radius: 4px;
	border: 1px solid #e2e8f0;
}
.dcp-company-selector label {
	display: block;
	margin-bottom: 8px;
	font-size: 14px;
	color: #374151;
}
.dcp-company-data-tabs {
	margin-top: 20px;
	padding: 16px 18px;
	background: #ffffff;
	border-radius: 4px;
	border: 1px solid #e2e8f0;
	box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.dcp-company-tabs-nav {
	display: flex;
	gap: 8px;
	margin-bottom: 20px;
	border-bottom: 2px solid #e5e7eb;
	padding-bottom: 12px;
}
.dcp-company-tab-btn {
	border: none;
	background: transparent;
	padding: 8px 16px;
	font-size: 14px;
	font-weight: 500;
	color: #6b7280;
	cursor: pointer;
	border-bottom: 2px solid transparent;
	margin-bottom: -14px;
	transition: all .2s ease;
}
.dcp-company-tab-btn:hover {
	color: #111827;
}
.dcp-company-tab-btn.dcp-active {
	color: #1d4ed8;
	border-bottom-color: #1d4ed8;
}
.dcp-company-tab-content {
	padding: 16px 0;
}

/* ===== Loader ===== */

.dcp-loader {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(255,255,255,.9);
	z-index: 9999;
	display: none;
	align-items: center;
	justify-content: center;
}
.dcp-loader-spinner {
	width: 50px;
	height: 50px;
	border: 4px solid #e5e7eb;
	border-top-color: #1d4ed8;
	border-radius: 50%;
	animation: dcp-spin 1s linear infinite;
}
@keyframes dcp-spin {
	to { transform: rotate(360deg); }
}

/* ===== DSC Count Report ===== */

.dcp-dsc-count-summary {
	margin-bottom: 24px;
	padding: 20px;
	background: #f9fafb;
	border-radius: 10px;
	border: 1px solid #e5e7eb;
}
.dcp-dsc-count-summary h4 {
	margin: 0 0 16px 0;
	font-size: 18px;
	color: #111827;
}
.dcp-count-boxes {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
}
.dcp-count-box {
	flex: 1;
	min-width: 150px;
	padding: 16px;
	background: #ffffff;
	border-radius: 8px;
	border: 1px solid #e5e7eb;
	text-align: center;
}
.dcp-count-box strong {
	display: block;
	font-size: 32px;
	font-weight: 700;
	color: #111827;
	margin-bottom: 4px;
}
.dcp-count-box span {
	display: block;
	font-size: 13px;
	color: #6b7280;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}
.dcp-count-box.dcp-count-available strong {
	color: #22c55e;
}
.dcp-count-box.dcp-count-not-available strong {
	color: #ef4444;
}

/* ===== Review Box ===== */

.dcp-review-content {
	padding: 16px;
	background: #f9fafb;
	border-radius: 8px;
	border: 1px solid #e5e7eb;
}
.dcp-review-content ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.dcp-review-content li {
	padding: 8px 0;
	border-bottom: 1px solid #e5e7eb;
}
.dcp-review-content li:last-child {
	border-bottom: none;
}
.dcp-review-content strong {
	color: #111827;
	margin-right: 8px;
}

/* ===== Export Button ===== */

.dcp-export-btn {
	margin-left: auto;
}

/* ===== Improved Form Styling ===== */

.dcp-form .dcp-row label {
	font-weight: 600;
	color: #374151;
}
.dcp-form .dcp-row input[type="text"],
.dcp-form .dcp-row input[type="email"],
.dcp-form .dcp-row input[type="date"],
.dcp-form .dcp-row select {
	font-size: 14px;
}
.dcp-form .dcp-inline {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	align-items: flex-start;
}
.dcp-form .dcp-inline input {
	flex: 1;
	min-width: 150px;
	box-sizing: border-box;
}

/* ===== Enhanced Badges ===== */

.dcp-badge {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 6px;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}
.dcp-badge-danger {
	background: #fef2f2;
	color: #b91c1c;
	border: 1px solid #fecaca;
}

/* ===== All Companies Section ===== */

.dcp-all-companies-toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 14px;
	align-items: center;
	padding: 10px 12px;
	background: #ffffff;
	border-radius: 4px;
	border: 1px solid #e2e8f0;
}
.dcp-all-companies-toolbar .dcp-input {
	flex: 1;
	min-width: 220px;
}

/* ===== Pagination ===== */

.dcp-pagination {
	margin-top: 18px;
	padding: 12px 14px;
	background: #ffffff;
	border-radius: 4px;
	border: 1px solid #e2e8f0;
}
.dcp-pagination-info {
	font-size: 11px;
	color: #718096;
	margin-bottom: 10px;
	text-align: center;
}
.dcp-pagination-buttons {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 4px;
}
.dcp-pagination-btn {
	border: 1px solid #cbd5e0;
	border-radius: 4px;
	padding: 5px 10px;
	font-size: 11px;
	font-weight: 500;
	background: #ffffff;
	color: #4a5568;
	cursor: pointer;
	transition: all .15s ease;
	min-width: 32px;
	height: 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.dcp-pagination-btn:hover {
	background: #f7fafc;
	border-color: #a0aec0;
}
.dcp-pagination-btn.dcp-active {
	background: #2c5282;
	color: #ffffff;
	border-color: #2c5282;
}
.dcp-pagination-dots {
	padding: 5px 4px;
	color: #a0aec0;
	font-size: 11px;
}

/* ===== Misc ===== */

@media (max-width:768px){
	.dcp-header{
		flex-direction:column;
		align-items:flex-start;
	}
	.dcp-form .dcp-row{
		flex-direction:column;
	}
	.dcp-form .dcp-row label{
		max-width:100%;
	}
	.dcp-company-tabs-nav {
		flex-wrap: wrap;
	}
	.dcp-count-boxes {
		flex-direction: column;
	}
	.dcp-form .dcp-inline {
		flex-direction: column;
	}
	.dcp-form .dcp-inline input {
		min-width: 100%;
	}
	.dcp-all-companies-toolbar {
		flex-direction: column;
	}
	.dcp-all-companies-toolbar .dcp-input {
		width: 100%;
		min-width: 100%;
	}
	.dcp-pagination-buttons {
		gap: 4px;
	}
	.dcp-pagination-btn {
		padding: 6px 8px;
		font-size: 12px;
		min-width: 36px;
	}
}

/* ===== NEW REPORTS DASHBOARD ===== */

.dcp-reports-dashboard {
	display: flex;
	gap: 20px;
	margin-top: 16px;
}

/* Sidebar */
.dcp-reports-sidebar {
	flex: 0 0 240px;
	background: #ffffff;
	border-radius: 8px;
	border: 1px solid #e2e8f0;
	padding: 16px 0;
	height: fit-content;
	position: sticky;
	top: 20px;
}

.dcp-sidebar-title {
	margin: 0 16px 12px;
	font-size: 14px;
	font-weight: 600;
	color: #1a202c;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.dcp-report-nav {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.dcp-report-nav-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 16px;
	border: none;
	background: transparent;
	color: #4a5568;
	font-size: 13px;
	cursor: pointer;
	transition: all 0.15s ease;
	text-align: left;
	border-left: 3px solid transparent;
}

.dcp-report-nav-item:hover {
	background: #f7fafc;
	color: #2d3748;
}

.dcp-report-nav-item.dcp-report-nav-active {
	background: #edf2f7;
	color: #2c5282;
	border-left-color: #2c5282;
	font-weight: 600;
}

.dcp-report-nav-icon {
	font-size: 16px;
	width: 20px;
	text-align: center;
}

.dcp-report-nav-label {
	flex: 1;
}

/* Main Content */
.dcp-reports-main {
	flex: 1;
	min-width: 0;
}

/* Quick Stats / KPIs */
.dcp-reports-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 16px;
	margin-bottom: 20px;
}

.dcp-stat-card {
	background: #ffffff;
	border-radius: 8px;
	border: 1px solid #e2e8f0;
	padding: 16px;
	display: flex;
	align-items: center;
	gap: 12px;
	transition: all 0.2s ease;
	cursor: pointer;
}

.dcp-stat-card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	border-color: #2c5282;
	transform: translateY(-2px);
}

.dcp-stat-card:active {
	transform: translateY(0);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.dcp-stat-icon {
	font-size: 32px;
	line-height: 1;
}

.dcp-stat-content {
	flex: 1;
}

.dcp-stat-value {
	font-size: 24px;
	font-weight: 700;
	color: #1a202c;
	line-height: 1.2;
	margin-bottom: 4px;
}

.dcp-stat-label {
	font-size: 12px;
	color: #718096;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* Report Content Area */
.dcp-report-content {
	background: #ffffff;
	border-radius: 8px;
	border: 1px solid #e2e8f0;
	overflow: hidden;
}

/* Sticky Header Bar */
.dcp-report-header-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px 20px;
	border-bottom: 1px solid #e2e8f0;
	background: #ffffff;
}

.dcp-sticky-header {
	position: sticky;
	top: 0;
	z-index: 10;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.dcp-report-title-area {
	display: flex;
	align-items: center;
	gap: 8px;
}

.dcp-report-title {
	margin: 0;
	font-size: 18px;
	font-weight: 600;
	color: #1a202c;
}

.dcp-report-info-icon {
	font-size: 16px;
	cursor: help;
	opacity: 0.6;
}

.dcp-report-actions {
	position: relative;
}

.dcp-btn-icon {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	background: #2c5282;
	color: #ffffff;
	border: none;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.15s ease;
}

.dcp-btn-icon:hover {
	background: #2a4f7a;
	transform: translateY(-1px);
	box-shadow: 0 2px 4px rgba(44, 82, 130, 0.2);
}

.dcp-export-dropdown {
	position: absolute;
	top: 100%;
	right: 0;
	margin-top: 4px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	min-width: 180px;
	z-index: 20;
	overflow: hidden;
}

.dcp-export-option {
	display: block;
	width: 100%;
	padding: 10px 14px;
	border: none;
	background: transparent;
	color: #4a5568;
	font-size: 13px;
	text-align: left;
	cursor: pointer;
	transition: background 0.15s ease;
}

.dcp-export-option:hover {
	background: #f7fafc;
}

/* Filters Panel */
.dcp-report-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	padding: 16px 20px;
	border-bottom: 1px solid #e2e8f0;
	background: #f9fafb;
}

.dcp-sticky-filters {
	position: sticky;
	top: 73px;
	z-index: 9;
}

.dcp-filter-group {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 180px;
}

#dcp-filter-group-perpage {
	min-width: 100px;
}

#dcp-report-per-page {
	min-width: 80px;
}

.dcp-filter-group label {
	font-size: 12px;
	font-weight: 600;
	color: #4a5568;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.dcp-filter-input,
.dcp-filter-select {
	padding: 8px 10px;
	font-size: 13px;
	border: 1px solid #cbd5e0;
	border-radius: 6px;
	background: #ffffff;
	transition: border-color 0.15s ease;
}

.dcp-filter-input:focus,
.dcp-filter-select:focus {
	outline: none;
	border-color: #2c5282;
	box-shadow: 0 0 0 3px rgba(44, 82, 130, 0.1);
}

.dcp-filter-actions {
	justify-content: flex-end;
	min-width: auto;
}

/* Table Container */
.dcp-report-table-container {
	position: relative;
	min-height: 300px;
}

/* Loading Skeleton */
.dcp-report-loading {
	padding: 40px 20px;
}

.dcp-skeleton-table {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.dcp-skeleton-row {
	height: 48px;
	background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
	background-size: 200% 100%;
	animation: skeleton-loading 1.5s ease-in-out infinite;
	border-radius: 6px;
}

@keyframes skeleton-loading {
	0% {
		background-position: 200% 0;
	}
	100% {
		background-position: -200% 0;
	}
}

/* Table Wrapper */
.dcp-report-table-wrapper {
	padding: 20px;
}

.dcp-table-responsive {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.dcp-report-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
}

.dcp-report-table thead {
	background: #f7fafc;
	position: sticky;
	top: 0;
	z-index: 5;
}

.dcp-report-table th {
	padding: 12px 14px;
	text-align: left;
	font-weight: 600;
	color: #2d3748;
	text-transform: uppercase;
	font-size: 11px;
	letter-spacing: 0.5px;
	border-bottom: 2px solid #e2e8f0;
	white-space: nowrap;
	cursor: pointer;
	user-select: none;
}

.dcp-report-table th[data-sort]:hover {
	background: #edf2f7;
}

.dcp-sort-icon {
	opacity: 0.4;
	margin-left: 4px;
	font-size: 10px;
}

.dcp-report-table th.dcp-sort-asc .dcp-sort-icon,
.dcp-report-table th.dcp-sort-desc .dcp-sort-icon {
	opacity: 1;
}

.dcp-report-table th.dcp-sort-asc .dcp-sort-icon::after {
	content: ' ↑';
}

.dcp-report-table th.dcp-sort-desc .dcp-sort-icon::after {
	content: ' ↓';
}

.dcp-report-table td {
	padding: 12px 14px;
	border-bottom: 1px solid #e2e8f0;
	color: #4a5568;
}

.dcp-report-table tbody tr {
	transition: background 0.15s ease;
}

.dcp-report-table tbody tr:hover {
	background: #f7fafc;
}

/* Badges */
.dcp-badge {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 12px;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.dcp-badge-success {
	background: #c6f6d5;
	color: #22543d;
}

.dcp-badge-danger {
	background: #fed7d7;
	color: #742a2a;
}

.dcp-badge-warning {
	background: #feebc8;
	color: #7c2d12;
}

.dcp-badge-secondary {
	background: #e2e8f0;
	color: #4a5568;
}

.dcp-badge-info {
	background: #bee3f8;
	color: #2c5282;
}

/* Report Info & Pagination */
.dcp-report-info {
	padding: 12px 20px;
	border-top: 1px solid #e2e8f0;
	font-size: 12px;
	color: #718096;
	text-align: center;
	background: #f9fafb;
}

.dcp-report-pagination {
	padding: 16px 20px;
	border-top: 1px solid #e2e8f0;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
	background: #ffffff;
}

.dcp-report-page-btn {
	min-width: 36px;
	height: 36px;
	padding: 6px 12px;
	font-size: 13px;
}

.dcp-report-page-btn.dcp-active {
	background: #2c5282;
	color: #ffffff;
	border-color: #2c5282;
}

/* Empty State */
.dcp-report-empty {
	padding: 60px 20px;
	text-align: center;
}

.dcp-empty-icon {
	font-size: 48px;
	margin-bottom: 16px;
	opacity: 0.5;
}

.dcp-empty-message {
	font-size: 14px;
	color: #718096;
	margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
	.dcp-reports-dashboard {
		flex-direction: column;
	}

	.dcp-reports-sidebar {
		position: static;
		flex: 1;
	}

	.dcp-report-nav {
		flex-direction: row;
		flex-wrap: wrap;
	}

	.dcp-report-nav-item {
		flex: 1;
		min-width: 120px;
		border-left: none;
		border-bottom: 3px solid transparent;
	}

	.dcp-report-nav-item.dcp-report-nav-active {
		border-left: none;
		border-bottom-color: #2c5282;
	}

	.dcp-reports-stats {
		grid-template-columns: repeat(2, 1fr);
	}

	.dcp-report-header-bar {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}

	.dcp-report-filters {
		flex-direction: column;
	}

	.dcp-filter-group {
		min-width: 100%;
	}

	.dcp-table-responsive {
		overflow-x: scroll;
		-webkit-overflow-scrolling: touch;
	}

	.dcp-report-table {
		min-width: 800px;
	}
}

/* ===== View System ===== */

.dcp-view {
	display: none;
}

.dcp-view.dcp-view-active {
	display: block;
}

/* ===== Dashboard ===== */

.dcp-dashboard {
	padding: 20px 0;
}

.dcp-dashboard-actions {
	text-align: center;
	margin: 40px 0;
}

.dcp-btn-large {
	padding: 14px 32px;
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 20px;
}

.dcp-dashboard-secondary-actions {
	display: flex;
	gap: 12px;
	justify-content: center;
	margin-top: 20px;
}

/* ===== Wizard ===== */

.dcp-wizard {
	max-width: 90%;
	margin: 0 auto;
}

.dcp-wizard-progress {
	margin-bottom: 30px;
}

.dcp-progress-bar {
	width: 100%;
	height: 6px;
	background: #e2e8f0;
	border-radius: 3px;
	overflow: hidden;
	margin-bottom: 15px;
}

.dcp-progress-fill {
	height: 100%;
	background: #2c5282;
	transition: width 0.3s ease;
	border-radius: 3px;
}

.dcp-progress-steps {
	display: flex;
	justify-content: space-between;
	font-size: 12px;
	color: #718096;
}

.dcp-progress-step {
	padding: 5px 10px;
}

.dcp-progress-step.dcp-active {
	color: #2c5282;
	font-weight: 600;
}

.dcp-wizard-container {
	background: #ffffff;
	border-radius: 8px;
	padding: 30px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.dcp-wizard-step {
	display: none;
}

.dcp-wizard-step.dcp-active {
	display: block;
}

.dcp-wizard-step-title {
	font-size: 20px;
	font-weight: 600;
	margin-bottom: 8px;
	color: #2c3e50;
}

.dcp-wizard-step-subtitle {
	font-size: 14px;
	color: #718096;
	margin-bottom: 25px;
}

.dcp-wizard-company-toggle {
	display: flex;
	gap: 20px;
	margin-bottom: 25px;
	padding-bottom: 20px;
	border-bottom: 1px solid #e2e8f0;
}

.dcp-wizard-company-existing {
	margin-top: 20px;
}

.dcp-wizard-company-summary {
	margin-bottom: 25px;
	padding: 15px;
	background: #f7fafc;
	border-radius: 6px;
	border-left: 4px solid #2c5282;
}

.dcp-wizard-company-summary h4 {
	margin: 0 0 10px 0;
	font-size: 14px;
	font-weight: 600;
}

.dcp-summary-box {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.dcp-wizard-actions {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 30px;
	padding-top: 20px;
	border-top: 1px solid #e2e8f0;
}

.dcp-wizard-report {
	margin-top: 30px;
	padding: 25px;
	background: #ffffff;
	border-radius: 8px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.dcp-wizard-report-header {
	margin-bottom: 25px;
	padding-bottom: 20px;
	border-bottom: 1px solid #e2e8f0;
}

.dcp-wizard-report-header h3 {
	color: #22c55e;
	font-size: 18px;
	margin-bottom: 8px;
}

.dcp-wizard-report-actions {
	display: flex;
	gap: 12px;
	margin-top: 15px;
}

.dcp-wizard-report-table {
	margin-top: 20px;
}

.dcp-review-section {
	margin-bottom: 25px;
	padding: 20px;
	background: #f7fafc;
	border-radius: 6px;
}

.dcp-review-section h4 {
	margin: 0 0 15px 0;
	font-size: 16px;
	font-weight: 600;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.dcp-review-section .dcp-summary-box {
	flex-direction: column;
	align-items: flex-start;
}

.dcp-review-section .dcp-summary-box p {
	margin: 8px 0;
}

.dcp-review-section .dcp-summary-box strong {
	color: #2c3e50;
}

/* ===== DSC Expired Button & Modal ===== */

.dcp-btn-dsc-expired {
	padding: 4px 12px;
	font-size: 11px;
	font-weight: 500;
	background: #dc2626;
	color: #ffffff;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.15s ease;
	margin-left: 8px;
	display: inline-block;
}

.dcp-btn-dsc-expired:hover {
	background: #b91c1c;
	transform: translateY(-1px);
	box-shadow: 0 2px 4px rgba(220, 38, 38, 0.3);
}

/* Modal Styles */
.dcp-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
}

.dcp-modal-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(2px);
}

.dcp-modal-content {
	position: relative;
	background: #ffffff;
	border-radius: 12px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	max-width: 500px;
	width: 90%;
	max-height: 90vh;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	z-index: 10001;
	animation: dcp-modal-slide-in 0.3s ease-out;
}

@keyframes dcp-modal-slide-in {
	from {
		opacity: 0;
		transform: translateY(-20px) scale(0.95);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.dcp-modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 24px;
	border-bottom: 1px solid #e2e8f0;
	background: #f7fafc;
}

.dcp-modal-header h3 {
	margin: 0;
	font-size: 18px;
	font-weight: 600;
	color: #1a202c;
}

.dcp-modal-close {
	background: none;
	border: none;
	font-size: 28px;
	color: #718096;
	cursor: pointer;
	padding: 0;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
	transition: all 0.15s ease;
	line-height: 1;
}

.dcp-modal-close:hover {
	background: #e2e8f0;
	color: #2d3748;
}

.dcp-modal-body {
	padding: 24px;
	overflow-y: auto;
	flex: 1;
}

.dcp-modal-message {
	margin-bottom: 20px;
	padding: 16px;
	background: #fef2f2;
	border-left: 4px solid #dc2626;
	border-radius: 4px;
}

.dcp-modal-message p {
	margin: 0;
	font-size: 14px;
	color: #991b1b;
	line-height: 1.6;
}

.dcp-modal-details {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.dcp-modal-detail-row {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	padding: 12px;
	background: #f9fafb;
	border-radius: 6px;
	border: 1px solid #e5e7eb;
}

.dcp-modal-detail-row strong {
	font-size: 13px;
	font-weight: 600;
	color: #374151;
	min-width: 100px;
}

.dcp-modal-detail-row span {
	font-size: 13px;
	color: #4b5563;
	text-align: right;
	flex: 1;
}

.dcp-modal-footer {
	padding: 16px 24px;
	border-top: 1px solid #e2e8f0;
	display: flex;
	justify-content: flex-end;
	background: #f9fafb;
}

.dcp-modal-footer .dcp-btn-primary {
	min-width: 100px;
}

body.dcp-modal-open {
	overflow: hidden;
}

/* ===== Email Button for DSC Expiring ===== */
a.dcp-btn-email-dsc {
    color: #fff;
}
form#loginform p {
    display: flex;
    flex-wrap: wrap;
}
form#loginform p input {
    width: 100%;
}
p.login-remember input {
    width: 20px !important;
}
.dcp-contact-item div:nth-child(2) , .dcp-contact-item div:nth-child(3) {
    font-size: 12px;
}
.dcp-signatory-item div {
    font-size: 12px;
    margin-bottom: 4px;
}
.dcp-btn-email-dsc {
	padding: 4px 12px;
	font-size: 11px;
	font-weight: 500;
	background: #2563eb;
	color: #ffffff;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.15s ease;
	margin-left: 8px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	text-decoration: none;
	width: 70px;
}
a.dcp-btn-email-dsc {
    color: #fff;
}

.dcp-btn-email-dsc:hover {
	background: #1d4ed8;
	transform: translateY(-1px);
	box-shadow: 0 2px 4px rgba(37, 99, 235, 0.3);
	color: #ffffff;
}

.dcp-btn-email-dsc:active {
	transform: translateY(0);
}

/* ===== Contact Info Smaller Font (All Companies) ===== */

.dcp-company-contact-info {
	font-size: 11px;
	color: #718096;
	margin-top: 4px;
	line-height: 1.4;
}

.dcp-company-contact-info .dcp-contact-item {
	margin-bottom: 4px;
	padding-bottom: 4px;
	border-bottom: 1px dashed #e2e8f0;
}

.dcp-company-contact-info .dcp-contact-item:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

.dcp-company-signatory-info {
	font-size: 11px;
	color: #718096;
	margin-top: 4px;
	line-height: 1.4;
}

.dcp-company-signatory-info .dcp-signatory-item {
	margin-bottom: 6px;
	padding-bottom: 6px;
	border-bottom: 1px dashed #e2e8f0;
}

.dcp-company-signatory-info .dcp-signatory-item:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

.dcp-company-signatory-name {
	font-weight: 600;
	color: #2d3748;
	font-size: 12px;
}

/* Responsive Modal */
@media (max-width: 768px) {
	.dcp-modal-content {
		width: 95%;
		max-width: 95%;
		margin: 20px;
	}

	.dcp-modal-header,
	.dcp-modal-body,
	.dcp-modal-footer {
		padding: 16px;
	}

	.dcp-modal-detail-row {
		flex-direction: column;
		gap: 4px;
	}

	.dcp-modal-detail-row strong {
		min-width: auto;
	}

	.dcp-modal-detail-row span {
		text-align: left;
	}
}