/* Trip Review Settings Page Styles */
.wptk_trip_reviews {
	background-color: #f9fafb;
}
.wptk_trip_reviews #wpcontent {
	padding: 0px;
	background-color: #f9fafb;
}
.wptk_trip_reviews #wpwrap {
	padding: 0px;
}
.trpre-settings-wrap {
	background-color: #f9fafb;
	max-width: 100%;
	margin: 0px 0;
}

/* Header Topbar Styles */
.trpre-settings-wrap .wptk-admin-header-notice {
	padding: 6px 15px;
	background-color: #04a072;
	color: #fff;
	text-align: center;
}
.trpre-settings-wrap .wptk-admin-header-notice h3 {
	color: #fff;
	margin: 0;
	padding: 0;
	font-weight: 400;
	font-size: 12px;
	line-height: 16px;
}
.trpre-settings-wrap .wptk-admin-header-notice h3 a {
		color: #fff;
}


.trpre-settings-wrap .wptk-admin-header-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding:10px 15px;
	background-color: #ffffff;
	color: #fff;
	text-align: center;
	border-bottom: 1px solid #eeeeee;
}
.trpre-settings-wrap .wptk-admin-header-bar .left {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	column-gap: 25px;
}
.trpre-settings-wrap .wptk-admin-header-bar .left .logo-holder img {
	width: 40px;
}
.trpre-settings-wrap .wptk-admin-header-bar .left .nav-holder ul {
	display: flex;
	justify-content: space-between;
	align-items: center;
	column-gap: 30px;
	margin: 0;
	padding: 0;
}
.trpre-settings-wrap .wptk-admin-header-bar .left .nav-holder ul li {
	margin: 0;
	padding: 0;
}
.trpre-settings-wrap .wptk-admin-header-bar .left .nav-holder ul li a {
	color: #000000;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	font-family: 'Figtree';
}
.trpre-settings-wrap .wptk-admin-header-bar .right {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	column-gap: 20px;
}
.trpre-settings-wrap .wptk-admin-header-bar .right .sep {
	border: 0.5px solid #e5e7eb;
	height: 20px;
}
.trpre-settings-wrap .wptk-admin-header-bar .right .upgrade-link {
	color: #04a072;
	text-decoration: none;
	font-weight: 500;
	display: flex;
	column-gap: 5px;
	font-size: 15px;
}
.trpre-settings-wrap .wptk-admin-header-bar .right .upgrade-link svg {
	width: 18px;
	height: 18px;
}
.trpre-settings-wrap .wptk-admin-header-bar .right .plugin-version {
	margin: 0;
	padding: 0;
	color: #94a3b8;
	line-height: 1em;
}
.trpre-settings-wrap .wptk-admin-header-bar .right .plugin-version span {
	font-size: 12px;
	border: 1px solid #94a3b8;
	padding: 3px 10px;
	border-radius: 4px;
	display: inline-block;
	margin-left: 10px;
}
.trpre-settings-wrap .wptk-admin-header-bar .right ul {
	display: flex;
	justify-content: space-between;
	align-items: center;
	column-gap: 10px;
	margin: 0;
	padding: 0;
}
.trpre-settings-wrap .wptk-admin-header-bar .right ul li {
	margin: 0;
	padding: 0;
}
.trpre-settings-wrap .wptk-admin-header-bar .right ul svg {
	border: 1px solid #e5e7eb;
	border-radius: 100%;
	padding: 6px;
	line-height: 1em;
	width: 20px;
	height: 20px;
	color: #4b5460;
	fill: #4b5460;
}

/* Header Styles */
.trpre-settings-header {
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
	background: #fff;
	border: 0px solid #ccd0d4;
	border-radius: 8px;
	padding: 24px;
	border-radius: 8px;
	box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.05);
}

.trpre-header-content {
	flex: 1;
}

.trpre-page-title {
	display: flex;
	align-items: center;
	margin: 0 0 8px 0;
	font-size: 24px;
	font-weight: 600;
	color: #1d2327;
}

.trpre-page-title .dashicons {
	font-size: 28px;
	color: #0073aa;
	margin-right: 12px;
}

.trpre-page-description {
	margin: 0;
	color: #646970;
	font-size: 14px;
	line-height: 1.5;
}

.trpre-header-actions {
	display: flex;
	gap: 12px;
	align-items: center;
}

.trpre-header-actions .button {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 8px 16px;
	border-radius: 6px;
	font-weight: 500;
	text-decoration: none;
	transition: all 0.2s ease;
}

.trpre-header-actions .button .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
}

.trpre-header-actions .button-primary {
	background: #1930ee;
	border-color: #1930ee;
	color: #fff;
}

.trpre-header-actions .button-primary:hover {
	background: #182bcd;
	border-color: #182bcd;
	color: #fff;
}

.trpre-header-actions .button-secondary {
	background: #f6f7f7;
	border-color: #c3c4c7;
	color: #2c3338;
}

.trpre-header-actions .button-secondary:hover {
	background: #f0f0f1;
	border-color: #8c8f94;
	color: #1d2327;
}

