.we-settings-shortcodes {
	list-style: disc;
	padding-left: 20px;
}

.we-settings-select {
	min-width: 320px;
}

.we-full-width {
	width: 100%;
}

.we-details-table {
	margin-top: 10px;
}

.we-details-table th {
	width: 30%;
	text-align: left;
}

.we-cf7-table th {
	width: 30%;
}

.we-file-actions {
	display: flex;
	gap: 10px;
	align-items: center;
	flex-wrap: wrap;
}

.we-file-name {
	word-break: break-word;
}

.we-pdf-modal {
	display: none;
	position: fixed;
	z-index: 99999;
	inset: 0;
	background: rgba(0, 0, 0, 0.7);
}

.we-pdf-modal-dialog {
	position: relative;
	width: min(1100px, 95vw);
	height: min(90vh, 900px);
	margin: 4vh auto;
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.we-pdf-modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 16px;
	border-bottom: 1px solid #ddd;
	background: #f6f7f7;
	gap: 12px;
}

.we-pdf-frame {
	width: 100%;
	height: calc(100% - 53px);
	border: 0;
}

body.we-modal-open {
	overflow: hidden;
}

.we-separator {
	margin: 20px 0;
}

.we-table-wrap {
	width: 100%;
}

.we-table-toolbar {
	display: flex;
	gap: 12px;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	margin: 0 0 16px 0;
}

.we-table-search-wrap {
	flex: 1;
	min-width: 260px;
}

.we-table-search-wrap label {
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
}

.we-table-search {
	width: 100%;
	max-width: 480px;
	padding: 10px 12px;
	border: 1px solid #ccc;
	border-radius: 4px;
}

.we-table-count {
	font-size: 14px;
	color: #444;
}

.we-table-scroll {
	overflow-x: auto;
}

.we-approved-table {
	width: 100%;
	border-collapse: collapse;
}

.we-approved-table caption {
	text-align: left;
	padding: 0 0 10px 0;
	font-weight: 600;
}

.we-approved-table th,
.we-approved-table td {
	border: 1px solid #ccc;
	padding: 8px;
	text-align: left;
}

.we-approved-table th {
	padding: 0;
}

.we-sort-btn {
	width: 100%;
	padding: 8px;
	border: 0;
	background: #f7f7f7;
	text-align: left;
	font-weight: 700;
	cursor: pointer;
}

.we-no-results {
	margin-top: 12px;
}

@media (max-width: 782px) {
	.we-pdf-modal-dialog {
		width: 96vw;
		height: 88vh;
		margin: 3vh auto;
	}

	.we-pdf-modal-header {
		padding: 10px 12px;
	}

	.we-table-toolbar {
		align-items: stretch;
	}

	.we-table-search {
		max-width: none;
	}
}