@font-face {
	font-family: "Jakarta";
	src: url("../../public/assets/fonts/jakarta/PlusJakartaSans-ExtraLight.ttf")
		format("truetype");
	font-weight: 200;
	font-style: normal;
}

@font-face {
	font-family: "Jakarta";
	src: url("../../public/assets/fonts/jakarta/PlusJakartaSans-Light.ttf")
		format("truetype");
	font-weight: 300;
	font-style: normal;
}

@font-face {
	font-family: "Jakarta";
	src: url("../../public/assets/fonts/jakarta/PlusJakartaSans-Regular.ttf")
		format("truetype");
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: "Jakarta";
	src: url("../../public/assets/fonts/jakarta/PlusJakartaSans-Medium.ttf")
		format("truetype");
	font-weight: 500;
	font-style: normal;
}

@font-face {
	font-family: "Jakarta";
	src: url("../../public/assets/fonts/jakarta/PlusJakartaSans-SemiBold.ttf")
		format("truetype");
	font-weight: 600;
	font-style: normal;
}

@font-face {
	font-family: "Jakarta";
	src: url("../../public/assets/fonts/jakarta/PlusJakartaSans-Bold.ttf")
		format("truetype");
	font-weight: 700;
	font-style: normal;
}

@font-face {
	font-family: "Jakarta";
	src: url("../../public/assets/fonts/jakarta/PlusJakartaSans-ExtraBold.ttf")
		format("truetype");
	font-weight: 800;
	font-style: normal;
}

:root {
	--orphic-wp-block-option-page-bg: white;
	--orphic-wp-block-option-page-bg-section: #f4f5f7;
	--orphic-wp-block-option-page-bg-button: #ebecf0;
	--orphic-wp-block-option-page-bg-button-hover: #d9d9d9;
	--orphic-wp-block-option-page-color-text: #172b4d;
	--orphic-wp-block-option-page-success-text: #36b37e;
	--orphic-wp-block-option-page-success: #abf5d1;
	--orphic-wp-block-option-page-info-text: white;
	--orphic-wp-block-option-page-info-bg: #0065ff;
}

#wpwrap {
	background-color: white !important;
	position: relative;
}

#wrap {
	background: transparent !important;
	position: relative;
	z-index: 10;
}
.wrap {
	position: relative;
	z-index: 10;
	margin: 70px 100px;
	max-width: 1400px;
}

h1 {
	font-family: "Jakarta", "Comic Sans MS", sans-serif;
	font-size: 40px !important;
	font-weight: 700 !important;
	color: var(--orphic-wp-block-option-page-color-text);
}
h1 svg {
	width: fit-content;
	height: 50px;
}
h2 {
	font-family: "Jakarta", "Comic Sans MS", sans-serif;
	font-size: 25px !important;
	font-weight: 500 !important;
	color: var(--orphic-wp-block-option-page-color-text);
}
h3 {
	font-family: "Jakarta", "Comic Sans MS", sans-serif;
	font-size: 20px !important;
	font-weight: 500 !important;
	color: var(--orphic-wp-block-option-page-color-text);
}

.orphic-wp-block-option-page-theme-container {
	margin-top: 40px;
}

.orphic-wp-block-option-page-theme-container-header {
	display: flex;
	align-items: center;
	padding: 0 30px;
	background: var(--orphic-wp-block-option-page-bg);
	border-bottom: 1px solid var(--orphic-wp-block-option-page-bg-button);
	position: relative;
}

