.search-options {
	padding: 20px;
}

.search-options h2 {
	font-family: "Jakarta", sans-serif;
	font-size: 20px;
	font-weight: 600;
	color: var(--orphic-wp-block-option-page-color-text);
	margin-bottom: 20px;
}

.search-options h3 {
	font-family: "Jakarta", sans-serif;
	font-size: 16px;
	font-weight: 600;
	color: var(--orphic-wp-block-option-page-color-text);
	margin: 15px 0;
}

.option-group {
	margin-bottom: 24px;
}

.option-group label {
	display: block;
	margin-bottom: 10px;
	font-family: "Jakarta", sans-serif;
	font-size: 14px;
	font-weight: 600;
	color: var(--orphic-wp-block-option-page-color-text);
}

.option-group select {
	width: 100%;
	padding: 12px;
	border: 1px solid var(--orphic-wp-block-option-page-bg-button);
	border-radius: 6px;
	font-family: "Jakarta", sans-serif;
	font-size: 14px;
	color: var(--orphic-wp-block-option-page-color-text);
	background-color: var(--orphic-wp-block-option-page-bg);
	transition: all 0.2s ease;
}

.option-group select.content-types-select {
	height: 150px;
}

.option-group select: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);
}

.option-group select:disabled {
	opacity: 0.7;
	cursor: not-allowed;
}

.option-group select option {
	padding: 8px;
}

.option-group select option:checked {
	background-color: var(--orphic-wp-block-option-page-info-bg);
	color: white;
}

.weights-config {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 15px;
}

.weight-input {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.weight-input label {
	font-size: 12px;
}

.weight-input input {
	width: 100%;
	padding: 8px;
	border: 1px solid var(--orphic-wp-block-option-page-bg-button);
	border-radius: 4px;
	font-family: "Jakarta", sans-serif;
	font-size: 14px;
	color: var(--orphic-wp-block-option-page-color-text);
	background-color: var(--orphic-wp-block-option-page-bg);
}

.weight-input 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);
}

/* Ajout de filtre */
.filter-add {
	display: flex;
	gap: 10px;
	margin-bottom: 20px;
}

.filter-add select {
	flex: 1;
	padding: 12px;
	border: 1px solid var(--orphic-wp-block-option-page-bg-button);
	border-radius: 6px;
	font-family: "Jakarta", sans-serif;
	font-size: 14px;
	color: var(--orphic-wp-block-option-page-color-text);
	background-color: var(--orphic-wp-block-option-page-bg);
}

.add-filter-button {
	width: 40px;
	height: 40px;
	border: none;
	border-radius: 6px;
	background-color: var(--orphic-wp-block-option-page-info-bg);
	color: white;
	font-size: 20px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.2s ease;
}

.add-filter-button:hover {
	background-color: #0052cc;
}

.add-filter-button:disabled {
	background-color: var(--orphic-wp-block-option-page-bg-button);
	cursor: not-allowed;
}

/* Liste des filtres */
.filters-list {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.filter-item {
	background: var(--orphic-wp-block-option-page-bg-section);
	border-radius: 6px;
	overflow: hidden;
}

.filter-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 15px;
	background: var(--orphic-wp-block-option-page-bg-button);
}

.filter-type {
	font-family: "Jakarta", sans-serif;
	font-size: 14px;
	font-weight: 600;
	color: var(--orphic-wp-block-option-page-color-text);
}

.remove-filter {
	width: 24px;
	height: 24px;
	border: none;
	border-radius: 4px;
	background: rgba(0, 0, 0, 0.1);
	color: var(--orphic-wp-block-option-page-color-text);
	font-size: 16px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
}

.remove-filter:hover {
	background: rgba(0, 0, 0, 0.2);
}

.filter-content {
	padding: 15px;
}

.filter-content select.posts-select {
	width: 100%;
	height: 150px;
	margin-bottom: 10px;
	padding: 8px;
	border: 1px solid var(--orphic-wp-block-option-page-bg-button);
	border-radius: 4px;
	font-family: "Jakarta", sans-serif;
	font-size: 14px;
}

.search-keywords-toggle {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: "Jakarta", sans-serif;
	font-size: 14px;
	color: var(--orphic-wp-block-option-page-color-text);
	cursor: pointer;
}

.search-keywords-toggle input[type="checkbox"] {
	width: 16px;
	height: 16px;
	cursor: pointer;
}

