/* ORDER TABLE */

.woocommerce-orders-table {
}

.woocommerce-orders-table th:first-of-type {
	border-top-left-radius: 10px;
}

.woocommerce-orders-table th:last-of-type {
	border-top-right-radius: 10px;
}

.woocommerce-orders-table tr:last-of-type td:first-of-type {
	border-top-right-radius: 10px;
}

.woocommerce-orders-table tr:last-of-type td:last-of-type {
	border-top-right-radius: 10px;
}

.woocommerce-orders-table th:first-of-type,
.woocommerce-orders-table td:first-of-type {
	padding-left: 25px;
}

.woocommerce-orders-table th:last-of-type,
.woocommerce-orders-table td:last-of-type {
	padding-right: 25px;
}

.woocommerce-orders-table th {
	padding-top: 35px;
	padding-bottom: 35px;
	background-color: white;
}

.woocommerce-orders-table td {
	padding-top: 25px;
	padding-bottom: 25px;
	background-color: white;
	border-bottom-width: 2px;
}

.elixxier-order-details-wrapper > div {
	text-align: left;
	padding: 10px 0 20px;
	border-bottom: 2px solid #fff;
}

.elixxier-order-details-wrapper > div:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.elixxier-order-details-row {
	display: none;
	height: 0;
}

.woocommerce-orders-table .order.active td {
	background-color: #f7f7f7;
	border-bottom-width: 0;
}

.elixxier-order-details-row td {
	background-color: #f7f7f7;
	border-bottom-width: 2px;
	padding-top: 0;
}

.elixxier-order-details-row td .elixxier-order-details-label {
	font-size: 13px;
}

.elixxier-show-order-details {
	font-weight: bold;
	display: inline-flex;
	align-items: center;
	position: relative;
	padding-right: 25px;
}

.elixxier-show-order-details::after {
	content: "";
	width: 12px;
	height: 12px;
	display: block;
	border-left: 2px solid #515151;
	border-top: 2px solid #515151;
	transform: rotate(-135deg);
	position: absolute;
	right: 0;
	top: 2px;
}

.elixxier-show-order-details.active::after {
	transform: rotate(45deg);
	top: 7px;
}

.woocommerce-MyAccount-wrapper {
	display: flex;
	align-items: flex-start;
}

.woocommerce-MyAccount-navigation-outer {
	flex: 0.3;
	margin-right: 20px;
}

.woocommerce-MyAccount-navigation-wrapper {
	background-color: white;
	border-radius: 10px;
	border: 1px solid #e2e2e2;
	display: flex;
	flex-direction: column;
}

.woocommerce-MyAccount-navigation-header {
	display: flex;
	align-items: center;
	padding: 25px 17px;
	border-bottom: 2px solid #efefef;
	font-size: 1.175rem;
	font-size: 20px;
}

.woocommerce-MyAccount-navigation-userCircle {
	flex: 0 1 48px;
	display: flex;
	align-items: center;
	align-content: center;
	background-color: #445eed;
	justify-content: center;
	align-items: center;
	color: #fff;
	height: 48px;
	border-radius: 100%;
	margin-right: 15px;
	font-size: 24px;
}

.woocommerce-MyAccount-navigation {
	padding: 30px 0;
	border-bottom: 2px solid #efefef;
}

.woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
}

.woocommerce-MyAccount-navigation ul > li {
	margin: 0 0 25px 0;
	line-height: 1;
	padding-left: 30px;
	padding-right: 30px;
}

.woocommerce-MyAccount-navigation ul > li.myaccount-logout {
	border-top: 2px solid #efefef;
	padding-top: 30px;
}

.woocommerce-MyAccount-navigation ul > li a,
.woocommerce-MyAccount-navigation-logout a {
	display: flex;
	align-items: center;
	line-height: 1;
}
.woocommerce-MyAccount-navigation ul > li:last-child {
	margin-bottom: 0;
}

.woocommerce-MyAccount-navigation ul > li a::before,
.woocommerce-MyAccount-navigation-logout a::before {
	content: "";
	width: 18px;
	height: 18px;
	display: block;
	background-color: #515151;
	margin-right: 10px;
	mask-repeat: no-repeat;
	-webkit-mask-repeat: no-repeat;
	mask-size: contain;
	-webkit-mask-size: contain;
}

.woocommerce-MyAccount-navigation li.myaccount-lizenzen a::before {
	-webkit-mask-image: url("../img/myaccount-lizenzen-icon.svg");
	mask-image: url("../img/myaccount-lizenzen-icon.svg");
}

.woocommerce-MyAccount-navigation li.myaccount-bestellungen a::before {
	-webkit-mask-image: url("../img/myaccount-bestellungen-icon.svg");
	mask-image: url("../img/myaccount-bestellungen-icon.svg");
}

.woocommerce-MyAccount-navigation li.myaccount-nutzer a::before {
	-webkit-mask-image: url("../img/myaccount-nutzer-icon.svg");
	mask-image: url("../img/myaccount-nutzer-icon.svg");
}

.woocommerce-MyAccount-navigation li.myaccount-logout a::before {
	-webkit-mask-image: url("../img/myaccount-logout-icon.svg");
	mask-image: url("../img/myaccount-logout-icon.svg");
}

.woocommerce-MyAccount-navigation-logout a::before {
	-webkit-mask-image: url("../img/myaccount-logout-icon.svg");
	mask-image: url("../img/myaccount-logout-icon.svg");
}

.woocommerce-MyAccount-navigation-wrapper a {
	font-size: 1.175rem;
	font-size: 20px;
	color: #515151;
}
.woocommerce-MyAccount-navigation-wrapper a:hover,
.woocommerce-MyAccount-navigation-wrapper .current-menu-item a {
	color: #445eed;
}

.woocommerce-MyAccount-navigation-wrapper a:hover::before,
.woocommerce-MyAccount-navigation li.current-menu-item a::before,
.woocommerce-MyAccount-navigation-logout a:hover::before {
	background-color: #445eed;
}

.woocommerce-MyAccount-navigation-wrapper .current-menu-item a {
	font-weight: 700;
}

.woocommerce-MyAccount-navigation-logout {
	padding: 23px 30px;
}

.woocommerce-MyAccount-content-outer {
	flex: 1;
}

.woocommerce-MyAccount-content-wrapper {
	display: flex;
	flex-direction: column;
	margin-bottom: 20px;
}

.ma-promo-insert {
	display: flex;
	align-items: center;
	gap: 0 10px;
	border-bottom: 2px solid #efefef;
	padding-bottom: 25px;
	margin-bottom: 25px;
	line-height: 1.25;
}

.ma-promo-insert .product-atc {
	text-align: center;
}

