.ayazrao-file-access-panel {
	margin-top: 12px;
}

.ayazrao-file-access-panel__empty {
	margin: 0;
	font-size: 12px;
	color: #6b7280;
}

.ayazrao-attachment-mode-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 8px 0;
	border-top: 1px solid #e5e7eb;
}

.ayazrao-attachment-mode-row:first-child {
	border-top: 0;
	padding-top: 0;
}

.ayazrao-attachment-mode-row__name {
	flex: 1;
	min-width: 0;
	font-size: 13px;
	font-weight: 600;
	color: #1f2937;
	word-break: break-word;
}

.ayazrao-attachment-mode {
	flex-shrink: 0;
}

.ayazrao-attachment-mode__options {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 16px;
}

.ayazrao-attachment-mode__checkbox {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	font-size: 13px;
	font-weight: 500;
	color: #374151;
	white-space: nowrap;
}

.ayazrao-attachment-mode__checkbox input[type="checkbox"] {
	width: 16px;
	height: 16px;
	margin: 0;
	flex-shrink: 0;
	cursor: pointer;
	accent-color: #2563eb;
}

.ayazrao-lesson-attachments .ayazrao-attachment-actions {
	display: flex;
	align-items: center;
	gap: 8px;
}

.ayazrao-lesson-attachments {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 16px;
}

.ayazrao-lesson-file-bar {
	--ayaz-primary: #320933;
	--ayaz-border: rgba(50, 9, 51, 0.1);
	--ayaz-radius: 14px;

	display: flex;
	align-items: center;
	gap: 14px;
	width: 100%;
	padding: 14px 16px;
	border: 1px solid var(--ayaz-border);
	border-radius: var(--ayaz-radius);
	background: #fff;
	box-shadow: 0 1px 2px rgba(50, 9, 51, 0.04);
	box-sizing: border-box;
}

.ayazrao-lesson-file-bar__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 42px;
	height: 42px;
	border-radius: 10px;
	background: rgba(50, 9, 51, 0.06);
	color: var(--ayaz-primary);
}

.ayazrao-lesson-file-bar__meta {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.ayazrao-lesson-file-bar__name {
	font-size: 0.9375rem;
	font-weight: 600;
	color: #1a1a1a;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ayazrao-lesson-file-bar__size {
	font-size: 0.8125rem;
	color: #64748b;
}

.ayazrao-lesson-file-bar__actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	flex-shrink: 0;
}

@media (max-width: 640px) {
	.ayazrao-lesson-file-bar {
		flex-wrap: wrap;
	}

	.ayazrao-lesson-file-bar__actions {
		width: 100%;
		justify-content: flex-start;
	}
}