.filter-info {
	font-family: "Jakarta", sans-serif;
	font-size: 14px;
	color: var(--orphic-wp-block-option-page-color-text);
	font-style: italic;
	margin: 0;
	padding: 10px 0;
}

.checkbox-group {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 10px 0;
}

.checkbox-label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: "Jakarta", sans-serif;
	font-size: 14px;
	color: var(--orphic-wp-block-option-page-color-text);
	cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
	width: 16px;
	height: 16px;
	cursor: pointer;
}

.type-selector {
	display: flex;
	gap: 10px;
	margin-bottom: 15px;
}

.type-selector select {
	flex: 1;
	padding: 8px 12px;
	border: 1px solid var(--orphic-wp-block-option-page-bg-button);
	border-radius: 4px;
	font-family: "Jakarta", sans-serif;
	font-size: 14px;
	color: var(--orphic-wp-block-option-page-color-text);
	background-color: var(--orphic-wp-block-option-page-bg);
}

.add-type-button {
	padding: 8px 16px;
	border: none;
	border-radius: 4px;
	background-color: var(--orphic-wp-block-option-page-info-bg);
	color: white;
	font-family: "Jakarta", sans-serif;
	font-size: 14px;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.add-type-button:hover {
	background-color: #0052cc;
}

.add-type-button:disabled {
	background-color: var(--orphic-wp-block-option-page-bg-button);
	cursor: not-allowed;
}

.selected-types {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 5px 0;
}

.type-badge {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 4px 8px;
	background-color: var(--orphic-wp-block-option-page-bg-button);
	border-radius: 4px;
	font-family: "Jakarta", sans-serif;
	font-size: 13px;
}

.type-label {
	color: var(--orphic-wp-block-option-page-color-text);
}

.remove-type {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.1);
	color: var(--orphic-wp-block-option-page-color-text);
	font-size: 14px;
	cursor: pointer;
	transition: all 0.2s ease;
}

.remove-type:hover {
	background: rgba(0, 0, 0, 0.2);
}

.search-default-info {
	background: var(--orphic-wp-block-option-page-bg-section);
	padding: 15px;
	border-radius: 6px;
	margin: 15px 0;
}

.page-select {
	width: 100%;
	padding: 12px;
	border: 1px solid var(--orphic-wp-block-option-page-bg-button);
	border-radius: 6px;
	font-family: "Jakarta", sans-serif;
	font-size: 14px;
	color: var(--orphic-wp-block-option-page-color-text);
	background-color: var(--orphic-wp-block-option-page-bg);
	margin-top: 8px;
}

.page-select: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);
}

.type-container {
	background: var(--orphic-wp-block-option-page-bg-section);
	border-radius: 6px;
	padding: 12px;
	margin-bottom: 10px;
}

.taxonomies-list {
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px solid var(--orphic-wp-block-option-page-bg-button);
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.taxonomy-checkbox {
	display: flex;
	align-items: center;
	gap: 6px;
	font-family: "Jakarta", sans-serif;
	font-size: 13px;
	color: var(--orphic-wp-block-option-page-color-text);
	padding: 4px 8px;
	background: var(--orphic-wp-block-option-page-bg-button);
	border-radius: 4px;
	cursor: pointer;
}

.taxonomy-checkbox input[type="checkbox"] {
	width: 14px;
	height: 14px;
	cursor: pointer;
}

.taxonomies-title {
	font-family: "Jakarta", sans-serif;
	font-size: 14px;
	font-weight: 600;
	color: var(--orphic-wp-block-option-page-color-text);
	margin: 0 0 8px 0;
	width: 100%;
}

.url-preview {
	margin-top: 15px;
	padding: 15px;
	background: var(--orphic-wp-block-option-page-bg-section);
	border-radius: 6px;
}

.url-preview label {
	display: block;
	margin-bottom: 8px;
	font-size: 13px;
	color: var(--orphic-wp-block-option-page-color-text);
}

.url-format {
	display: block;
	padding: 10px;
	background: var(--orphic-wp-block-option-page-bg);
	border: 1px solid var(--orphic-wp-block-option-page-bg-button);
	border-radius: 4px;
	font-family: monospace;
	font-size: 13px;
	color: var(--orphic-wp-block-option-page-color-text);
	word-break: break-all;
	white-space: pre-wrap;
}

.url-info {
	margin: 8px 0 0 0;
	font-size: 12px;
	color: var(--orphic-wp-block-option-page-color-text);
	opacity: 0.8;
}