.ma-promo-insert .product-atc.text-right {
	text-align: right;
}

.ma-promo-insert .product-atc .selected-price > span {
	display: none;
	margin-right: 1em;
}

.ma-promo-insert .product-atc .version-select {
	display: flex;
	align-items: center;
	justify-content: flex-end;
}
.version-select label {
	margin: 0;
}

.version-select input {
	margin: 0 4px 0 10px;
}

.add_to_cart_button {
}

.elixxier-MyAccount-lizenz-header {
	display: flex;
	align-items: center;
	gap: 0 10px;
	height: 105px;
}

.ma-promo-insert .product-image,
.elixxier-MyAccount-lizenz-header .product-image {
	width: 104px;
	border-radius: 8px;
	height: 104px;
}

.ma-promo-insert .product-description,
.elixxier-MyAccount-lizenz-header .product-description {
	flex: 1;
}

.elixxier-MyAccount-lizenz-header .product-description .buy-date {
	font-size: 12px;
	color: #616163;
}

.expire-box {
	flex: 1;
}

.expire-box.not-expired {
	text-align: right;
	max-width: 260px;
	color: #464646;
}

.expire-note {
	line-height: 1.25;
	color: #707070;
}

.expire-countdown {
	color: #6ebf6a;
	font-size: 12px;
}

.expire-box.expired {
	background-color: #f0f0f0;
	padding: 15px;
	border-radius: 8px;
	display: flex;
	line-height: 1.25;
	justify-content: space-between;
	align-items: center;
}

.expire-box .update-text {
}
.expire-box .update-button {
	text-align: center;
}

.elixxier-MyAccount-lizenz-lizenz {
	justify-content: space-between;
}

.elixxier-MyAccount-lizenz-lizenz .lizenz-lizenz {
	flex: 1;
	display: flex;
	max-width: 40%;
	align-items: center;
}

.lizenz-downloads {
	display: flex;
	align-items: center;
}

.lizenz-label {
	position: absolute;
	top: -14px;
	background-color: white;
	color: rgba(0, 0, 0, 0.8);
	font-size: 12px;
	padding: 0 4px;
	left: 10px;
	z-index: 9;
}

.master-password-form {
	display: flex;
	flex: 1;
	gap: 1em;
}

.lizenz-code-wrap,
.lizenz-passwort-wrap {
	position: relative;
	flex: 1 1 350px;
	margin-bottom: 0;
	margin-right: 10px;
}
.lizenz-code-wrap > input,
.lizenz-code-wrap > input:focus,
.lizenz-passwort-wrap > input,
.lizenz-passwort-wrap > input:focus {
	margin: 0;
	display: block;
	border: none;
	width: 100%;
	padding: 0;
	box-shadow: none;
	height: auto;
}

.locked .lizenz-code-wrap > input {
	border: 1px solid red !important;
}

.copy-button {
	background: url("../img/copy-icon.png") no-repeat center;
	width: 19px;
	height: 22px;
	cursor: pointer;
	margin: 0 0.5em;
}

.copy-button:hover {
	opacity: 0.8;
}

.elixxier-MyAccount-lizenz-switches,
.elixxier-MyAccount-lizenz-passwort,
.elixxier-MyAccount-lizenz-features,
.elixxier-MyAccount-lizenz-lizenz {
	padding: 25px 0;
	border-bottom: 2px solid #efefef;
	display: flex;
	flex-wrap: wrap;
}

.switch-container {
	display: flex;
	margin-right: 50px;
	align-items: center;
}

.switch-container .switch {
	position: relative;
	margin-right: 15px;
	cursor: pointer;
	transition: opacity 0.3s ease;
}

.switch-container .disabled {
	opacity: 0.3;
	cursor: not-allowed;
	transition: opacity 0.3s ease;
}

.switch-container .switch.processing .switch-range,
.switch-container .switch.processing .switch-handle {
	visibility: hidden;
}

.switch-container .switch .switch-range {
	width: 35px;
	height: 14px;
	border-radius: 10px;
	background-color: rgba(0, 0, 0, 0.5);
	display: block;
}

.switch-container .switch .switch-handle {
	display: block;
	background-color: #fafafa;
	width: 20px;
	height: 20px;
	position: absolute;
	border-radius: 20px;
	box-shadow: 0px 2px 1px rgba(0, 0, 0, 0.2), 0px 1px 1px rgba(0, 0, 0, 0.14),
		0px 1px 3px rgba(31, 16, 16, 0.12);
	top: -3px;
	transition: transform 0.1s linear, background-color 0.1s linear;
}

.switch.on .switch-range {
	background-color: #2196f3;
	opacity: 0.5;
}

.switch.on .switch-handle {
	background-color: #2196f3;
	transform: translateX(15px);
}

.switch-container .switch-label {
	margin-right: 14px;
	line-height: 1;
}

.elixxier-MyAccount-lizenz-wrapper,
.elixxier-MyAccount-userdata-wrapper {
	padding: 20px 22px 30px !important;
	background-color: white;
	border-radius: 10px;
	border: 1px solid #e2e2e2;
	font-size: 14px;
}

.elixxier-MyAccount-lizenz-wrapper > div:empty {
	display: none;
}

.elixxier-MyAccount-lizenz-wrapper > div:last-child {
	border-bottom: none;
}

.elixxier-MyAccount-lizenz-wrapper {
	position: relative;
}

.elixxier-MyAccount-lizenz-wrapper.locked
	.elixxier-MyAccount-lizenz-aktivierungen {
	display: none;
}

.elixxier-MyAccount-lizenz-wrapper.locked::before {
	content: "";
	background-color: white;
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	top: 0;
	opacity: 0.5;
	border-radius: 10px;
	z-index: 999;
	cursor: not-allowed;
}

.elixxier-MyAccount-lizenz-wrapper p:not(.mb-1) {
	margin-bottom: 0;
}

.elixxier-MyAccount-lizenz-wrapper p.mb-1 {
	margin-bottom: 0.5em;
}

.elixxier-MyAccount-lizenz-wrapper:not(:last-child),
.elixxier-MyAccount-userdata-wrapper:not(:last-child) {
	margin-bottom: 10px;
}

.elixxier-MyAccount-userdata-wrapper h4 {
	margin-bottom: 1em;
}

.elixxier-MyAccount-lizenz-wrapper .tooltip-wrapper {
	position: relative;
	top: 1px;
}

.elixxier-MyAccount-lizenz-wrapper .tooltip-icon {
	background: url("../img/info-icon.png") no-repeat center;
	width: 20px;
	height: 20px;
	display: block;
	cursor: pointer;
	border-radius: 100%;
}

.elixxier-MyAccount-lizenz-wrapper .tooltip-icon.active {
	box-shadow: 0 0 5px var(---blau-hover);
}