/* Content Layout */
.trpre-settings-content {
	display: flex;
	margin: 1rem;;
	gap: 1rem;
	background: none;
	border-radius: 8px;
	overflow: hidden;
}

/* Tabs Navigation */
.trpre-settings-tabs {
	width: 240px;
	background: #ffffff;
	flex-shrink: 0;
	border-radius: 8px;
	box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.trpre-tab-nav {
	padding: 1rem;
	margin: 0;
}

.trpre-tab-link {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 5px;
	padding: 16px 20px;
	color: #191919;
	text-decoration: none;
	transition: all 0.2s ease;
	position: relative;
}
.trpre-tab-link:first-of-type {
	border-radius: 8px 8px 0 0;
}
.trpre-tab-link:hover {
	background: #f4f7f9;
	border-radius: 8px;
	color: #1d2327;
	text-decoration: none;
}

.trpre-tab-link:focus,
.trpre-tab-link.active {
	background-color: #f4f7f9;
	color: #000000;
	font-weight: 400;
	border-radius: 8px;
	outline: none;
	box-shadow: none;
}
.trpre-tab-link .dashicons {
	font-size: 24px;
	width: 24px;
	height: 24px;
	flex-shrink: 0;
}
.trpre-tab-link:hover .dashicons,
.trpre-tab-link.active .dashicons {
	color: #04a072;
}
.trpre-tab-link .tab-text {
	font-size: 14px;
	font-weight: 500;
}

/* Main Content */
.trpre-settings-main {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding: 0;
	flex: 1;
	border-radius: 8px;
}

.trpre-settings-form {
	height: 100%;
}

/* Tab Content */
.trpre-tab-content {
	padding: 0;
	height: 100%;
	font-family: 'Figtree' sans-serif;
}

.trpre-tab-header {
	padding: 2rem;
	background: #ffffff;
	margin-bottom: 1rem;
	border-radius: 8px;
	box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.trpre-tab-title {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 8px 0;
	font-size: 20px;
	font-weight: 600;
	color: #1d2327;
}

.trpre-tab-title .dashicons {
	font-size: 22px;
	color: #191919;
}

.trpre-tab-description {
	margin: 0;
	color: #646970;
	font-size: 14px;
	line-height: 1.5;
}

/* Settings Fields */
.trpre-auto-save-indicator {
	position: absolute;
	top: 3%;
	right: 3%;
	padding: 1rem 2rem;
	background: #ffffff;
	margin-bottom: 1rem;
	border-radius: 8px;
	font-size: 14px;
	box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
	font-weight: 500;
}
.trpre-auto-save-indicator.success::before {
	content: '';
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='18' height='18' fill='rgba(100,205,138,1)'%3E%3Cpath d='M4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12ZM12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2ZM17.4571 9.45711L16.0429 8.04289L11 13.0858L8.20711 10.2929L6.79289 11.7071L11 15.9142L17.4571 9.45711Z'%3E%3C/path%3E%3C/svg%3E");
	background-size: 18px;
	background-repeat: no-repeat;
	background-position: left center;
	padding-left: 18px;
	padding-right: 10px;
}
.trpre-auto-save-indicator.error::before {
	content: '';
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='18' height='18' fill='rgba(234,46,46,1)'%3E%3Cpath d='M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 15H13V17H11V15ZM11 7H13V13H11V7Z'%3E%3C/path%3E%3C/svg%3E");
	background-size: 18px;
	background-repeat: no-repeat;
	background-position: left center;
	padding-left: 18px;
	padding-right: 10px;
}
.trpre-settings-fields {
	padding: 2rem;
	background: #ffffff;
	border-radius: 8px;
	box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.trpre-field {
	margin-bottom: 24px;
	padding-bottom: 24px;
	border-bottom: 1px solid #f0f0f1;
}

.trpre-field:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

.trpre-field-label {
	margin-bottom: 12px;
}

.trpre-field-label label {
	display: block;
	font-weight: 600;
	color: #1d2327;
	margin-bottom: 4px;
	font-size: 14px;
}

.trpre-field-label .required {
	color: #d63638;
	margin-left: 4px;
}

.trpre-field-description {
	margin: 0;
	color: #9ca3af;
	font-size: 13px;
	line-height: 1.4;
	font-style: italic;
}

.trpre-field-input {
	display: flex;
	align-items: center;
	gap: 12px;
}

.trpre-field-input input[type="text"],
.trpre-field-input input[type="number"],
.trpre-field-input input[type="email"],
.trpre-field-input input[type="url"],
.trpre-field-input input[type="password"],
.trpre-field-input select,
.trpre-field-input textarea {
	border: 1px solid #e2e8f0;
	border-radius: 4px;
	padding: 8px 12px;
	font-size: 14px;
	transition: border-color 0.2s ease;
}

.trpre-field-input input[type="text"]:focus,
.trpre-field-input input[type="number"]:focus,
.trpre-field-input input[type="email"]:focus,
.trpre-field-input input[type="url"]:focus,
.trpre-field-input input[type="password"]:focus,
.trpre-field-input select:focus,
.trpre-field-input textarea:focus {
	border-color: #cacfd6;
	box-shadow: 0 0 0 1px #0073aa;
	outline: none;
}

.trpre-field-input .regular-text {
	width: 300px;
}

.trpre-field-input .large-text {
	width: 100%;
	max-width: 600px;
}

.trpre-field-input .small-text {
	width: 80px;
}
input[type=number].small-text {
	width: 80px;
}
/* Slider Styles */
.trpre-slider-label {
	display: flex;
	align-items: center;
	gap: 12px;
	cursor: pointer;
	font-weight: 500;
}

.trpre-slider-input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
	width: 0;
	height: 0;
}

.trpre-slider-switch {
	position: relative;
	width: 50px;
	height: 24px;
	background-color: #e5e7eb;
	border-radius: 12px;
	transition: background-color 0.3s ease;
	flex-shrink: 0;
}

.trpre-slider-thumb {
	position: absolute;
	top: 2px;
	left: 2px;
	width: 20px;
	height: 20px;
	background-color: #ffffff;
	border-radius: 50%;
	transition: transform 0.3s ease;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.trpre-slider-input:checked + .trpre-slider-switch {
	background-color: #182bcd;
}

.trpre-slider-input:checked + .trpre-slider-switch .trpre-slider-thumb {
	transform: translateX(26px);
}

.trpre-slider-text {
	color: #1d2327;
	font-size: 14px;
	user-select: none;
}

.trpre-slider-label:hover .trpre-slider-switch {
	box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.trpre-slider-input:focus + .trpre-slider-switch {
	box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
	outline: none;
}

/* Slider animations and interactions */
.trpre-slider-switch:active .trpre-slider-thumb {
	transform: scale(0.95);
}

.trpre-slider-input:checked + .trpre-slider-switch:active .trpre-slider-thumb {
	transform: translateX(26px) scale(0.95);
}

/* Disabled state */
.trpre-slider-input:disabled + .trpre-slider-switch {
	opacity: 0.5;
	cursor: not-allowed;
}

.trpre-slider-input:disabled + .trpre-slider-switch .trpre-slider-thumb {
	cursor: not-allowed;
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.trpre-slider-switch {
		width: 44px;
		height: 22px;
	}

	.trpre-slider-thumb {
		width: 18px;
		height: 18px;
	}

	.trpre-slider-input:checked + .trpre-slider-switch .trpre-slider-thumb {
		transform: translateX(22px);
	}

	.trpre-slider-input:checked + .trpre-slider-switch:active .trpre-slider-thumb {
		transform: translateX(22px) scale(0.95);
	}
}

/* Color Picker */
.trpre-color-picker {
	width: 60px !important;
	height: 40px;
	padding: 4px !important;
	border-radius: 4px;
	cursor: pointer;
}

/* File Upload */
.trpre-file-url {
	flex: 1;
}

.trpre-file-upload {
	flex-shrink: 0;
}

/* Multiselect */
.trpre-field-input select[multiple] {
	min-height: 120px;
	padding: 8px;
}

.trpre-field-input select[multiple] option {
	padding: 4px 8px;
	margin: 2px 0;
}

/* Select2 Custom Styling */
.select2-container--default .select2-selection--multiple {
	border: 1px solid #e2e8f0 !important;
	border-radius: 4px !important;
	min-height: 40px !important;
	padding: 4px !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
	background-color: #182bcd !important;
	border: 1px solid #182bcd !important;
	color: #ffffff !important;
	border-radius: 4px !important;
	padding: 4px 8px 4px 4px !important;
	margin: 2px !important;
	display: flex !important;
	align-items: center !important;
	position: relative !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
	color: #ffffff !important;
	margin-right: 8px !important;
	margin-left: 0 !important;
	padding: 0 !important;
	border: none !important;
	background: none !important;
	font-size: 16px !important;
	line-height: 1 !important;
	width: auto !important;
	height: auto !important;
	position: relative !important;
	top: auto !important;
	left: auto !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
	color: #ff6b6b !important;
	background: none !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__display {
	margin-left: 0 !important;
	padding-left: 0 !important;
	color: #ffffff !important;
	font-weight: 500 !important;
}

.select2-container--default .select2-search--inline .select2-search__field {
	border: none !important;
	outline: none !important;
	box-shadow: none !important;
	padding: 4px !important;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
	border-color: #cacfd6 !important;
	box-shadow: 0 0 0 1px #0073aa !important;
}

.select2-dropdown {
	border: 1px solid #e2e8f0 !important;
	border-radius: 4px !important;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
	background-color: #182bcd !important;
	color: #ffffff !important;
}

.select2-container--default .select2-results__option[aria-selected=true] {
	background-color: #f8f9fa !important;
	color: #182bcd !important;
}

.select2-container--default .select2-results__option {
	padding: 8px 12px !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__placeholder {
	color: #9ca3af !important;
	padding: 4px !important;
}

/* Footer */
.trpre-settings-footer {
	margin-top: 24px;
	padding: 16px 24px;
	background: #f6f7f7;
	border: 1px solid #ccd0d4;
	border-radius: 8px;
	text-align: center;
}

.trpre-footer-text {
	margin: 0;
	color: #646970;
	font-size: 13px;
}

.trpre-footer-text a {
	color: #0073aa;
	text-decoration: none;
}

.trpre-footer-text a:hover {
	text-decoration: underline;
}

/* Loading States */
.trpre-settings-form.saving .trpre-header-actions .button {
	opacity: 0.6;
	pointer-events: none;
}

.trpre-settings-form.saving .trpre-header-actions .button-primary::after {
	content: '';
	display: inline-block;
	width: 16px;
	height: 16px;
	margin-left: 8px;
	border: 2px solid transparent;
	border-top: 2px solid currentColor;
	border-radius: 50%;
	animation: trpre-spin 1s linear infinite;
}

.trpre-settings-form.loading .trpre-tab-content {
	position: relative;
}

.trpre-settings-form.loading .trpre-tab-content::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(255, 255, 255, 0.8);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10;
}

.trpre-settings-form.loading .trpre-tab-content::before {
	content: 'Loading...';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 11;
	color: #666;
	font-size: 14px;
	font-weight: 500;
}

@keyframes trpre-spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/* Success/Error Messages */
.trpre-message {
	padding: 12px 16px;
	border-radius: 6px;
	margin: 16px 0;
	font-size: 14px;
	font-weight: 500;
}

.trpre-message.trpre-success {
	background: #d1e7dd;
	border: 1px solid #a3cfbb;
	color: #0f5132;
}

.trpre-message.trpre-error {
	background: #f8d7da;
	border: 1px solid #f1aeb5;
	color: #721c24;
}

/* Messages within tab content */
.trpre-tab-content .trpre-message {
	margin: 20px 0;
	position: relative;
	padding: 12px 16px;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 500;
	border-left: 4px solid;
}

.trpre-tab-content .trpre-message.trpre-message-success {
	background: #d1e7dd;
	border-color: #198754;
	color: #0f5132;
}

.trpre-tab-content .trpre-message.trpre-message-error {
	background: #f8d7da;
	border-color: #dc3545;
	color: #721c24;
}

.trpre-tab-content .trpre-message .notice-dismiss {
	position: absolute;
	top: 8px;
	right: 8px;
	padding: 4px;
	background: none;
	border: none;
	cursor: pointer;
	opacity: 0.7;
	color: inherit;
}

.trpre-tab-content .trpre-message .notice-dismiss:hover {
	opacity: 1;
}

.trpre-tab-content .trpre-message .notice-dismiss:before {
	content: '\f158';
	font-family: dashicons;
	font-size: 16px;
	line-height: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
	.trpre-settings-content {
		flex-direction: column;
	}

	.trpre-settings-tabs {
		width: 100%;
		border-right: none;
		border-bottom: 1px solid #ccd0d4;
	}

	.trpre-tab-nav {
		display: flex;
		overflow-x: auto;
	}

	.trpre-tab-link {
		white-space: nowrap;
		border-bottom: none;
		border-right: 1px solid #e0e0e0;
		min-width: 120px;
		justify-content: center;
	}

	.trpre-tab-link.active {
		border-right: 1px solid #e0e0e0;
		border-bottom: 3px solid #0073aa;
		margin-right: 0;
		margin-bottom: -1px;
	}
}

@media (max-width: 768px) {
	.trpre-settings-header {
		flex-direction: column;
		gap: 16px;
		align-items: stretch;
	}

	.trpre-header-actions {
		justify-content: stretch;
	}

	.trpre-header-actions .button {
		flex: 1;
		justify-content: center;
	}

	.trpre-settings-fields {
		padding: 16px;
	}

	.trpre-field-input {
		flex-direction: column;
		align-items: stretch;
		gap: 8px;
	}

	.trpre-field-input .regular-text,
	.trpre-field-input .large-text {
		width: 100%;
		max-width: none;
	}
}

/* Repeater Field Styles */
.trpre-repeater-field {
	width: 100%;
	max-width: 800px;
}

.trpre-repeater-items {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 16px;
}

.trpre-repeater-item {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px 20px;
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	transition: all 0.2s ease;
	box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.trpre-repeater-item:hover {
	border-color: #d1d5db;
	box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
}

.trpre-repeater-item.sortable-ghost {
	opacity: 0.4;
}

.trpre-repeater-item.sortable-drag {
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.trpre-repeater-handle {
	cursor: move;
	display: flex;
	align-items: center;
	padding: 4px;
	border-radius: 4px;
	transition: background-color 0.2s ease;
}

.trpre-repeater-handle:hover {
	background-color: #f3f4f6;
}

.trpre-repeater-item[data-index="0"] .trpre-repeater-handle {
	cursor: not-allowed;
	opacity: 0.3;
}

.trpre-repeater-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex: 1;
	gap: 16px;
}

.trpre-repeater-label {
	font-size: 14px;
	font-weight: 500;
	color: #374151;
	flex: 1;
}

.trpre-repeater-label input {
	border: none;
	background: transparent;
	font-size: 14px;
	font-weight: 500;
	color: #374151;
	padding: 0;
	width: 100%;
	outline: none;
}

.trpre-repeater-label input:focus {
	border-bottom: 1px solid #3b82f6;
	padding-bottom: 2px;
}

.trpre-repeater-label input::placeholder {
	color: #9ca3af;
	font-weight: 400;
}

.trpre-repeater-controls {
	display: flex;
	align-items: center;
	gap: 16px;
}

.trpre-repeater-toggle {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	cursor: pointer;
	user-select: none;
}

.trpre-repeater-active {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.trpre-toggle-switch {
	position: relative;
	width: 20px;
	height: 20px;
	background-color: #3b82f6;
	border-radius: 4px;
	transition: all 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.trpre-toggle-switch::after {
	content: '';
	position: absolute;
	width: 12px;
	height: 12px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='white'%3E%3Cpath d='M10 3L4.5 8.5L2 6' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") no-repeat center;
	background-size: 12px;
	opacity: 1;
	transition: opacity 0.2s ease;
}

.trpre-repeater-active:not(:checked) + .trpre-toggle-switch {
	background-color: #d1d5db;
}

.trpre-repeater-active:not(:checked) + .trpre-toggle-switch::after {
	opacity: 0;
}

.trpre-toggle-label {
	font-size: 14px;
	color: #3b82f6;
	font-weight: 500;
	white-space: nowrap;
}

.trpre-repeater-locked-badge {
	display: inline-block;
	padding: 4px 8px;
	background: #fbbf24;
	color: #78350f;
	border-radius: 4px;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	white-space: nowrap;
	letter-spacing: 0.5px;
}

.trpre-repeater-remove {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	background: transparent;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.2s ease;
	color: #6b7280;
}

.trpre-repeater-remove:hover {
	background-color: #f3f4f6;
	color: #374151;
}

.trpre-repeater-add {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 20px;
	background: transparent;
	border: 2px dashed #d1d5db;
	color: #6b7280;
	border-radius: 8px;
	font-weight: 500;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.2s ease;
	width: 100%;
	max-width: 300px;
	margin: 0 auto;
}

.trpre-repeater-add:hover {
	border-color: #3b82f6;
	color: #3b82f6;
	background-color: #f8fafc;
}

/* Sortable Placeholder */
.trpre-repeater-placeholder {
	background: #e5e7eb;
	border: 2px dashed #94a3b8;
	border-radius: 6px;
	height: 60px;
	margin-bottom: 12px;
}

/* Reset Section Styles */
.trpre-reset-section {
	margin-top: 32px;
	padding-top: 24px;
	border-top: 2px solid #e0e0e0;
}

.trpre-field-reset {
	background: #f8f9fa;
	border: 1px solid #e9ecef;
	border-radius: 8px;
	padding: 20px;
	margin-bottom: 0;
	border-bottom: none;
}

.trpre-field-reset .trpre-field-label h3 {
	margin: 0 0 8px 0;
	font-size: 16px;
	font-weight: 600;
	color: #dc3545;
	display: flex;
	align-items: center;
	gap: 8px;
}

.trpre-field-reset .trpre-field-label h3::before {
	content: '\f534';
	font-family: dashicons;
	font-size: 18px;
	color: #dc3545;
}

.trpre-field-reset .trpre-field-description {
	color: #6c757d;
	font-style: normal;
	margin-bottom: 16px;
}

.trpre-reset-button {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 20px;
	border-radius: 6px;
	font-weight: 500;
	text-decoration: none;
	transition: all 0.2s ease;
	background: #dc3545;
	border-color: #dc3545;
	color: #fff;
}

.trpre-reset-button:hover {
	background: #c82333;
	border-color: #bd2130;
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 2px 4px rgba(220, 53, 69, 0.3);
}

.trpre-reset-button:active {
	transform: translateY(0);
	box-shadow: 0 1px 2px rgba(220, 53, 69, 0.3);
}

.trpre-reset-button .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
}

.trpre-reset-button:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

/* Print Styles */
@media print {
	.trpre-settings-header,
	.trpre-settings-tabs,
	.trpre-settings-footer {
		display: none;
	}

	.trpre-settings-main {
		padding: 0;
	}

	.trpre-settings-fields {
		max-height: none;
		overflow: visible;
	}
}

/* Additional Pages Styles */
.trpre-page-header {
	margin-bottom: 30px;
	padding-bottom: 20px;
	border-bottom: 1px solid #e5e7eb;
}

.trpre-page-title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 10px 0;
	font-size: 24px;
	font-weight: 600;
	color: #1f2937;
}

.trpre-page-title .dashicons {
	font-size: 28px;
	color: #04a072;
}

.trpre-page-description {
	margin: 0;
	color: #6b7280;
	font-size: 16px;
	line-height: 1.5;
}

.trpre-page-content {
	display: flex;
	background: #ffffff;
	border-radius: 8px;
	padding: 30px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.trpre-settings-content.trpre-plugin-settings .trpre-page-content {
	padding: 0;
	background: #f9fafb;
	gap: 20px;
}
/* Dashboard Styles */
.trpre-dashboard-content {
	max-width: 1200px;
}

.trpre-dashboard-welcome {
	background: #ffffff;
	border-radius: 8px;
	padding: 2rem;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	margin-bottom: 30px;
}

.trpre-dashboard-welcome h3 {
	margin: 0 0 10px 0;
	font-size: 24px;
	font-weight: 600;
}

.trpre-dashboard-welcome p {
	margin: 0;
	opacity: 0.9;
	font-size: 16px;
	color: #6b7280;
}

.trpre-dashboard-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
	margin-bottom: 30px;
}

.trpre-stat-card {
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	padding: 20px;
	text-align: center;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.trpre-stat-card h4 {
	margin: 0 0 10px 0;
	color: #374151;
	font-size: 14px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.trpre-stat-number {
	font-size: 32px;
	font-weight: 700;
	color: #000000;
	margin: 20px 0;
}

.trpre-stat-description {
	margin: 0;
	color: #6b7280;
	font-size: 14px;
}

.trpre-dashboard-actions {
	margin-bottom: 30px;
}

.trpre-dashboard-actions h4 {
	margin: 0 0 15px 0;
	color: #374151;
	font-size: 18px;
	font-weight: 600;
}

.trpre-action-buttons {
	display: flex;
	gap: 15px;
	flex-wrap: wrap;
}

.trpre-dashboard-recent {
	background: #f9fafb;
	border-radius: 8px;
	padding: 20px;
}

.trpre-dashboard-recent h4 {
	margin: 0 0 15px 0;
	color: #374151;
	font-size: 18px;
	font-weight: 600;
}

/* Tools Page Styles */
.trpre-tools-content {
	max-width: 1200px;
}

.trpre-tools-welcome {
	background: #ffffff;
	border-radius: 8px;
	padding: 2rem;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	margin-bottom: 30px;
}

.trpre-tools-welcome h3 {
	margin: 0 0 10px 0;
	color: #1f2937;
	font-size: 24px;
	font-weight: 600;
}

.trpre-tools-welcome p {
	margin: 0;
	color: #6b7280;
	font-size: 16px;
}

.trpre-tools-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	margin-bottom: 30px;
}

.trpre-tool-card {
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	padding: 20px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	transition: box-shadow 0.2s ease;
}

.trpre-tool-card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.trpre-tool-card h4 {
	margin: 0 0 10px 0;
	color: #1f2937;
	font-size: 18px;
	font-weight: 600;
}

.trpre-tool-card p {
	margin: 0 0 15px 0;
	color: #6b7280;
	line-height: 1.5;
}

.trpre-tool-actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.trpre-tools-notice {
	background: #fef3c7;
	border: 1px solid #f59e0b;
	border-radius: 8px;
	padding: 15px;
	margin-top: 20px;
}

.trpre-tools-notice p {
	margin: 0;
	color: #92400e;
	font-size: 14px;
}

/* Support Page Styles */
.trpre-support-content {
	max-width: 1200px;
}

.trpre-support-welcome {
	background: #ffffff;
	border-radius: 8px;
	padding: 2rem;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	margin-bottom: 30px;
}

.trpre-support-welcome h3 {
	margin: 0 0 10px 0;
	color: #000000;
	font-size: 24px;
	font-weight: 600;
}

.trpre-support-welcome p {
	margin: 0;
	color: #6b7280;
	font-size: 16px;
}

.trpre-support-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 20px;
	margin-bottom: 30px;
}

.trpre-support-card {
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	padding: 25px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	transition: box-shadow 0.2s ease;
}

.trpre-support-card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.trpre-support-card-inner {
	display: flex;
	align-items: center;
	justify-content: flex-start;
}
.trpre-support-icon-svg {
	width: 22px;
	height: 22px;
	display: inline-block;
	vertical-align: middle;
	margin: 5px 5px 0 0;
}
.trpre-support-icon {
	margin-bottom: 15px;
}

.trpre-support-icon-svg .dashicons {
	font-size: 48px;
	color: #3b82f6;
}

.trpre-support-card h4 {
	margin: 0 0 10px 0;
	color: #1f2937;
	font-size: 18px;
	font-weight: 600;
}

.trpre-support-card p {
	margin: 0 0 20px 0;
	color: #6b7280;
	line-height: 1.5;
}

.trpre-support-actions .button {
	min-width: 140px;
	text-align: center;
}

.trpre-support-info {
	background: #f9fafb;
	border-radius: 8px;
	padding: 25px;
	margin-top: 30px;
}

.trpre-support-section {
	margin-bottom: 25px;
}

.trpre-support-section:last-child {
	margin-bottom: 0;
}

.trpre-support-section h4 {
	margin: 0 0 10px 0;
	color: #1f2937;
	font-size: 18px;
	font-weight: 600;
}

.trpre-system-info {
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	padding: 15px;
	margin-top: 10px;
	font-family: monospace;
	font-size: 14px;
	line-height: 1.6;
}

.trpre-support-section ul {
	margin: 10px 0 0 0;
	padding-left: 20px;
	list-style: disc;
}

.trpre-support-section li {
	margin-bottom: 5px;
	color: #6b7280;
}

/* FAQs Page Styles */
.trpre-faqs-content {
	max-width: 680px;
	width: 100%;
}

.trpre-faqs-welcome {
	background: #ffffff;
	border-radius: 8px;
	padding: 2rem;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	margin-bottom: 30px;
}

.trpre-faqs-welcome h3 {
	margin: 0 0 10px 0;
	color: #000000;
	font-size: 24px;
	font-weight: 600;
}

.trpre-faqs-welcome p {
	margin: 0;
	color: #6b7280;
	font-size: 16px;
}

.trpre-faqs-search {
	margin-bottom: 30px;
}

.trpre-faqs-search input {
	width: 100%;
	max-width: 400px;
	padding: 12px 16px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	font-size: 16px;
}

.trpre-faqs-list {
	margin-bottom: 30px;
}

.trpre-faq-category {
	margin-bottom: 40px;
}

.trpre-faq-category h4 {
	margin: 0 0 20px 0;
	color: #1f2937;
	font-size: 20px;
	font-weight: 600;
	padding-bottom: 10px;
	border-bottom: 2px solid #e5e7eb;
}

.trpre-faq-item {
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	margin-bottom: 10px;
	overflow: hidden;
	width: 100%;
	max-width: 100%;
}

.trpre-faq-question {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px;
	cursor: pointer;
	transition: background-color 0.2s ease;
	width: 100%;
	box-sizing: border-box;
}

.trpre-faq-question:hover {
	background-color: #f9fafb;
}

.trpre-faq-question h5 {
	margin: 0;
	color: #1f2937;
	font-size: 16px;
	font-weight: 600;
	flex: 1;
	word-wrap: break-word;
	overflow-wrap: break-word;
	hyphens: auto;
}

.trpre-faq-toggle {
	font-size: 20px;
	font-weight: bold;
	color: #6b7280;
	transition: transform 0.2s ease;
}

.trpre-faq-item.active .trpre-faq-toggle {
	transform: rotate(45deg);
}

.trpre-faq-answer {
	display: none;
	padding: 20px;
	border-top: 1px solid #e5e7eb;
	width: 100%;
	box-sizing: border-box;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

.trpre-faq-answer p {
	margin: 0;
	color: #6b7280;
	line-height: 1.6;
	word-wrap: break-word;
	overflow-wrap: break-word;
	hyphens: auto;
}

.trpre-faqs-footer {
	text-align: center;
	padding: 20px;
	background: #f9fafb;
	border-radius: 8px;
}

.trpre-faqs-footer p {
	margin: 0;
	color: #6b7280;
}

.trpre-faqs-footer a {
	color: #04a072;
	text-decoration: none;
	font-weight: 500;
}

.trpre-faqs-footer a:hover {
	text-decoration: underline;
}

/* Premium Page Styles */
.trpre-premium-content {
	max-width: 1200px;
}

.trpre-premium-hero {
	text-align: center;
	padding: 40px 20px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border-radius: 12px;
	color: white;
	margin-bottom: 40px;
}

.trpre-premium-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(255, 255, 255, 0.2);
	padding: 8px 16px;
	border-radius: 20px;
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 20px;
}

.trpre-premium-hero h2 {
	margin: 0 0 15px 0;
	font-size: 32px;
	font-weight: 700;
}

.trpre-premium-hero p {
	margin: 0 0 30px 0;
	font-size: 18px;
	opacity: 0.9;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

.trpre-premium-cta .button {
	font-size: 18px;
	padding: 12px 30px;
	height: auto;
	border-radius: 8px;
	background: #ffffff;
	color: #667eea;
	border: none;
	font-weight: 600;
}

.trpre-premium-cta .button:hover {
	background: #f8fafc;
	color: #667eea;
}

.trpre-premium-note {
	margin: 15px 0 0 0;
	font-size: 14px;
	opacity: 0.8;
}

.trpre-premium-comparison {
	margin-bottom: 40px;
}

.trpre-premium-comparison h3 {
	margin: 0 0 0px 0;
	color: #1f2937;
	font-size: 24px;
	font-weight: 600;
}

.trpre-comparison-table {
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	overflow: hidden;
}

.trpre-comparison-header {
	display: grid;
	grid-template-columns: 1fr 120px 120px;
	background: #f9fafb;
	border-bottom: 2px solid #e5e7eb;
}

.trpre-comparison-header > div {
	padding: 15px 20px;
	font-weight: 600;
	color: #374151;
	text-align: center;
}

.trpre-comparison-header .trpre-comparison-feature {
	text-align: left;
}

.trpre-comparison-row {
	display: grid;
	grid-template-columns: 1fr 120px 120px;
	border-bottom: 1px solid #e5e7eb;
}

.trpre-comparison-row:last-child {
	border-bottom: none;
}

.trpre-comparison-row > div {
	padding: 15px 20px;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
}

.trpre-comparison-row .trpre-comparison-feature {
	text-align: left;
	color: #374151;
	justify-content: flex-start;
}

.trpre-comparison-row.trpre-premium-feature {
	background: #fef3c7;
}

.trpre-comparison-row .dashicons-yes {
	color: #059669;
	font-size: 18px;
}

.trpre-comparison-row .dashicons-no-alt {
	color: #dc2626;
	font-size: 18px;
}

.trpre-premium-features {
	margin-bottom: 40px;
}

.trpre-premium-features h3 {
	text-align: center;
	margin: 0 0 30px 0;
	color: #1f2937;
	font-size: 24px;
	font-weight: 600;
}

.trpre-features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 20px;
}

.trpre-feature-card {
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	padding: 25px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	transition: box-shadow 0.2s ease;
}

.trpre-feature-card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.trpre-feature-card-inner {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	margin-bottom: 10px;
}
.trpre-feature-icon svg {
	width: 18px;
	height: 18px;
	color: #000000;
	margin-right: 10px;
}

.trpre-feature-card h4 {
	margin: 0 0 0px 0;
	color: #1f2937;
	font-size: 18px;
	list-style: 1px;
	font-weight: 600;
}

.trpre-feature-card p {
	margin: 0;
	color: #6b7280;
	line-height: 1.5;
}

.trpre-premium-testimonials {
	margin-bottom: 40px;
}

.trpre-premium-testimonials h3 {
	text-align: center;
	margin: 0 0 30px 0;
	color: #1f2937;
	font-size: 24px;
	font-weight: 600;
}

.trpre-testimonials-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 20px;
}

.trpre-testimonial {
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	padding: 25px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.trpre-testimonial-content {
	margin-bottom: 20px;
}

.trpre-testimonial-content p {
	margin: 0;
	color: #374151;
	font-style: italic;
	line-height: 1.6;
}

.trpre-testimonial-author strong {
	color: #1f2937;
	font-weight: 600;
}

.trpre-testimonial-author span {
	color: #6b7280;
	font-size: 14px;
}

.trpre-premium-pricing h3 {
	text-align: center;
	margin: 0 0 30px 0;
	color: #1f2937;
	font-size: 24px;
	font-weight: 600;
}

.trpre-pricing-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
	margin-bottom: 40px;
}

.trpre-pricing-card {
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	padding: 30px 20px;
	text-align: center;
	position: relative;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	transition: box-shadow 0.2s ease;
}

.trpre-pricing-card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.trpre-pricing-card.trpre-popular {
	border-color: #04a072;
	box-shadow: 0 4px 12px rgba(4, 160, 114, 0.2);
}

.trpre-pricing-badge {
	position: absolute;
	top: -10px;
	left: 50%;
	transform: translateX(-50%);
	background: #04a072;
	color: white;
	padding: 5px 15px;
	border-radius: 15px;
	font-size: 12px;
	font-weight: 600;
}

.trpre-pricing-header h4 {
	margin: 0 0 15px 0;
	color: #1f2937;
	font-size: 20px;
	font-weight: 600;
}

.trpre-pricing-price {
	margin-bottom: 25px;
}

.trpre-price-currency {
	font-size: 20px;
	color: #6b7280;
	vertical-align: top;
}

.trpre-price-amount {
	font-size: 48px;
	font-weight: 700;
	color: #1f2937;
}

.trpre-price-period {
	font-size: 16px;
	color: #6b7280;
}

.trpre-pricing-features ul {
	list-style: none;
	margin: 0 0 25px 0;
	padding: 0;
}

.trpre-pricing-features li {
	padding: 8px 0;
	color: #374151;
	border-bottom: 1px solid #f3f4f6;
}

.trpre-pricing-features li:last-child {
	border-bottom: none;
}

.trpre-pricing-cta .button {
	width: 100%;
	padding: 12px 20px;
	font-size: 16px;
	font-weight: 600;
	border-radius: 8px;
}

.trpre-premium-guarantee {
	background: #f0f9ff;
	border: 1px solid #0ea5e9;
	border-radius: 8px;
	padding: 25px;
	text-align: center;
}

.trpre-guarantee-content {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
}

.trpre-guarantee-icon .dashicons {
	font-size: 48px;
	color: #0ea5e9;
}

.trpre-guarantee-text h4 {
	margin: 0 0 5px 0;
	color: #0369a1;
	font-size: 20px;
	font-weight: 600;
}

.trpre-guarantee-text p {
	margin: 0;
	color: #0369a1;
	font-size: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
	.trpre-dashboard-stats {
		grid-template-columns: 1fr;
	}

	.trpre-tools-grid,
	.trpre-support-grid,
	.trpre-features-grid,
	.trpre-testimonials-grid {
		grid-template-columns: 1fr;
	}

	.trpre-pricing-grid {
		grid-template-columns: 1fr;
	}

	.trpre-comparison-header,
	.trpre-comparison-row {
		grid-template-columns: 1fr 80px 80px;
	}

	.trpre-comparison-header > div,
	.trpre-comparison-row > div {
		padding: 10px 15px;
		font-size: 14px;
	}

	.trpre-premium-hero {
		padding: 30px 15px;
	}

	.trpre-premium-hero h2 {
		font-size: 24px;
	}

	.trpre-premium-hero p {
		font-size: 16px;
	}

	.trpre-guarantee-content {
		flex-direction: column;
		text-align: center;
	}
}
