/* KTheme representative document download panel */
.ktheme-document-download {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 0 0 48px;
	padding: 16px 20px;
	border: 1px solid #ebeef2;
	border-radius: 8px;
	background: #fafbfc;
}

.ktheme-document-download-icon {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 1px solid #d8dbe0;
	border-radius: 6px;
	background: #ffffff;
	color: #3c3e44;
	font-size: 20px;
	font-weight: 600;
	line-height: 1;
}

.ktheme-document-download-details {
	min-width: 0;
}

.ktheme-document-download-label,
.ktheme-document-download-name,
.ktheme-document-download-meta {
	margin: 0;
}

.ktheme-document-download-label {
	color: #6b6f76;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.02em;
}

.ktheme-document-download-name {
	overflow: hidden;
	margin-top: 2px;
	color: #0e0e10;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.5;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ktheme-document-download-meta {
	margin-top: 2px;
	color: #6b6f76;
	font-size: 13px;
	line-height: 1.5;
}

.ktheme-document-download-action {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	margin-left: auto;
	padding: 0 16px;
	border-radius: 6px;
	background: #5e6ad2;
	color: #ffffff;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
	text-decoration: none;
	transition: background-color 0.12s ease;
}

.ktheme-document-download-action:hover,
.ktheme-document-download-action:focus-visible {
	background: #7170ff;
	color: #ffffff;
	text-decoration: none;
}

.ktheme-document-download-action:focus-visible {
	outline: none;
	box-shadow: 0 0 0 3px rgba(94, 106, 210, 0.12);
}

@media (max-width: 767.98px) {
	.ktheme-document-download {
		align-items: flex-start;
		flex-wrap: wrap;
		gap: 12px;
		padding: 16px;
	}

	.ktheme-document-download-details {
		flex: 1 1 calc(100% - 48px);
	}

	.ktheme-document-download-action {
		width: 100%;
		margin-left: 0;
	}
}
