.ced-mv{--ced-purple:#733b98;--ced-blue:#168dbf;--ced-border:#d9d9df;--ced-light:#f6f6f8;color:#15152a}

.ced-mv *{box-sizing:border-box}

/*
 * Avada begrenzt bzw. beschneidet breite Inhalte in mehreren Wrappern.
 * Nur auf der reinen Listenansicht werden diese Begrenzungen geöffnet,
 * damit bei kleinen Viewports der Browser statt eines inneren DIV scrollt.
 */
html:has(body.ced-mv-list-page),
body.ced-mv-list-page{
	overflow-x:auto!important;
}

body.ced-mv-list-page #boxed-wrapper,
body.ced-mv-list-page #wrapper,
body.ced-mv-list-page #main,
body.ced-mv-list-page .fusion-fullwidth,
body.ced-mv-list-page .fusion-builder-row,
body.ced-mv-list-page .fusion-row,
body.ced-mv-list-page .fusion-layout-column,
body.ced-mv-list-page .fusion-column-wrapper{
	overflow:visible!important;
}

.ced-mv h2,.ced-mv h3{margin-top:0}

.ced-mv-head,.ced-mv-edit-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:24px}

.ced-mv-head p,.ced-mv-edit-head p{margin:4px 0 0}

.ced-mv-filters{display:grid;grid-template-columns:minmax(260px,2fr) minmax(170px,1fr) minmax(210px,1fr) auto;gap:16px;align-items:end;padding:22px;margin-bottom:26px;border:1px solid var(--ced-border);border-radius:12px;background:var(--ced-light)}

.ced-mv label{display:flex;flex-direction:column;gap:7px}

.ced-mv label>span{font-weight:600}

