/**
 * TutorLMS Course Assets Display
 *
 * Minimal, namespaced styles. Layout, cards, colors and typography are
 * inherited from Tutor LMS's own stylesheets (already enqueued on single
 * course pages). These rules only add the file icon presentation and small
 * spacing refinements the core attachment card does not provide.
 *
 * @package TutorLMS_Course_Assets_Display
 */

.tutorlms-cad {
	clear: both;
}

/* Certificate section spacing (markup itself reuses Tutor's showcase styles). */
.tutorlms-cad-certificate {
	margin-top: 8px;
}

/* Attachment file-type icon. */
.tutorlms-cad-attachment .tutorlms-cad-file-icon {
	font-size: 28px;
	line-height: 1;
	color: var(--tutor-color-primary, #1973aa);
	display: inline-block;
}

/* File meta row (type + size). */
.tutorlms-cad-file-meta .tutorlms-cad-sep {
	margin: 0 6px;
}

.tutorlms-cad-file-meta .tutorlms-cad-file-type {
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

/* Keep the download control from being overlapped by the icon column. */
.tutorlms-cad-attachment .tutor-card-body {
	position: relative;
}