.elixxier-MyAccount-lizenz-wrapper .tooltip {
	display: none;
	background: #efefef;
	border: 1px solid rgba(81, 81, 81, 0.2);
	padding: 18px;
	box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
	position: absolute;
	border-radius: 5px;
	width: 300px;
	left: -150px;
	top: 40px;
	z-index: 9;
}

.elixxier-MyAccount-lizenz-wrapper .tooltip::before {
	content: "";
	width: 18px;
	height: 18px;
	transform: rotate(45deg);
	background: #efefef;
	border-left: 1px solid rgba(81, 81, 81, 0.2);
	border-top: 1px solid rgba(81, 81, 81, 0.2);
	display: block;
	top: -10px;
	position: absolute;
	left: 50%;
	display: none;
}

.elixxier-MyAccount-lizenz-aktivierungen {
	padding: 30px 0 0;
}

.elixxier-MyAccount-lizenz-aktivierugen-header {
	display: flex;
	align-items: center;
	margin-bottom: 20px;
}

.elixxier-MyAccount-lizenz-aktivierugen-header h4 {
	flex: 1;
}
.elixxier-MyAccount-lizenz-aktivierugen-header p {
	margin: 0 14px 0 0;
}

.elixxier-MyAccount-lizenz-aktivierugen-table {
	margin-top: 30px;
}

.downloadButton {
	text-align: center;
	margin-left: 10px;
}

.downloadButton:hover {
	opacity: 0.8;
}

.downloadButton > .download-icon {
	background-color: #445eed;
	border-radius: 3px;
	width: 70px;
	height: 35px;
	display: block;
	background-position: center center;
	background-repeat: no-repeat;
}
.downloadButton.windows > .download-icon,
.downloadButton.win > .download-icon {
	background-image: url("../img/windows-logo.png");
}
.downloadButton.mac > .download-icon {
	background-image: url("../img/apple-logo.png");
}

.elixxier-MyAccount-lizenz-wrapper th,
.elixxier-MyAccount-lizenz-wrapper td {
	border-bottom: 1px solid rgba(81, 81, 81, 0.3);
	width: 33%;
}

.elixxier-MyAccount-lizenz-wrapper th:last-child,
.elixxier-MyAccount-lizenz-wrapper td:last-child {
	max-width: 285px;
}
button.offline-activation,
button.offline-deactivation {
	width: 285px;
	background-color: white;
	color: inherit;
	font-weight: normal;
}

button.offline-deactivation {
	background-color: #d2d2d2;
}

#offline-activation-modal,
#offline-deactivation-modal,
.myaccount-modal {
	position: fixed;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 99999;
}

#offline-activation-modal .modal-header,
#offline-deactivation-modal .modal-header,
.myaccount-modal .modal-header {
	border-bottom: 1px solid #eee;
	display: flex;
	margin-bottom: 0.5em;
}

#offline-activation-modal .modal-header .close-modal,
#offline-deactivation-modal .modal-header .close-modal,
.myaccount-modal .modal-header .close-modal {
	background-color: #445eed;
	color: white;
	cursor: pointer;
	opacity: 0.8;
	transition: opacity 0.5s ease;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	font-weight: bold;
	padding-bottom: 4px;
}

#offline-activation-modal .modal-header .close-modal:hover,
#offline-deactivation-modal .modal-header .close-modal:hover,
.myaccount-modal .modal-header .close-modal:hover {
	opacity: 1;
}

#offline-activation-modal .modal-content-wrapper,
#offline-deactivation-modal .modal-content-wrapper,
.myaccount-modal .modal-content-wrapper {
	background-color: white;
	z-index: 100;
	max-height: 90vh;
	overflow: hidden;
	border-radius: 5px;
	padding: 0;
	width: 90%;
	max-width: 800px;
}

#offline-activation-modal .modal-backdrop,
#offline-deactivation-modal .modal-backdrop,
.myaccount-modal .modal-backdrop {
	position: fixed;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 99;
}

#offline-activation-modal .content,
#offline-deactivation-modal .content,
.myaccount-modal .content {
	padding: 20px;
	position: relative;
	overflow-y: auto;
	max-height: 90vh;
}

#billing_address_2_field > label,
#shipping_address_2_field > label {
	width: auto;
	opacity: 1;
}

.elixxier-MyAccount-lizenz-features-row {
	display: flex;
	align-items: center;
	gap: 1em;
	height: 60px;
	margin: 0 0.8em;
}

.elixxier-MyAccount-lizenz-features-row:first-child {
	margin-top: 0;
}
.elixxier-MyAccount-lizenz-features-row:last-child {
	margin-bottom: 0;
}

.elixxier-MyAccount-lizenz-features-row .feature-image {
	height: 100%;
}

/* License Title Styles */
.elixxier-MyAccount-lizenz-header-links .product-title,
.elixxier-MyAccount-lizenz-header .product-title,
.product-title {
	font-weight: bold !important;
}

/* Migrated from Plugin CSS - Billing VAT Field */
#billing_vat_field {
	display: block !important;
}

/* Migrated from Plugin CSS - Download Wrapper */
.download-buttons-wrapper {
	display: flex;
	margin-top: 10px;
	align-items: start;
}

.download-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.download-size-label {
	font-size: 12px;
	color: #666;
	margin-top: 2px;
}

/* Migrated from Plugin CSS - Download Button Direct Styles */
.downloadButton {
	background-color: #445eed;
	border-radius: 3px;
	width: 70px;
	height: 35px;
	display: block;
	background-position: center center;
	background-repeat: no-repeat;
	margin-bottom: 0 !important;
	text-align: center;
	margin-left: 10px;
}


/* Migrated from Plugin CSS - Discount Price Styles */
.elixxier-discount-price {
	text-align: right;
}

.elixxier-discount-price .original-price {
	color: #999;
	font-size: 0.9em;
}

.elixxier-discount-price .discounted-price {
	color: #e74c3c;
	font-weight: bold;
	font-size: 1.1em;
}

.elixxier-discount-price .discount-savings {
	color: #27ae60;
	font-weight: bold;
	display: block;
	margin-top: 2px;
}

/* Responsive für Discount Prices */
@media (max-width: 768px) {
	.elixxier-discount-price {
		text-align: left;
	}
	
	.elixxier-discount-price .discount-savings {
		font-size: 0.9em;
	}
}

/* Minimum width for license code box */
.lizenz-lizenz {
	min-width: 340px;
}

/* ===== School License View ===== */

.elixxier-school-license-view {
	margin-bottom: 2rem;
}

