.da-fe {
	max-width: 1400px;
	margin: 0 auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: #1d2327;
	line-height: 1.5;
}

/* !important, da das Avada-Theme auf manchen Elementen (z.B. Absätzen, Links)
   eine eigene Schriftart mit höherer Spezifität setzt, die sonst gewinnen würde. */
.da-fe,
.da-fe * {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}

.da-fe-narrow {
	max-width: 420px;
}

.da-fe h1 {
	font-size: 22px;
	font-weight: 700;
	color: #1d2327;
	margin: 0 0 4px;
}

.da-fe h2 {
	font-size: 18px;
	margin: 24px 0 12px;
}

.da-fe-header {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 8px;
	border-bottom: 1px solid #dcdcde;
	padding-bottom: 12px;
	margin-bottom: 16px;
}

.da-fe-user {
	font-size: 13px;
	color: #50575e;
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}

.da-fe-nav {
	display: flex;
	align-items: baseline;
	gap: 14px;
	margin-bottom: 16px;
}

.da-fe-nav a {
	font-size: 14px;
	font-weight: 600;
	color: #2271b1;
	text-decoration: none;
}

.da-fe-nav a:hover {
	text-decoration: underline;
}

.da-alert {
	padding: 10px 14px;
	border-radius: 4px;
	margin: 12px 0;
	font-size: 14px;
}

.da-alert-success {
	background: #e6f4ea;
	color: #1e6b34;
}

.da-alert-error {
	background: #fbeaea;
	color: #a3232c;
}

.da-form p {
	margin: 0 0 12px;
}

.da-form label {
	display: block;
	font-weight: 600;
	font-size: 13px;
	margin-bottom: 4px;
}

.da-form input[type="text"],
.da-form input[type="email"],
.da-form input[type="password"],
.da-form input[type="search"],
.da-form input[type="file"],
.da-form select,
.da-form textarea {
	width: 100%;
	max-width: 420px;
	padding: 8px 10px;
	border: 1px solid #8c8f94;
	border-radius: 4px;
	font-size: 14px;
	box-sizing: border-box;
}

.da-form textarea {
	max-width: 100%;
}

.da-btn {
	display: inline-block;
	padding: 8px 16px;
	background: #f0f0f1;
	color: #1d2327;
	border: 1px solid #8c8f94;
	border-radius: 4px;
	cursor: pointer;
	font-size: 14px;
	text-decoration: none;
}

.da-btn:hover {
	background: #e0e0e0;
}

.da-btn-primary {
	background: #2271b1;
	border-color: #2271b1;
	color: #fff;
}

.da-btn-primary:hover {
	background: #135e96;
	color: #fff;
}

.da-btn-small {
	padding: 4px 10px;
	font-size: 12px;
}

.da-btn-link {
	background: none;
	border: none;
	color: #2271b1;
	text-decoration: underline;
	padding: 0;
}

.da-inline-form {
	display: inline;
}

.da-inline-form-block {
	display: flex;
	gap: 8px;
	align-items: center;
	flex-wrap: wrap;
}

.da-inline-form-block input[type="text"] {
	max-width: 260px;
}

.da-filterbar {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	align-items: center;
	margin-bottom: 16px;
}

.da-filterbar select,
.da-filterbar input {
	padding: 6px 8px;
	border: 1px solid #8c8f94;
	border-radius: 4px;
}


.da-filterbar input[type="search"] {
	flex: 1 1 260px;
}

.da-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 16px;
}

.da-table th,
.da-table td {
	text-align: left;
	padding: 10px 12px;
	border-bottom: 1px solid #e0e0e0;
	font-size: 14px;
	vertical-align: top;
}

.da-table th {
	font-size: 12px;
	text-transform: uppercase;
	color: #50575e;
	border-bottom: 2px solid #dcdcde;
}

.da-badge {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 12px;
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
	background: #f0f0f1;
	color: #50575e;
}

.da-breadcrumb {
	font-size: 13px;
	color: #50575e;
	margin-bottom: 16px;
}

.da-breadcrumb a {
	color: #2271b1;
	text-decoration: none;
}

.da-breadcrumb a:hover {
	text-decoration: underline;
}

.da-folder-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 12px;
	margin-bottom: 24px;
}

.da-folder-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 4px;
	padding: 18px 12px;
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 8px;
	text-decoration: none;
	color: #1d2327;
}

.da-folder-card:hover {
	border-color: #2271b1;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.da-folder-icon {
	font-size: 32px;
	line-height: 1;
}

.da-folder-name {
	font-weight: 600;
	font-size: 14px;
	word-break: break-word;
}

.da-folder-count {
	font-size: 12px;
	color: #757575;
}

.da-doc-list {
	margin-bottom: 16px;
}

.da-doc-item {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	padding: 10px 0;
	border-bottom: 1px solid #e0e0e0;
}

.da-doc-toggle {
	flex: 1 1 320px;
	min-width: 0;
}

.da-doc-summary {
	cursor: pointer;
	list-style: none;
	font-size: 14px;
	font-weight: 600;
	color: #1d2327;
}

.da-doc-summary::-webkit-details-marker {
	display: none;
}

.da-doc-summary::after {
	content: " +";
	color: #2271b1;
	font-weight: 700;
}

.da-doc-toggle[open] .da-doc-summary::after {
	content: " \2212";
}

.da-doc-details {
	margin-top: 6px;
	font-size: 13px;
	color: #50575e;
}

.da-doc-details p {
	margin: 0 0 4px;
}

.da-doc-actions {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
	flex-shrink: 0;
}

.da-badge-on { background: #e6f4ea; color: #1e6b34; }
.da-badge-off { background: #fbeaea; color: #a3232c; }

.da-muted {
	color: #757575;
	font-size: 13px;
}

.description {
	color: #757575;
	font-size: 13px;
}

.da-pagination {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 24px;
}

.da-quickadd {
	margin-bottom: 20px;
}

.da-quickadd > summary {
	cursor: pointer;
	font-weight: 600;
	color: #2271b1;
	list-style: none;
	padding: 4px 0;
}

.da-quickadd > summary::-webkit-details-marker {
	display: none;
}

.da-quickadd > summary::before {
	content: "+ ";
}

.da-quickadd[open] > summary::before {
	content: "\2212 ";
}

.da-quickadd .da-form {
	margin-top: 12px;
	padding: 16px;
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 6px;
}

@media (max-width: 680px) {
	.da-fe h1 {
		font-size: 19px;
	}

	.da-fe-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
	}

	.da-fe-user {
		font-size: 12px;
	}
}