.orphic-wp-block-option-page-button {
	display: flex;
	justify-content: center;
	min-width: 85px;
	align-items: center;
	font-family: "Jakarta", "Comic Sans MS", sans-serif;
	font-size: 14px !important;
	font-weight: 600 !important;
	border-radius: 6px;
	padding: 8px 16px;
	transition: all 0.2s ease;
	cursor: pointer;
	user-select: none;
	background-color: var(--orphic-wp-block-option-page-button-bg, #f0f0f0);
	color: var(--orphic-wp-block-option-page-button-text, #333);
	border: 1px solid var(--orphic-wp-block-option-page-button-border, #ddd);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.orphic-wp-block-option-page-button:hover {
	background-color: var(--orphic-wp-block-option-page-button-hover-bg, #e8e8e8);
	border-color: var(--orphic-wp-block-option-page-button-hover-border, #ccc);
	transform: translateY(-1px);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.orphic-wp-block-option-page-button:active {
	transform: translateY(0);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.orphic-wp-block-option-page-button.active {
	background-color: var(--orphic-wp-block-option-page-primary-color, #0066ff);
	color: white;
	border-color: var(--orphic-wp-block-option-page-primary-color, #0066ff);
	box-shadow: 0 2px 4px rgba(0, 102, 255, 0.2);
}

.orphic-wp-block-option-page-button.active:hover {
	background-color: var(
		--orphic-wp-block-option-page-primary-color-hover,
		#0052cc
	);
	border-color: var(--orphic-wp-block-option-page-primary-color-hover, #0052cc);
}

.orphic-wp-block-option-page-button:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

@keyframes pulse {
	0% {
		opacity: 1;
	}
	50% {
		opacity: 0.6;
	}
	100% {
		opacity: 1;
	}
}

.orphic-wp-block-option-page-theme-container-choice-color-container {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 24px;
	padding: 24px 0;
}
.orphic-wp-block-option-page-theme-container-choice-color {
	display: none;
	flex-direction: column;
	transition: opacity 0.3s ease;
	opacity: 0;
	gap: 10px;
}
.orphic-wp-block-option-page-theme-container-choice-color.visible {
	opacity: 1;
	display: flex;
	height: auto;
}
.orphic-wp-block-option-page-theme-container-choice {
	display: flex;
	gap: 10px;
}
.orphic-wp-block-option-page-button.saving {
	pointer-events: none;
	background-color: var(--orphic-wp-block-option-page-bg-button-hover);
}

.color-picker-container {
	display: flex;
	gap: 20px;
	align-items: center;
	background-color: var(--orphic-wp-block-option-page-bg);
	padding: 16px 24px;
	border-radius: 8px;
	min-width: 250px;
	border: 1px solid var(--orphic-wp-block-option-page-bg-button);
	transition: all 0.2s ease;
}

.color-picker-label {
	font-family: "Jakarta", "Comic Sans MS", sans-serif;
	font-size: 15px;
	font-weight: 500;
	user-select: none;
	max-width: none;
	color: var(--orphic-wp-block-option-page-color-text);
}

.orphic-block-bg-admin-page {
	width: 100%;
	height: 200px;
	background: linear-gradient(1deg, white, #dce3ef 60%);
	position: absolute;
	top: 0;
	left: -11px;
}
.orphic-block-decoration-admin-pagen {
	width: 100%;
	height: 200px;
	position: absolute;
	top: 0;
	left: -11px;
}
.orphic-block-decoration-admin-pagen svg pattern {
	fill: white;
}

.orphic-wp-block-option-page-tabs {
	display: flex;
	gap: 32px;
	padding: 0;
	margin: 0;
}

.orphic-wp-block-option-page-tab {
	font-family: "Jakarta", "Comic Sans MS", sans-serif;
	font-size: 14px;
	font-weight: 600;
	padding: 20px 8px;
	border: none;
	cursor: pointer;
	background-color: transparent;
	color: var(--orphic-wp-block-option-page-color-text);
	opacity: 0.6;
	position: relative;
	transition: all 0.2s ease;
}

.orphic-wp-block-option-page-tab:hover {
	opacity: 0.8;
}

.orphic-wp-block-option-page-tab::after {
	content: "";
	position: absolute;
	bottom: -1px;
	left: 0;
	width: 100%;
	height: 3px;
	background-color: var(--orphic-wp-block-option-page-info-bg);
	border-radius: 3px 3px 0 0;
	transform: scaleX(0);
	transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.orphic-wp-block-option-page-tab.active {
	opacity: 1;
	color: var(--orphic-wp-block-option-page-info-bg);
	font-weight: 700;
}

.orphic-wp-block-option-page-tab.active::after {
	transform: scaleX(1);
}

.orphic-wp-block-option-page-tab-content {
	display: none;
	opacity: 0;
	transform: translateY(15px);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.orphic-wp-block-option-page-tab-content.active {
	display: block;
	animation: tabContentFadeIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes tabContentFadeIn {
	0% {
		opacity: 0;
		transform: translateY(15px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Animation pour les conteneurs de couleurs */
.orphic-wp-block-option-page-theme-container-choice-color.visible,
.orphic-wp-block-option-page-theme-container-classic-colors.visible {
	animation: containerFadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes containerFadeIn {
	0% {
		opacity: 0;
		transform: translateY(10px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

.orphic-wp-block-option-page-theme-container-header {
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
}
.orphic-wp-block-option-page-header-tab-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
}

/* Blocks Grid Layout */
.orphic-wp-block-option-page-blocks-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 20px;
	padding: 20px 0;
}

.orphic-wp-block-option-page-block-card {
	position: relative;
	background: var(--orphic-wp-block-option-page-bg);
	border-radius: 8px;
	padding: 20px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
	transition: all 0.3s ease;
	border: 1px solid var(--orphic-wp-block-option-page-bg-button);
}

.orphic-wp-block-option-page-block-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.block-card-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 15px;
}

.block-card-icon {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--orphic-wp-block-option-page-bg-section);
	border-radius: 8px;
	padding: 8px;
}

.block-card-icon svg {
	fill: var(--orphic-wp-block-option-page-info-bg);
}

.block-card-content {
	margin-top: 15px;
}

.block-card-title {
	font-family: "Jakarta", "Comic Sans MS", sans-serif;
	font-size: 18px !important;
	font-weight: 600 !important;
	color: var(--orphic-wp-block-option-page-color-text);
	margin: 0 0 10px 0;
}

.block-card-description {
	font-family: "Jakarta", "Comic Sans MS", sans-serif;
	font-size: 14px;
	color: var(--orphic-wp-block-option-page-color-text);
	opacity: 0.8;
	margin: 0;
	line-height: 1.5;
}

/* Toggle Switch Style */
.block-card-toggle {
	position: relative;
	display: inline-block;
	width: 50px;
	height: 26px;
}

.block-card-toggle input {
	opacity: 0;
	width: 0;
	height: 0;
}

.toggle-slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: var(--orphic-wp-block-option-page-bg-button);
	transition: 0.4s;
	border-radius: 34px;
}

.toggle-slider:before {
	position: absolute;
	content: "";
	height: 18px;
	width: 18px;
	left: 4px;
	bottom: 4px;
	background-color: white;
	transition: 0.4s;
	border-radius: 50%;
}

.block-card-toggle input:checked + .toggle-slider {
	background-color: var(--orphic-wp-block-option-page-info-bg);
}

.block-card-toggle input:checked + .toggle-slider:before {
	transform: translateX(24px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.orphic-wp-block-option-page-blocks-grid {
		grid-template-columns: 1fr;
	}
}

.module-card-meta {
	margin-top: 15px;
	display: flex;
	gap: 10px;
}

.module-type {
	display: inline-flex;
	align-items: center;
	padding: 4px 8px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
}

.module-type.js {
	background-color: #f0db4f;
	color: #323330;
}

.module-type.php {
	background-color: #8892bf;
	color: white;
}

.orphic-wp-block-option-page-theme-container-classic-colors {
	display: flex;
	flex-direction: column;
	margin-top: 20px;
	opacity: 0;
	gap: 10px;
	visibility: hidden;
	height: 0;
}

.orphic-wp-block-option-page-theme-container-classic-colors.visible {
	opacity: 1;
	visibility: visible;
	height: auto;
}

.orphic-wp-block-option-page-theme-container-classic-colors-container {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 24px;
	padding: 24px 0;
}

.classic-color-box {
	display: flex;
	gap: 20px;
	align-items: center;
	background-color: var(--orphic-wp-block-option-page-bg);
	padding: 16px 24px;
	border-radius: 8px;
	border: 1px solid var(--orphic-wp-block-option-page-bg-button);
}

.classic-color-box .color-box {
	width: 60px;
	height: 60px;
	border-radius: 10px;
	overflow: hidden;
}

.classic-color-box .color-label {
	font-family: "Jakarta", "Comic Sans MS", sans-serif;
	font-size: 15px;
	font-weight: 500;
	color: var(--orphic-wp-block-option-page-color-text);
}

.orphic-wp-block-option-page-google-map-api-key-container {
	margin-top: 40px;
}

.orphic-wp-block-option-page-google-map-api-key-input {
	width: 100%;
	max-width: 500px;
	padding: 12px 16px;
	font-family: "Jakarta", "Comic Sans MS", sans-serif;
	font-size: 15px;
	color: var(--orphic-wp-block-option-page-color-text);
	background-color: var(--orphic-wp-block-option-page-bg);
	border: 1px solid var(--orphic-wp-block-option-page-bg-button);
	border-radius: 6px;
	transition: all 0.2s ease;
}

.orphic-wp-block-option-page-google-map-api-key-input:focus {
	outline: none;
	border-color: var(--orphic-wp-block-option-page-info-bg);
	box-shadow: 0 0 0 2px rgba(0, 101, 255, 0.1);
}

.orphic-wp-block-option-page-google-map-api-key-input::placeholder {
	color: var(--orphic-wp-block-option-page-color-text);
	opacity: 0.5;
}
.experimental-badge {
	position: absolute;
	top: -10px;
	right: 50px;
	background-color: #ff9800;
	color: white;
	font-size: 10px;
	font-weight: bold;
	padding: 2px 6px;
	border-radius: 3px;
	z-index: 1;
}

.experimental-block {
	position: relative;
	border: 2px dashed #ff9800 !important;
	background-color: rgba(255, 152, 0, 0.05) !important;
}

.orphic-wp-block-option-page-license-container {
	margin-bottom: 40px;
}

.license-input-wrapper {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 15px;
}

.orphic-wp-block-option-page-license-input {
	width: 100%;
	max-width: 400px;
	padding: 12px 16px;
	font-family: "Jakarta", "Comic Sans MS", sans-serif;
	font-size: 15px;
	color: var(--orphic-wp-block-option-page-color-text);
	background-color: var(--orphic-wp-block-option-page-bg);
	border: 1px solid var(--orphic-wp-block-option-page-bg-button);
	border-radius: 6px;
	transition: all 0.2s ease;
}

.orphic-wp-block-option-page-license-input:focus {
	outline: none;
	border-color: var(--orphic-wp-block-option-page-info-bg);
	box-shadow: 0 0 0 2px rgba(0, 101, 255, 0.1);
}

.license-status {
	display: inline-flex;
	align-items: center;
	padding: 6px 12px;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 600;
}

.license-status:before {
	content: "";
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	margin-right: 8px;
}

.license-status.valid {
	background-color: var(--orphic-wp-block-option-page-success);
	color: var(--orphic-wp-block-option-page-success-text);
}

.license-status.valid:before {
	background-color: var(--orphic-wp-block-option-page-success-text);
}

.license-status.invalid {
	background-color: #ffebe6;
	color: #de350b;
}

.license-status.invalid:before {
	background-color: #de350b;
}

[class^="notice-"] {
	padding: 10px 20px;
	border-radius: 5px;
	font-size: 14px;
	font-weight: 600;
}

.notice-success {
	background-color: #abf5d1;
	color: #36b37e;
}

.notice-error {
	background-color: #ffebe6;
	color: #de350b;
}

.orphic-wp-block-option-page-footer-info-container {
	width: 98.5%;
	display: flex;
	align-items: center;
	padding: 20px 0;
	border-top: 1px solid var(--orphic-wp-block-option-page-bg-button);
}
.orphic-wp-block-option-page-info {
	margin: 0 100px;
}
.pickr::after {
	content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12px' height='12px' viewBox='0 0 512 512'%3E%3Cpath d='M395.8 39.6c9.4-9.4 24.6-9.4 33.9 0l42.6 42.6c9.4 9.4 9.4 24.6 0 33.9L417.6 171 341 94.4l54.8-54.8zM318.4 117L395 193.6 159.6 428.9c-7.6 7.6-16.9 13.1-27.2 16.1L39.6 472.4l27.3-92.8c3-10.3 8.6-19.6 16.1-27.2L318.4 117zM452.4 17c-21.9-21.9-57.3-21.9-79.2 0L60.4 329.7c-11.4 11.4-19.7 25.4-24.2 40.8L.7 491.5c-1.7 5.6-.1 11.7 4 15.8s10.2 5.7 15.8 4l121-35.6c15.4-4.5 29.4-12.9 40.8-24.2L495 138.8c21.9-21.9 21.9-57.3 0-79.2L452.4 17z'/%3E%3C/svg%3E");
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 50%;
	height: 50%;
	background-color: var(--orphic-wp-block-option-page-bg-section);
	border-radius: 50%;
	user-select: none;
	pointer-events: none;
	display: flex;
	align-items: center;
	justify-content: center;
}
.pcr-button {
	width: 60px !important;
	height: 60px !important;
	border-radius: 10px;
	overflow: hidden;
}

.orphic-wp-block-option-page-theme-container-breakpoint-settings {
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding: 32px;
	background-color: var(--orphic-wp-block-option-page-bg);
	border-radius: 10px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
	border: 1px solid rgba(0, 0, 0, 0.1);
	margin-bottom: 40px;
}

.orphic-wp-block-option-page-theme-container-breakpoint-settings h3 {
	font-size: 20px;
	font-weight: 600;
	margin-bottom: 20px;
	color: var(--orphic-wp-block-option-page-color-text);
}
.orphic-wp-block-option-page-theme-container-breakpoint-settings-container {
	display: flex;
	flex-direction: column;
	gap: 24px;
}
.orphic-wp-block-option-page-theme-container-breakpoint-settings
	input[type="number"] {
	width: 120px;
	padding: 10px;
	margin-right: 15px;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 6px;
}

.orphic-wp-block-option-page-theme-container-breakpoint-settings
	.reset-default:hover {
	background-color: var(--orphic-wp-block-option-page-bg-button-hover);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}
.breakpoint-setting-input-container {
	display: flex;
	align-items: center;
	gap: 10px;
}
.breakpoint-setting {
	display: flex;
	flex-direction: column;
	gap: 24px;
}