.school-view-toggle {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1.5rem;
}
.school-view-toggle-left {
	display: flex;
	gap: 0.5rem;
}
.school-csv-export-btn {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: none;
	border: 1px solid #ddd;
	border-radius: 6px;
	padding: 6px 14px;
	font-size: 12px;
	color: #555;
	cursor: pointer;
	transition: all 0.15s;
}
.school-csv-export-btn:hover {
	border-color: #445eed;
	color: #445eed;
}
.school-csv-export-btn.processing {
	opacity: 0.5;
	pointer-events: none;
}
.school-view-toggle-right {
	display: flex;
	gap: 8px;
	align-items: center;
}
.school-help-btn {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: none;
	border: 1px solid #ddd;
	border-radius: 6px;
	padding: 6px 14px;
	font-size: 12px;
	color: #555;
	cursor: pointer;
	transition: all 0.15s;
}
.school-help-btn:hover {
	border-color: #445eed;
	color: #445eed;
}
.school-help-btn svg {
	width: 14px;
	height: 14px;
}

/* Help Modal */
.school-help-modal-wrapper {
	max-width: 720px;
	max-height: 85vh;
	border-radius: 12px;
	overflow: hidden;
}
.school-help-modal-body {
	padding: 24px 28px 32px;
	overflow-y: auto;
	max-height: calc(85vh - 80px);
	font-size: 14px;
	line-height: 1.7;
	color: #333;
}
.school-help-intro {
	font-size: 15px;
	color: #555;
	margin-bottom: 24px;
	padding-bottom: 20px;
	border-bottom: 1px solid #eee;
}
.school-help-section {
	margin-bottom: 28px;
	padding-bottom: 24px;
	border-bottom: 1px solid #f0f0f0;
}
.school-help-section:last-child {
	border-bottom: none;
	margin-bottom: 0;
}
.school-help-section h4 {
	font-size: 16px;
	font-weight: 600;
	color: #222;
	margin: 0 0 10px;
}
.school-help-section img {
	max-width: 100%;
	height: auto;
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	margin: 12px 0;
	display: block;
}
.school-help-section img.school-help-img-small {
	max-width: 280px;
}
.school-help-section img.school-help-img-modal {
	max-width: 420px;
}
.school-help-section ul,
.school-help-section ol {
	padding-left: 20px;
	margin: 10px 0;
}
.school-help-section li {
	margin-bottom: 6px;
}
.school-help-warning {
	background: #fffde7;
	border: 1px solid #f0e68c;
	border-radius: 8px;
	padding: 12px 16px;
	font-size: 13px;
	color: #856404;
	line-height: 1.5;
	margin: 12px 0;
}
.school-view-toggle .button {
	opacity: 0.5;
	transition: opacity 0.2s;
}
.school-view-toggle .button.active {
	opacity: 1;
	font-weight: 600;
}

/* Bulk-Actions */
.school-bulk-actions {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1rem;
	flex-wrap: wrap;
}
.school-recycle-selected {
	background: #445eed;
	color: #fff;
	border: none;
	border-radius: 4px;
	padding: 8px 16px;
	cursor: pointer;
	font-size: 14px;
}
.school-recycle-selected:hover:not(:disabled) {
	background: #3349d4;
}
.school-recycle-selected:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}
.school-recycle-count {
	margin-left: 4px;
}

/* Progress Bar */
.school-recycle-progress {
	flex: 1;
	min-width: 200px;
}
.school-recycle-progress .progress-text {
	display: block;
	font-size: 13px;
	color: #555;
	margin-bottom: 4px;
}
.progress-bar-wrap {
	height: 6px;
	background: #e0e0e0;
	border-radius: 3px;
	overflow: hidden;
}
.progress-bar-fill {
	height: 100%;
	background: #445eed;
	border-radius: 3px;
	transition: width 0.3s ease;
	width: 0%;
}

/* Tabelle */
.school-license-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
	table-layout: fixed;
	background: #fff;
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	overflow: hidden;
}
.school-license-table th {
	background: #f7f7f7;
	padding: 10px 12px;
	text-align: left;
	font-weight: 600;
	font-size: 13px;
	border-bottom: 2px solid #e2e2e2;
	white-space: nowrap;
}
.school-license-table td {
	padding: 9px 12px;
	border-bottom: 1px solid #f0f0f0;
	vertical-align: middle;
}
.school-license-table tbody tr:last-child td {
	border-bottom: none;
}
.school-license-table tbody tr:hover {
	background: #f9f9ff;
}
.school-license-table code {
	font-size: 12px;
	background: #f5f5f5;
	padding: 3px 6px;
	border-radius: 3px;
	user-select: all;
	letter-spacing: 0.3px;
	white-space: nowrap;
}
.school-license-table .col-check {
	width: 36px;
	text-align: center;
}
.school-license-table .col-licensecode { width: 28%; }
.school-license-table .col-status { width: 11%; }
.school-license-table .col-updates { width: 17%; }
.school-license-table .col-aktion { width: 14%; text-align: right; }
.school-license-table input[type="checkbox"] {
	width: 16px;
	height: 16px;
	cursor: pointer;
}
.school-license-table tr.locked {
	opacity: 0.45;
}
.school-license-table tr.recycle-success {
	background: #e8f5e9;
	transition: background 0.5s;
}
.school-recycle-single {
	background: #445eed;
	color: #fff;
	border: none;
	border-radius: 6px;
	padding: 5px 14px;
	font-size: 12px;
	font-weight: 500;
	cursor: pointer;
	white-space: nowrap;
	transition: background 0.15s;
	line-height: 1.3;
}
.school-recycle-single:hover {
	background: #3349d4;
}
.school-recycle-single.processing {
	opacity: 0.5;
	cursor: wait;
}
.school-recycle-disabled-wrap {
	position: relative;
	display: inline-block;
}
.school-recycle-single.school-recycle-disabled {
	background: #445eed;
	opacity: 0.35;
	cursor: not-allowed;
}
.school-recycle-disabled-tooltip {
	display: none;
	position: fixed;
	width: 240px;
	background: #fff;
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	padding: 12px 14px;
	font-size: 13px;
	line-height: 1.5;
	color: #333;
	box-shadow: 0 4px 16px rgba(0,0,0,0.12);
	z-index: 10000;
}