.ced-mv input,.ced-mv select,.ced-mv textarea{width:100%;min-height:46px;padding:10px 12px;border:1px solid #c9cad1;border-radius:6px;background:#fff;color:#15152a;font:inherit}

.ced-mv textarea{min-height:120px;resize:vertical}

.ced-mv input:focus,.ced-mv select:focus,.ced-mv textarea:focus{outline:2px solid rgba(22,141,191,.25);border-color:var(--ced-blue)}

.ced-mv button,.ced-mv-edit,.ced-mv-filter-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 22px;border:1px solid var(--ced-purple);border-radius:99px;background:var(--ced-purple);color:#fff!important;font-weight:700;text-decoration:none;cursor:pointer}

.ced-mv button:hover,.ced-mv-edit:hover{border-color:var(--ced-blue);background:var(--ced-blue);color:#fff!important}

.ced-mv-filter-actions{display:flex;align-items:center;gap:12px}

.ced-mv-filter-actions a{border-color:transparent;background:transparent;color:var(--ced-purple)!important;padding-left:6px;padding-right:6px}

.ced-mv-table-wrap{
	width:max(calc(100vw - 40px),1450px);
	max-width:none;
	margin-left:calc(50% - 50vw + 20px);
	margin-right:calc(50% - 50vw + 20px);
	overflow:visible;
	border:1px solid var(--ced-border);
	border-radius:12px;
	background:#fff;
}

.ced-mv .ced-mv-table-wrap{
	height:auto!important;
	min-height:0!important;
}

.ced-mv .ced-mv-table{
	width:100%;
	min-width:1450px;
	height:auto!important;
	min-height:0!important;
	border-collapse:collapse;
}

.ced-mv .ced-mv-table thead,
.ced-mv .ced-mv-table tbody{
	height:auto!important;
	min-height:0!important;
}

.ced-mv-table th,.ced-mv-table td{padding:7px 12px;border-bottom:1px solid #e7e7eb;text-align:left;vertical-align:middle}

.ced-mv .ced-mv-table thead tr{
	height:auto!important;
}

.ced-mv .ced-mv-table tbody tr{
	height:76px!important;
	min-height:0!important;
}

.ced-mv .ced-mv-table tbody td{
	height:76px!important;
	min-height:0!important;
	padding-top:4px!important;
	padding-bottom:4px!important;
}

.ced-mv-table th{background:var(--ced-light);font-size:14px}

/* Status- und Bearbeiten-Spalte eindeutig und Avada-unabhängig zentrieren. */
.ced-mv .ced-mv-table th.ced-mv-col-status,
.ced-mv .ced-mv-table th.ced-mv-col-action,
.ced-mv .ced-mv-table td.ced-mv-col-status,
.ced-mv .ced-mv-table td.ced-mv-col-action{
	text-align:center!important;
}

.ced-mv .ced-mv-table .ced-mv-cell-center{
	display:flex!important;
	width:100%!important;
	align-items:center!important;
	justify-content:center!important;
	margin:0!important;
	padding:0!important;
	text-align:center!important;
}

.ced-mv-table tr:last-child td{border-bottom:0}

.ced-mv-table small{display:block;margin-top:3px;color:#73737c}

.ced-mv-edit{min-height:34px;padding:6px 14px;font-size:13px}

.ced-mv-status{display:inline-flex;padding:5px 9px;border-radius:99px;background:#ececf0;font-size:12px;font-weight:700;white-space:nowrap}

.ced-mv-status--approved{background:#e3f4ea;color:#17663a}

.ced-mv-status--awaiting_admin_review{background:#fff0cc;color:#805500}

.ced-mv-status--inactive,.ced-mv-status--rejected{background:#fae2e2;color:#8a2020}

.ced-mv .ced-mv-status-button{
	display:inline-flex;
	width:auto;
	height:auto!important;
	min-height:0;
	margin:0!important;
	padding:5px 9px;
	border:0;
	background:#fff0cc;
	color:#805500!important;
	font-size:12px;
	line-height:1.2;
	text-decoration:none;
	cursor:pointer;
}

.ced-mv .ced-mv-status-button:hover,
.ced-mv .ced-mv-status-button:focus-visible{
	background:var(--ced-purple);
	color:#fff!important;
}

.ced-mv-pagination{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin-top:24px}

.ced-mv-pagination a{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:38px;border:1px solid var(--ced-border);border-radius:99px;color:var(--ced-purple);text-decoration:none}

.ced-mv-pagination a:hover,.ced-mv-pagination a.is-current{border-color:var(--ced-purple);background:var(--ced-purple);color:#fff}

.ced-mv-notice{margin:0 0 22px;padding:14px 18px;border-radius:8px}

.ced-mv-notice--success{background:#e3f4ea;color:#17663a}

.ced-mv-notice--error{background:#fae2e2;color:#8a2020}

.ced-mv-edit-head>a,.ced-mv-edit-head a{color:var(--ced-purple)}

.ced-mv--detail{
	--ced-detail-gap:24px;
	display:block!important;
	height:auto!important;
	min-height:0!important;
}

.ced-mv--detail>*{
	flex:none!important;
	height:auto!important;
	min-height:0!important;
}

.ced-mv--detail .ced-mv-edit-form{
	display:block!important;
	height:auto!important;
	min-height:0!important;
}

.ced-mv--detail .ced-mv-edit-head{
	height:auto!important;
	min-height:0!important;
	margin:0 0 var(--ced-detail-gap)!important;
}

.ced-mv--detail .ced-mv-edit-form{
	dis:grid!important;
	grid-template-columns:minmax(0,1fr)!important;
	align-content:start!important;
	align-items:start!important;
	gap:var(--ced-detail-gap)!important;
	margin:0!important;
	padding:0!important;
}

.ced-mv-section{display:block!important;height:auto!important;min-height:0!important;margin-bottom:0;padding:24px;border:1px solid var(--ced-border);border-radius:12px;background:#fff}

.ced-mv--detail .ced-mv-edit-form>.ced-mv-section{
	width:100%!important;
	margin:0!important;
}

.ced-mv-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 22px}

.ced-mv-span-2{grid-column:1/-1}

.ced-mv-check{flex-direction:row!important;align-items:center;align-self:end;gap:10px!important;min-height:46px}

.ced-mv-check input{width:20px;min-width:20px;min-height:20px;margin:0}

.ced-mv-check-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:center;background-color:#e8f5fa;color:#2d9acd !important}

.manuell{background-color:#e8f5fa;color:#2d9acd !important}

.ced-mv-savebar{position:sticky;bottom:14px;display:flex;justify-content:flex-end;margin:0!important;padding:12px 14px;border:1px solid var(--ced-border);border-radius:12px;background:rgba(255,255,255,.95);box-shadow:0 8px 28px rgba(0,0,0,.12);z-index:2}

.ced-mv-status-actions{display:block!important;height:auto!important;min-height:0!important;margin:var(--ced-detail-gap) 0 0!important;padding:24px!important}

.ced-mv-status-actions h3{margin-bottom:6px;line-height:1.25}

.ced-mv-status-current{display:flex!important;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:8px;height:auto!important;min-height:0!important;margin:0 0 5px;line-height:1.25;text-align:left}

.ced-mv-status-actions p{height:auto!important;min-height:0!important;margin:0 0 18px!important;padding:0!important;line-height:1.3;text-align:left}

.ced-mv-actions{display:flex!important;align-items:center;justify-content:center;flex-wrap:wrap;gap:18px;height:auto!important;min-height:0!important;padding:0;margin:0}

.ced-mv-actions form{margin:0!important;padding:0!important}

.ced-mv-actions button{margin:0!important}

.ced-mv .ced-mv-button-secondary{background:#fff;color:var(--ced-purple)!important}

.ced-mv .ced-mv-button-secondary:hover{background:var(--ced-purple);color:#fff!important}

.ced-mv-access-denied{padding:30px;border:1px solid #e0e0e5;border-radius:12px;background:#f7f7f9}

@media(max-width:1024px){
	
	.ced-mv-filters{grid-template-columns:1fr 1fr}
	.ced-mv-filter-actions{grid-column:1/-1}
}

@media(max-width:680px){
	.ced-mv-filters,.ced-mv-grid{grid-template-columns:1fr}
	.ced-mv-span-2{grid-column:auto}
	.ced-mv-head,.ced-mv-edit-head{flex-direction:column}
	.ced-mv-filter-actions{grid-column:auto;flex-wrap:wrap}
	.ced-mv-savebar{position:static}
}

/* Schrift durchgehend von der Avada-Seite übernehmen. */
.ced-mv,
.ced-mv input,
.ced-mv select,
.ced-mv textarea,
.ced-mv button,
.ced-mv table,
.ced-mv th,
.ced-mv td,
.ced-mv a,
.ced-mv p,
.ced-mv span,
.ced-mv label {
    font-family: Raleway, Arial;
}

/* Überschriften behalten Avadas globale Überschriftenschrift. */
.ced-mv h1,
.ced-mv h2,
.ced-mv h3,
.ced-mv h4 {
    font-family: var(--h2_typography-font-family, inherit);
}

/* Excel-Import */
.ced-mv-import-link,
.ced-mv-import-section button[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 11px 26px;
	border: 0;
	border-radius: 99px;
	background: var(--awb-custom_color_1, #743b96);
	color: #fff;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
}

.ced-mv-import-link:hover,
.ced-mv-import-section button[type="submit"]:hover {
	background: var(--awb-custom_color_5, #249bc5);
	color: #fff;
}

.ced-mv-import-head {
	margin-bottom: 40px;
}

.ced-mv-import-head h2 {
	margin: 12px 0 8px;
}

.ced-mv-import-section {
	margin-bottom: 45px;
}

.ced-mv-import-file {
	display: grid;
	gap: 8px;
	margin-bottom: 24px;
}

.ced-mv-import-file input[type="file"] {
	width: 100%;
	padding: 14px;
	border: 1px solid #d8d8de;
	border-radius: 8px;
	background: #fff;
}

.ced-mv-import-preview-wrap {
	width: 100%;
	overflow-x: auto;
	margin-top: 20px;
}

.ced-mv-import-preview {
	width: 100%;
	min-width: 900px;
	border-collapse: collapse;
}

.ced-mv-import-preview th,
.ced-mv-import-preview td {
	padding: 10px 12px;
	border-bottom: 1px solid #dedee4;
	text-align: left;
	vertical-align: top;
}

.ced-mv-import-errors,
.ced-mv-import-warning {
	margin: 20px 0;
	padding: 18px 22px;
	border-radius: 8px;
	background: #f4f4f6;
}

.ced-mv-import-errors {
	border-left: 4px solid #b42318;
}

.ced-mv-import-summary {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 18px 0;
}

.ced-mv-import-summary span {
	padding: 10px 14px;
	border-radius: 8px;
	background: #f1f1f4;
}

.ced-mv-import-summary strong {
	font-size: 1.25em;
	color: var(--awb-custom_color_1, #743b96);
}

.ced-mv-import-log {
	max-height: 320px;
	overflow-y: auto;
	padding-left: 22px;
}

.ced-mv-import-note {
	font-size: .9em;
	font-style: italic;
}