/* ===== Sidebar Groups Box ===== */
.school-sidebar-groups {
	background: #fff;
	border: 1px solid #e2e2e2;
	border-radius: 10px;
	margin-top: 16px;
	overflow: hidden;
}
.school-sidebar-groups-header {
	padding: 14px 20px 0;
}
.school-sidebar-groups-title {
	font-size: 15px;
	font-weight: 600;
	color: #333;
}
.school-sidebar-groups-divider {
	height: 1px;
	background: #e2e2e2;
	margin: 10px 0;
}
.school-sidebar-groups-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.school-sidebar-group-item {
	display: flex;
	flex-direction: column;
	padding: 0;
	transition: background 0.15s;
}
.school-sidebar-group-item:hover {
	background: #f5f5ff;
}
.school-sidebar-group-item.active {
	background: #f5f5ff;
}
.school-sidebar-group-item.active .school-sidebar-group-link {
	color: #445eed;
	font-weight: 600;
}
/* Row 1: Dot + Name + Count */
.school-sidebar-group-link {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 20px 2px;
	color: #333;
	text-decoration: none;
	font-size: 14px;
	line-height: 1.4;
}
.school-sidebar-group-link:hover {
	color: #445eed;
	text-decoration: none;
}
.school-sidebar-group-dot {
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	flex-shrink: 0;
}
.school-sidebar-group-name {
	flex: 1;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.school-sidebar-group-count {
	font-size: 13px;
	color: #888;
	flex-shrink: 0;
}
/* Row 2: Typ-Label + Edit-Stift */
.school-sidebar-group-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 20px 8px 38px;
}
.school-sidebar-group-type {
	font-size: 12px;
	color: #888;
	line-height: 1.3;
}
.school-sidebar-group-edit {
	font-size: 12px;
	opacity: 0;
	cursor: pointer;
	padding: 2px 0;
	transition: opacity 0.15s;
	color: #999;
}
.school-sidebar-group-item:hover .school-sidebar-group-edit {
	opacity: 0.5;
}
.school-sidebar-group-edit:hover {
	opacity: 1 !important;
	color: #445eed;
}
/* Row 2: Assign-Button (hidden by default, JS zeigt ihn) */
.school-sidebar-group-row2 {
	padding: 0 20px 6px;
}
.school-sidebar-assign-btn {
	display: block;
	width: 100%;
	background: #445eed;
	color: #fff;
	border: none;
	border-radius: 4px;
	padding: 5px 10px;
	font-size: 12px;
	font-weight: 500;
	cursor: pointer;
	text-align: center;
	transition: background 0.15s;
	white-space: nowrap;
}
.school-sidebar-assign-btn:hover {
	background: #3349d4;
}
/* "Aus Gruppe entfernen" */
.school-sidebar-group-unassigned .school-sidebar-assign-btn {
	background: #fff;
	color: #d32f2f;
	border: 1px solid #d32f2f;
}
.school-sidebar-group-unassigned .school-sidebar-assign-btn:hover {
	background: #d32f2f;
	color: #fff;
}
.school-sidebar-assign-btn.processing {
	opacity: 0.7;
	cursor: wait;
}
/* Loading-Overlay für die gesamte Lizenztabelle */
.elixxier-school-license-view.school-loading {
	position: relative;
	pointer-events: none;
}
.elixxier-school-license-view.school-loading::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, 0.6);
	z-index: 10;
	border-radius: 8px;
}
.school-sidebar-groups-footer {
	padding: 8px 20px 14px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.school-sidebar-history-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	background: none;
	border: none;
	color: #999;
	font-size: 12px;
	cursor: pointer;
	padding: 6px 0;
	transition: color 0.15s;
}
.school-sidebar-history-btn:hover {
	color: #445eed;
}
.school-sidebar-history-btn svg {
	flex-shrink: 0;
}
.school-sidebar-add-group {
	background: none;
	border: 1px dashed #ccc;
	border-radius: 6px;
	padding: 6px 14px;
	color: #999;
	font-size: 13px;
	cursor: pointer;
	width: 100%;
	text-align: center;
	transition: all 0.15s;
}
.school-sidebar-add-group:hover {
	color: #445eed;
	border-color: #445eed;
	background: #f5f5ff;
}

/* ===== Grouped Table — Group Headers ===== */
.school-grouped-table {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}
.school-group-section {
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	overflow: visible;
	transition: box-shadow 0.3s;
}
.school-group-section.school-group-highlight {
	box-shadow: 0 0 0 3px rgba(68, 94, 237, 0.25);
}
.school-group-header {
	display: flex;
	flex-direction: column;
	padding: 12px 16px;
	background: #f7f7f7;
	border-bottom: 1px solid #e2e2e2;
	gap: 8px;
}
.school-group-header-top {
	display: flex;
	align-items: center;
	gap: 8px;
}
.school-group-type-badge {
	display: inline-block;
	padding: 4px 14px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 500;
	color: var(--badge-color, #445eed);
	background: color-mix(in srgb, var(--badge-color, #445eed) 10%, white);
	border: 1px solid color-mix(in srgb, var(--badge-color, #445eed) 25%, white);
	white-space: nowrap;
	line-height: 1.4;
}
/* Feature-Toggles Zeile */
.school-group-feature-toggles {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 4px 0 0 26px;
}
.school-feature-toggle {
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: default;
}
.school-toggle-label {
	font-size: 13px;
	color: #444;
	user-select: none;
}
/* Tooltip im Gruppen-Header — gleicher Stil wie in der Detailansicht */
.school-group-feature-toggles .tooltip-wrapper {
	position: relative;
	top: 1px;
}
.school-group-feature-toggles .tooltip-icon {
	background: url("../img/info-icon.png") no-repeat center;
	width: 20px;
	height: 20px;
	display: block;
	cursor: pointer;
	border-radius: 100%;
}
.school-group-feature-toggles .tooltip-icon.active {
	box-shadow: 0 0 5px var(---blau-hover);
}
.school-group-feature-toggles .tooltip {
	display: none;
	background: #efefef;
	border: 1px solid rgba(81, 81, 81, 0.2);
	padding: 18px;
	box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
	position: absolute;
	border-radius: 5px;
	width: 300px;
	left: -150px;
	top: 40px;
	z-index: 9;
}
/* Toggle Switch */
.school-toggle-switch {
	display: inline-flex;
	cursor: pointer;
	user-select: none;
}
.school-toggle-switch.processing {
	opacity: 0.5;
	pointer-events: none;
}
.school-toggle-track {
	width: 36px;
	height: 20px;
	background: #ccc;
	border-radius: 10px;
	position: relative;
	transition: background 0.2s;
}
.school-toggle-switch.active .school-toggle-track {
	background: #445eed;
}
.school-toggle-thumb {
	position: absolute;
	top: 2px;
	left: 2px;
	width: 16px;
	height: 16px;
	background: #fff;
	border-radius: 50%;
	transition: left 0.2s;
	box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.school-toggle-switch.active .school-toggle-thumb {
	left: 18px;
}
/* Feature-Row: Toggles links, Bulk-Bereich rechts */
.school-group-feature-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.school-group-bulk-area {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}
.school-bulk-hint {
	font-size: 12px;
	color: #bbb;
	font-style: italic;
	line-height: 1.3;
	padding: 5px 0;
}
.school-bulk-recycle-btn {
	background: #445eed;
	color: #fff;
	border: none;
	border-radius: 6px;
	padding: 5px 16px;
	font-size: 12px;
	font-weight: 500;
	cursor: pointer;
	white-space: nowrap;
	transition: background 0.15s;
	line-height: 1.3;
}
.school-bulk-recycle-btn:hover {
	background: #3349d4;
}
/* Updates-Spalte */
.school-updates-cell strong {
	font-size: 12px;
	font-weight: 600;
	color: #222;
}
.school-updates-remaining {
	display: block;
	margin-top: 2px;
	font-size: 12px;
	color: #2e7d32;
}
/* Lizenzcode als Box */
.school-serial-code {
	display: inline-block;
	padding: 3px 8px;
	border: 1px solid #ddd;
	border-radius: 5px;
	font-family: monospace;
	font-size: 11px;
	color: #333;
	background: #fff;
	white-space: nowrap;
	user-select: all;
	cursor: pointer;
}
/* Info-Icon im Tabellen-Header */
.school-header-info-icon {
	display: inline-flex;
	vertical-align: middle;
	margin-left: 2px;
	color: #aaa;
	text-decoration: none;
}
.school-header-info-icon:hover {
	color: #445eed;
}
/* Tabellen-Header uppercase */
.school-license-table thead th {
	text-transform: uppercase;
	font-size: 12px;
	font-weight: 600;
	color: #888;
	letter-spacing: 0.3px;
}
.school-group-toggle {
	display: flex;
	align-items: center;
	gap: 8px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	font-size: 14px;
	color: #333;
	width: 100%;
	text-align: left;
}
.school-group-toggle:hover {
	color: #445eed;
}
.school-group-toggle-icon {
	font-size: 10px;
	transition: transform 0.2s;
	flex-shrink: 0;
	width: 14px;
	text-align: center;
}
.school-group-section.collapsed .school-group-toggle-icon {
	transform: rotate(-90deg);
}
.school-group-header-dot {
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	flex-shrink: 0;
}
.school-group-header-name {
	font-weight: 600;
	font-size: 14px;
}
.school-group-header-count {
	font-size: 13px;
	color: #888;
	font-weight: 400;
}
.school-group-header-unassigned {
	background: #fafafa;
}
.school-group-empty {
	padding: 16px;
	color: #999;
	font-size: 13px;
	font-style: italic;
	margin: 0;
}
.school-group-section .school-license-table {
	border: none;
	border-radius: 0;
}
.school-group-section .school-license-table thead th {
	border-top: none;
}

/* Group Dot in Table (legacy, kept for compatibility) */
.school-group-dot {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	margin-right: 6px;
	vertical-align: middle;
}

/* Assign Group Dropdown */
.school-assign-group {
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 6px 10px;
	font-size: 13px;
	min-width: 180px;
}
.school-assign-group:disabled {
	opacity: 0.35;
}

/* Note / Zuordnung */
.school-note-wrap {
	position: relative;
	display: flex;
	align-items: center;
}
.school-note-confirm {
	position: absolute;
	right: 2px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	cursor: pointer;
	padding: 4px;
	color: #4caf50;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.15s;
	line-height: 0;
}
.school-note-confirm svg {
	width: 16px;
	height: 16px;
	display: block;
}
.school-note-confirm:hover {
	color: #2e7d32;
}
.school-note-wrap:focus-within .school-note-confirm {
	opacity: 1;
	pointer-events: auto;
}
.school-note-input {
	width: 100%;
	min-width: 130px;
	padding-right: 26px;
	max-width: 200px;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	padding: 4px 8px;
	font-size: 13px;
	transition: border-color 0.2s, background 0.3s;
	background: transparent;
}
.school-note-input:focus {
	border-color: #445eed;
	outline: none;
	background: #fff;
}
.school-note-input.saving {
	background: #fff8e1;
}
.school-note-input.saved {
	border-color: #4caf50;
	background: #e8f5e9;
}

/* Device Tags */
/* Lizenzcode + Typ-Unterzeile */
.school-serial-cell .school-serial-meta {
	display: block;
	margin-top: 2px;
}
.school-serial-meta {
	font-size: 12px;
	color: #888;
	line-height: 1.3;
}
/* Status-Badges */
.school-status-cell {
	white-space: nowrap;
}
.school-status-badge {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.4;
}
.school-status-active {
	background: #e8f5e9;
	color: #2e7d32;
	border: 1px solid #c8e6c9;
	cursor: pointer;
	transition: background 0.15s;
	display: inline-flex;
	align-items: center;
	gap: 3px;
}
.school-status-active svg {
	vertical-align: middle;
	flex-shrink: 0;
}
.school-status-active:hover {
	background: #c8e6c9;
}
.school-status-free {
	background: #f5f5f5;
	color: #888;
	border: 1px solid #e0e0e0;
}
/* ═══════════════════════════════════════════
   Geräte-Modal — Aktivierungen verwalten
   ═══════════════════════════════════════════ */
.school-devices-modal-wrapper {
	max-width: 780px;
}
.school-devices-modal-tags {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}
.school-devices-tag {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 500;
}
.school-devices-tag-serial {
	background: #f0f0f0;
	color: #555;
	font-family: monospace;
	font-size: 11px;
}
.school-devices-tag-group {
	background: #e8eaff;
	color: #445eed;
}
.school-devices-tag-type {
	background: #e8f5e9;
	color: #2e7d32;
}
.school-devices-modal-body {
	padding: 24px 28px;
}
.school-devices-modal-layout {
	display: grid;
	grid-template-columns: 1fr 260px;
	gap: 24px;
	align-items: start;
}
/* Geräte-Cards */
.school-devices-modal-cards {
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-height: 420px;
	overflow-y: auto;
}
.school-device-card {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 16px;
	border: 1px solid #e8e8e8;
	border-radius: 12px;
	background: #fff;
	transition: box-shadow 0.15s;
}
.school-device-card:hover {
	box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.school-device-card-icon {
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f0f2f5;
	border-radius: 10px;
	flex-shrink: 0;
	color: #666;
}
.school-device-card-icon svg {
	width: 18px;
	height: 18px;
}
.school-device-card-info {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}
.school-device-card-name {
	font-size: 15px;
	font-weight: 600;
	color: #222;
	word-break: break-word;
}
.school-device-card-os {
	font-size: 12px;
	color: #888;
}
.school-device-card-date {
	font-size: 12px;
	color: #aaa;
}
.school-device-card-delete {
	background: #d32f2f;
	color: #fff;
	border: none;
	border-radius: 20px;
	padding: 6px 14px;
	font-size: 12px;
	font-weight: 500;
	cursor: pointer;
	white-space: nowrap;
	align-self: center;
	transition: background 0.15s;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	line-height: 1.3;
}
.school-device-card-delete svg {
	width: 13px;
	height: 13px;
	flex-shrink: 0;
}
.school-device-card-delete:hover {
	background: #b71c1c;
}
.school-device-card-delete:disabled {
	opacity: 0.5;
	cursor: wait;
}
/* Sidebar — Sammelaktion */
.school-devices-modal-sidebar h4 {
	margin: 0 0 12px;
	font-size: 16px;
	font-weight: 700;
	color: #222;
}
.school-devices-sidebar-info {
	background: #f8f9fc;
	border: 1px solid #e0e4f0;
	border-radius: 10px;
	padding: 14px 16px;
	font-size: 13px;
	color: #555;
	line-height: 1.5;
	margin-bottom: 12px;
}
.school-devices-warning-box {
	background: #fffde7;
	border: 1px solid #f0e68c;
	border-radius: 10px;
	padding: 16px 20px;
	font-size: 13px;
	color: #856404;
	line-height: 1.6;
	margin: 12px 0 4px;
}
.school-devices-warning-box p {
	margin: 0 0 8px;
}
.school-devices-warning-box p:last-child {
	margin-bottom: 0;
}
.school-devices-delete-all-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	background: #d32f2f;
	color: #fff;
	border: none;
	border-radius: 20px;
	padding: 10px 18px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	text-align: center;
	transition: background 0.15s;
}
.school-devices-delete-all-btn svg {
	width: 14px;
	height: 14px;
	flex-shrink: 0;
}
.school-devices-delete-all-btn:hover {
	background: #b71c1c;
}
.school-devices-delete-all-btn:disabled {
	opacity: 0.5;
	cursor: wait;
}
@media (max-width: 700px) {
	.school-devices-modal-layout {
		grid-template-columns: 1fr;
	}
}

/* Neue Lizenz Highlight nach Recycle */
.school-row-new {
	animation: school-row-glow 2.8s ease-in-out;
}
@keyframes school-row-glow {
	0%   { background: #e8f5e9; }
	50%  { background: #c8e6c9; }
	70%  { background: #e8f5e9; }
	100% { background: transparent; }
}

/* Actions Cell */
.school-actions-cell {
	white-space: nowrap;
}

/* ═══════════════════════════════════════════
   Historie-Modal
   ═══════════════════════════════════════════ */
.school-history-modal-wrapper {
	max-width: 1100px;
}
.school-history-modal-body {
	padding: 20px 28px 24px;
}
/* Suchfeld */
.school-history-search-wrap {
	position: relative;
	margin-bottom: 16px;
}
.school-history-search-wrap svg {
	position: absolute;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
	color: #aaa;
}
#school-history-search {
	width: 100%;
	padding: 10px 14px 10px 36px;
	border: 1px solid #ddd;
	border-radius: 8px;
	font-size: 13px;
	box-sizing: border-box;
	transition: border-color 0.15s;
}
#school-history-search:focus {
	border-color: #445eed;
	outline: none;
}
/* Tabelle */
.school-history-table-wrap {
	max-height: 420px;
	overflow-y: auto;
}
.school-history-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
}
.school-history-table thead th {
	position: sticky;
	top: 0;
	background: #f7f7f7;
	padding: 8px 10px;
	text-align: left;
	font-size: 11px;
	font-weight: 600;
	color: #888;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	border-bottom: 1px solid #e2e2e2;
	z-index: 1;
}
.school-history-table td {
	padding: 10px 10px;
	border-bottom: 1px solid #f0f0f0;
	vertical-align: middle;
	color: #333;
}
.school-history-table tbody tr:hover {
	background: #f9f9ff;
}
.school-history-date {
	white-space: nowrap;
	color: #888;
	font-size: 12px;
}
.school-history-serial {
	display: inline-block;
	padding: 2px 6px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-family: monospace;
	font-size: 11px;
	color: #333;
	background: #fff;
	white-space: nowrap;
}
.school-history-loading {
	position: relative;
	min-height: 80px;
	pointer-events: none;
	opacity: 0.5;
}
.school-history-loading::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 24px;
	height: 24px;
	margin: -12px 0 0 -12px;
	border: 3px solid #ddd;
	border-top-color: #445eed;
	border-radius: 50%;
	animation: school-spin 0.6s linear infinite;
	z-index: 2;
}
@keyframes school-spin {
	to { transform: rotate(360deg); }
}
.school-history-empty {
	text-align: center;
	padding: 40px 20px;
	color: #999;
	font-size: 14px;
}
.school-history-footer {
	text-align: center;
	padding-top: 12px;
}
.school-history-load-more {
	background: none;
	border: 1px solid #ddd;
	border-radius: 6px;
	padding: 8px 24px;
	font-size: 13px;
	color: #555;
	cursor: pointer;
	transition: all 0.15s;
}
.school-history-load-more:hover {
	border-color: #445eed;
	color: #445eed;
}

/* Mobile */
@media (max-width: 767px) {
	.school-license-table th:nth-child(4),
	.school-license-table td:nth-child(4),
	.school-license-table th:nth-child(6),
	.school-license-table td:nth-child(6) {
		display: none;
	}
	.school-license-table code {
		font-size: 11px;
	}
	.school-bulk-actions {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* ===== School Group Modal ===== */
#school-group-modal .modal-content-wrapper {
	max-width: 500px;
}
.school-group-field label {
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
	font-size: 14px;
}
.school-group-field input[type="text"] {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 15px;
	transition: border-color 0.2s;
	box-sizing: border-box;
}
.school-group-field input[type="text"]:focus {
	border-color: #445eed;
	outline: none;
	box-shadow: 0 0 0 3px rgba(68, 94, 237, 0.1);
}
/* Gruppentyp-Picker im Modal */
.school-type-picker {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.school-type-option {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
	border: 2px solid #e0e0e0;
	border-radius: 10px;
	cursor: pointer;
	transition: border-color 0.2s, background 0.2s;
	background: #fafbff;
}
.school-type-option:hover {
	border-color: #b0b8d9;
	background: #f0f3ff;
}
.school-type-option.active {
	border-color: #445eed;
	background: #f0f3ff;
}
.school-type-option input[type="radio"] {
	display: none;
}
.school-type-icon {
	font-size: 24px;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	flex-shrink: 0;
}
.school-type-icon-student {
	background: #ffebee;
	color: #e53935;
}
.school-type-icon-pc {
	background: #e3f2fd;
	color: #1e88e5;
}
.school-type-icon-teacher {
	background: #e8f5e9;
	color: #2e7d32;
}
.school-type-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.school-type-text strong {
	font-size: 14px;
	font-weight: 600;
	color: #222;
}
.school-type-text span {
	font-size: 12.5px;
	color: #666;
	line-height: 1.4;
}
/* Modal Action Buttons — konsistentes Styling */
.school-group-modal-actions {
	margin-top: 24px;
	display: flex;
	gap: 10px;
	align-items: center;
}
.school-modal-btn {
	padding: 8px 20px;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: background 0.15s, border-color 0.15s;
	line-height: 1.4;
	white-space: nowrap;
}
.school-modal-btn-primary {
	background: #445eed;
	color: #fff;
	border: 1px solid #445eed;
}
.school-modal-btn-primary:hover {
	background: #3349d4;
	border-color: #3349d4;
}
.school-modal-btn-secondary {
	background: #fff;
	color: #333;
	border: 1px solid #ddd;
}
.school-modal-btn-secondary:hover {
	background: #f5f5f5;
	border-color: #bbb;
}
.school-modal-btn-danger {
	margin-left: auto;
	background: #fff;
	color: #d32f2f;
	border: 1px solid #d32f2f;
}
.school-modal-btn-danger:hover {
	background: #d32f2f;
	color: #fff;
}

/* ═══════════════════════════════════════════
   Recycle Modal — "Lizenz neu zuweisen"
   ═══════════════════════════════════════════ */
/* Einheitlicher heller Modal-Header für School-Modals */
.myaccount-modal .modal-header.school-modal-header-light {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	padding: 20px 24px;
	border-bottom: 1px solid #eee;
	margin-bottom: 0;
	gap: 16px;
}
.school-modal-header-light h3 {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	color: #222;
}
.school-modal-subtitle {
	display: block;
	font-size: 11px;
	color: #999;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 4px;
}
.school-modal-desc {
	margin: 4px 0 0;
	font-size: 13px;
	color: #888;
	line-height: 1.5;
}
.school-devices-modal-tags {
	margin-top: 8px;
}
.school-recycle-modal-wrapper {
	max-width: 560px;
}
.school-recycle-info-box {
	background: #f8f9fc;
	border: 1px solid #e0e4f0;
	border-radius: 10px;
	padding: 16px 20px;
	margin-bottom: 20px;
}
.school-recycle-info-box > strong {
	display: block;
	font-size: 14px;
	margin-bottom: 6px;
	color: #222;
}
.school-recycle-info-box p {
	margin: 0;
	font-size: 13.5px;
	color: #555;
	line-height: 1.5;
}
.school-recycle-fields {
	display: flex;
	gap: 12px;
	margin-bottom: 20px;
}
.school-recycle-field {
	flex: 1;
}
.school-recycle-field label {
	display: block;
	font-size: 12px;
	color: #666;
	margin-bottom: 4px;
}
.school-recycle-field input {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid #ddd;
	border-radius: 8px;
	font-size: 14px;
	box-sizing: border-box;
}
.school-recycle-field input:disabled {
	background: #f5f5f5;
	color: #888;
}
.school-recycle-confirm-box {
	background: #fffde7;
	border: 1px solid #f0e68c;
	border-radius: 10px;
	padding: 16px 20px;
	margin-bottom: 20px;
}
.school-recycle-confirm-box strong {
	display: block;
	font-size: 14px;
	color: #856404;
	margin-bottom: 8px;
}
.school-recycle-confirm-label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 13.5px;
	color: #333;
	cursor: pointer;
	line-height: 1.4;
}
.school-recycle-confirm-label input[type="checkbox"] {
	margin-top: 2px;
	flex-shrink: 0;
}
.school-recycle-modal-actions {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 20px;
}
.school-recycle-modal-btn-submit {
	background: #445eed;
	color: #fff;
	border: 1px solid #445eed;
	padding: 10px 24px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s;
}
.school-recycle-modal-btn-submit:hover:not(:disabled) {
	background: #3349d4;
	border-color: #3349d4;
}
.school-recycle-modal-btn-submit:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}
.school-recycle-modal-progress {
	margin: 16px 0 0;
}
.school-recycle-modal-progress .progress-text {
	display: block;
	font-size: 13px;
	color: #555;
	margin-bottom: 6px;
}
.school-recycle-modal-progress .progress-bar-wrap {
	background: #e0e0e0;
	border-radius: 4px;
	height: 6px;
	overflow: hidden;
}
.school-recycle-modal-progress .progress-bar-fill {
	background: #445eed;
	height: 100%;
	transition: width 0.3s;
}

/* Zentraler Lade-Spinner für AJAX-Inhalte */
.elixxier-loader {
	width: 36px;
	height: 36px;
	border: 3px solid #e0e4f0;
	border-top-color: #445eed;
	border-radius: 50%;
	animation: school-spin 0.6s linear infinite;
}


/* ===== Schul-Download 2026-08: Installer-Download je Lizenzzeile ===== */

/* Aufklapp-Link in der Meta-Unterzeile ("CINEMA V3 · 0/3 Geräte · Download ⌄") */
.school-download-toggle {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	color: #445eed;
	font-size: 12px;
	text-decoration: none;
	white-space: nowrap;
}
.school-download-toggle:hover,
.school-download-toggle:focus {
	color: #3349d4;
	text-decoration: none;
}
.school-download-toggle svg {
	flex-shrink: 0;
	transition: transform 0.2s ease;
}
.school-download-toggle.open svg {
	transform: rotate(180deg);
}

/* Aufklapp-Zeile unter der Lizenzzeile */
.school-license-table tr.school-download-row td {
	padding: 6px 12px 12px 60px;
	background: #fafbff;
	border-bottom: 1px solid #f0f0f0;
}
/* kein Hover-Hintergrundwechsel auf der Aufklapp-Zeile */
.school-license-table tbody tr.school-download-row:hover,
.school-license-table tbody tr.school-download-row:hover td {
	background: #fafbff;
}

/* Panel: wird per jQuery slideDown/slideUp ein-/ausgeblendet, daher initial display:none.
   Das Flex-Layout sitzt bewusst auf .school-download-panel-inner, weil jQuery beim
   Einblenden ein inline display:block auf das Panel selbst schreibt. */
.school-download-panel {
	display: none;
}
.school-download-panel-inner {
	display: flex;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
}
.school-download-panel-inner > p {
	margin: 0 !important;
	font-size: 13px;
	line-height: 1.2;
}
.school-download-panel-inner .download-buttons-wrapper {
	margin-top: 0;
}

/* Mobile: Panel darf umbrechen, weniger Einzug */
@media (max-width: 767px) {
	.school-license-table tr.school-download-row td {
		padding: 6px 12px 12px 20px;
	}
	.school-download-panel-inner {
		gap: 10px;
	}
}
