/**
 * All of the CSS for your admin-specific functionality should be
 * included in this file.
 */

/* Container Background */
.qe-rp-dashboard-container {
	background-color: #f0f2f5;
	padding: 20px;
}

.qe-rp-notice{

	padding: 15px 40px 15px 15px;
	background: #fff;
	border-left: 4px solid #2271b1;
}

.qe-rp-notice-close{
	position: absolute;
	top: 25px;
	right: 25px;
	border: none;
	background: transparent;
	font-size: 20px;
	cursor: pointer;
	color: #666;
}

.qe-rp-notice-close:hover{
	color: #000;
}
span.same-width {
	width: 130px;
	display: inline-block;
}
.notice-wrapper {
max-width: 100%;
margin: 20px;
border: 1px solid #c3c4c7;
border-left: 3px solid #2ea043;
background: #fff;
padding: 20px;
display: flex;
align-items: center;
gap: 20px;position: relative;
}


.toplevel_page_qe-rp-reward-points .wc-wp-version-gte-53 .select2-container .select2-selection--single {
	height: 32px;
	min-height: 32px !important;
}


.notice-content {
	flex: 1;
	color: #1d2327;
	font-size: 14px;
	line-height: 1.6;
}

.notice-content p{
	font-size: 14px; line-height: 1.6; margin: 0;
}

.notice-content a {
	color: #2271b1;
	text-decoration: none;
}

.notice-content a:hover {
	text-decoration: underline;
}



.qe-rp-tooltip {
	position: relative;
	display: inline-block;
	margin: 0 6px;
}

.qe-rp-tooltip-icon{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 12px;
	height: 12px;
	font-size: 11px;
	font-weight: 600;
	border-radius: 50%;
	background: #2271b1;
	color: #fff;
	cursor: pointer;
}


.form-table td p{
	font-size: 13px;
}

tr.w-25 td {
	width: 27% !important;
}

.top-message .notice-actions {
	margin-top: 15px;
	display: flex;
	align-items: center;
	gap: 15px;
}

.top-message .btn-primary {
	background: #2271b1;
	color: #fff;
	padding: 8px 14px;
	border-radius: 3px;
	text-decoration: none;
	font-size: 14px;
}

.top-message .btn-primary:hover {
	background: #135e96;
}

.top-message .btn-link {
	color: #2271b1;
	text-decoration: none;
	font-size: 14px;
}

.top-message .btn-link:hover {
	text-decoration: underline;
}

.top-message .btn-close {
	color: #646970;
	text-decoration: none;
	font-size: 14px;
}

.top-message .btn-close:hover {
	color: #d63638;
}

.top-message .icon {
	width: 100px;
	height: 100px;
	flex-shrink: 0;
}

/* Navigation Bar */
.qe-rp-tabs-nav {
	display: flex;
	background: #ffffff;
	border: 1px solid #dcdcde;
	border-radius: 4px 4px 0 0;
	gap: 5px;
	padding: 0 10px;
	background: #ffffff !important;
}


.select2-container--default .select2-selection--single{
	border: 1px solid #2271b1 !important;
	background: #ffffff !important;
	min-height: 36px !important;
	color: #2271b1 !important;
	font-size: 14px !important;
	font-weight: 500;
}

.select2-container--default .select2-selection--single .select2-selection__rendered{
	line-height: 33px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
	top: 6px;
	right: 3px;
}

.redeem-category-level-overrides-text .widefat{
	margin-bottom: 20px;
}

/* Individual Tabs */
.qe-rp-tab {
	padding: 15px 20px;
	border: none;
	background: transparent;
	cursor: pointer;
	font-size: 14px;
	font-weight: 500;
	color: #000000;
	display: flex;
	align-items: center;
	gap: 8px;
	border-bottom: 3px solid transparent;
	transition: all 0.2s ease-in-out;
}

.qe-rp-tab:hover {
	color: #2271b1;
}

/* Active State - Purple Accent */
.qe-rp-tab.qe-rp-active {
	color: #2271b1;
	border-bottom: 3px solid #2271b1;
}

.qe-rp-icon {
	font-size: 16px;
}

/* Content Box */
.qe-rp-main-content {
	background: #ffffff;
	border: 1px solid #dcdcde;
	border-top: none;
	padding: 20px;
	min-height: 500px;
}

.widefat th.sortable a, .widefat th.sorted a{
	color: #000000;
}

.widefat thead td, .widefat thead th{
	border-bottom: 0px;
}

.qe-rp-section-title {
	font-size: 13px;
	letter-spacing: 0.05em;
	color: #1d2327;
	margin-bottom: 20px;
	font-weight: 700;
	text-transform: uppercase;
}
/* Content visibility toggle */
.qe-rp-tab-pane {
	display: none;
}

.qe-rp-tab-pane.qe-rp-show {
	display: block;
}

.qe-rp-page-title {
	font-size: 20px;
	font-weight: 600;
	letter-spacing: 0;
	line-height: normal;
	margin: 0;
	background-color: #344054;
	color: #ffffff;
	padding: 20px;
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 10px;
}

.qe-rp-page-title span{
	display: flex;
	align-items: center;
}

.qe-rp-page-title span svg{
	width: 27px;
	height: 27px;
}

/* ===== Container ===== */
.qe-rp-dashboard-container {
	background-color: #f0f2f5;
	padding: 20px;
	font-family: Arial, sans-serif;
	margin-left: 0px; overflow: hidden;
}

.toplevel_page_qe-rp-reward-points #wpcontent, .admin_page_qe-rp-customer-view #wpcontent{
	padding: 0px;
}

.qe-rp-main-content .wrap{
	margin:0px;
}

.qe-rp-settings-wrap h1{
	font-size: 20px;
	font-weight: 600;
	line-height: normal;
	letter-spacing: 0px;
}

.main-wrap-inner{
	display: flex;
	align-items: center;
	justify-content: end;
	gap: 20px;
}
.main-wrap-inner h1{
	margin: 0px;
	padding: 0px;
	font-size: 20px !important;
}
.main-wrap-inner p{
	margin: 0px;
	font-size: 16px;
	font-weight: 500;
	line-height: normal;
	padding: 0px;
}

.main-wrap-inner p a{
	color: #2271b1;
}

/* ===== Main Tabs ===== */
.qe-rp-tabs-nav {
	display: flex;
	background: #ffffff;
	border: 1px solid #dcdcde;
	border-radius: 4px 4px 0 0;
	gap: 5px;
	padding: 0 10px;
}

.qe-rp-tab {
	padding: 15px;
	border: none;
	background: transparent;
	cursor: pointer;
	font-size: 14px;
	font-weight: 500;
	color: #000000;
	display: flex;
	align-items: center;
	gap: 8px;
	border-bottom: 3px solid transparent;
	transition: all 0.2s ease-in-out;
}

.qe-rp-tab:hover {
	color: #2271b1;
}

.qe-rp-tab.qe-rp-active {
	color: #2271b1;
	border-bottom: 3px solid #2271b1;
}

.qe-rp-tab.qe-rp-active .icon svg{
	color: #2271b1;
	stroke: #2271b1;
}

.qe-rp-icon {
	font-size: 16px;
}

.qe-rp-main-content .qe-rp-tab-pane .qe-rp-chart-wrap h3{
	margin-top: 0px;
}

#menu-management .menu-edit, #menu-settings-column .accordion-container, .comment-ays, .feature-filter, .manage-menus, .menu-item-handle, .popular-tags, .stuffbox, .widget-inside, .widget-top, .widgets-holder-wrap, .wp-editor-container, p.popular-tags, table.widefat{
	border-radius: 5px;
	margin-bottom: 10px;
	border-color: #dcdcdc !important;
}
.widefat td, .widefat th{
	padding: 10px;
}
.widefat tfoot td, .widefat tfoot th{
	border-color: #dcdcdc !important;
}

.qe-rp-main-content select {
	border: 1px solid #2271b1;
	background-color: #ffffff;
	min-height: 36px;
	color: #2271b1;
	font-size: 14px;
	font-weight: 500;
	border-radius: 4px;
}

.qe-rp-main-content select:hover {
	color: #2271b1;
	border-color: #2271b1;
	outline: 0;
	box-shadow: none;
}

.qe-rp-main-content select:focus {
	color: #2271b1;
	border-color: #2271b1;
	outline: 0;
	box-shadow: none;
}

/* ===== Main Content ===== */
.qe-rp-main-content {
	background: #ffffff;
	border: 1px solid #dcdcde;
	border-top: none;
	padding: 20px;
	min-height: 500px;
	border-radius: 0 0 6px 6px;
}

.form-table td label{
	margin-bottom: 10px;
	display: inline-block;
}

.qe-rp-dashboard-container input {
	border: 1px solid #2271b1;
	background: #ffffff !important;
	min-height: 36px !important;
	color: #2271b1 !important;
	font-size: 14px !important;
	font-weight: 500;
}

.qe-rp-dashboard-container input:hover,
.qe-rp-dashboard-container input:focus {
	color: #2271b1;
	border-color: #2271b1;
	outline: 0;
	box-shadow: none;
}

.qe-rp-dashboard-container label input{
	min-height: auto !important;
}

.qe-rp-top5-user{
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	margin-top: 40px;
}

.qe-rp-top5-user h4{
	font-size: 16px;
	font-weight: 600;
	line-height: normal;
	letter-spacing: 0px;
	margin: 10px 0 20px 0;
	color: #000000;
}

.qe-rp-section-title {
	font-size: 13px;
	letter-spacing: 0.05em;
	color: #1d2327;
	margin-bottom: 20px;
	font-weight: 700;
	text-transform: uppercase;
}

.qe-rp-tab-pane {
	display: none;
}

.qe-rp-tab-pane.qe-rp-show {
	display: block;
}

/* ===== Inner Tabs ===== */
.qe-rp-inner-nav {
	display: flex;
	margin-bottom: 20px;
	overflow-x: auto;
	border-bottom: 1px solid #dcdcdc;
}

.qe-rp-tab-pane .qe-rp-section-title{
	font-size: 20px !important;
	font-weight: 600 !important;
	letter-spacing: 0;
	padding-top: 0px !important;
	padding-bottom: 15px !important;
}

.qe-rp-inner-tab {
	padding: 10px 15px;
	border: none;
	background: transparent;
	cursor: pointer;
	font-size: 14px;
	font-weight: 500;
	color: #000000;
	border-bottom: 2px solid transparent;
	transition: all 0.2s ease-in-out;
	white-space: nowrap;
}

.qe-rp-inner-tab:hover {
	color: #2271b1;
}

.qe-rp-inner-tab.qe-rp-inner-active {
	color: #2271b1;
	border-bottom: 2px solid #2271b1;
	background: #ffffff;
}

.qe-rp-sub-pane {
	display: none;
	padding: 20px;
	background: #ffffff;
	border: 1px solid #dcdcde;
	border-radius: 6px;
}

.qe-rp-sub-pane.qe-rp-sub-show {
	display: block;
}

.qe-rp-switch {
	position: relative;
	display: inline-block;
	width: 50px;
	height: 28px;
}

.qe-rp-sub-pane .role-inner {
	display: flex;
	gap: 10px;
}

.rule-title h1{
	font-size: 20px;
	font-weight: 600;
	line-height: normal;
	letter-spacing: 0;
	display: inline-block;
	vertical-align: middle;
	padding: 0;
}
#qe-rp-manage-points-form .form-table{
	margin-top: 0;
}
input#qe_rp_percentage_points {
	width: 230px;
}

#qe-rp-manage-points-form .form-table tr{
	padding: 0;
}
#qe-rp-manage-points-form .form-table tr td{
	padding: 10px 0 !important;
}
form#qe-rp-redemption-settings-form .form-table tr td{
	vertical-align: top;

}
form#qe-rp-redemption-settings-form .form-table tr td input{ max-width: 370px;
}
.qe-rp-switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.qe-rp-slider {
	position: absolute;
	cursor: pointer;
	inset: 0;
	background-color: #ffffff;
	transition: 0.4s;
	border-radius: 34px;
	border: 1px solid #2271b1;
}

.qe-rp-slider::before {
	position: absolute;
	content: "";
	height: 22px;
	width: 22px;
	left: 3px;
	bottom: 2px;
	background-color: #2271b1;
	transition: 0.4s;
	border-radius: 50%;
}

.qe-rp-switch input:checked + .qe-rp-slider {
	background-color: #2271b1;
}
.qe-rp-switch input:checked + .qe-rp-slider::before{
	background-color: #ffffff;
}

.qe-rp-switch input:checked + .qe-rp-slider::before {
	transform: translateX(22px);
}

#earning-points .user-role .role-inner{
	display: block;

}

#earning-points .user-role .role-inner label {
	display: flex;
	width: 240px;
}

label.label-with-tooltip.apply-rule-to {
	display: flex;
	width: 240px;

}

.form-table th{
	width: 230px; padding: 15px 10px;
}
label.label-with-tooltip, div.label-with-tooltip {
	display: flex;
	justify-content: space-between;position: relative;
}
.qe-rp-category-overrides-table th {
	padding: 15px 10px;
}

.qe-rp-category-overrides-table .qe-rp-redeem-body {
	background-color: #f6f7f7;
}

.redeem-category-level-overrides-text .description {
	margin-top: 10px;
}

.appearance-table tr td input {
	width: 60%;
}

.qe-rp-dashboard-main .submit input {}
.qe-rp-customer-view .qe-rp-main-content{
	border: 1px solid #dcdcde;
}
.qe-rp-customer-view {
	padding: 20px;
	margin: 0px;
}

.main-wrap-inner .btn-main {
	padding: 9px 15px;
	border-radius: 5px;
	text-decoration: none;
}

.manage-points-form .manage-points-row input,
.manage-points-form .manage-points-row select {
	padding: 3px 10px !important;
}

.manage-points-form .manage-points-row .manage-points-td {
	padding: 10px 0 0 0 !important;
}

.manage-points-form .manage-points-reason {
	margin-top: 10px;
}

.qe-rp-tabs-nav .qe-rp-tab .icon {
	display: flex;
	align-items: center;
}

.qe-rp-tabs-nav .qe-rp-tab .icon svg {
	width: 20px;
	height: 20px;
	color: #000000;
	stroke: #000000;
}

.qe-rp-tabs-nav .qe-rp-tab .icon svg path {
	stroke: #000000;
	fill: #000000;
}

.qe-rp-tabs-nav .qe-rp-tab.setting-tab .icon svg path {
	fill: none;
}

.qe-rp-tabs-nav .setting-tab.qe-rp-active .icon svg path {
	fill: none !important;
}

.qe-rp-tabs-nav .qe-rp-tab.qe-rp-active .icon svg {
	color: #2271b1;
	stroke: #2271b1;
}

.qe-rp-tabs-nav .qe-rp-tab.qe-rp-active .icon svg path {
	stroke: #2271b1;
	fill: #2271b1;
}


.qe-rp-settings-layout .qe-rp-inner-tab {
	display: flex;
	align-items: center;
	gap: 10px;
}

.qe-rp-settings-layout .qe-rp-inner-tab .icon {
	display: flex;
	align-items: center;
}

.qe-rp-settings-layout .qe-rp-inner-tab .icon svg {
	width: 20px;
	height: 20px;
	color: #000000;
	stroke: #000000;
}

.qe-rp-settings-layout .qe-rp-inner-tab .icon svg path {
	stroke: #000000;
	fill: #000000;
}

.qe-rp-settings-layout .qe-rp-inner-tab.qe-rp-inner-active .icon svg {
	width: 20px;
	height: 20px;
	color: #2271b1;
	stroke: #2271b1;
}

.qe-rp-settings-layout .qe-rp-inner-tab.qe-rp-inner-active .icon svg path {
	stroke: #2271b1;
	fill: #2271b1;
}


/* ==============================
	Customer View – Reward Points
	============================== */

.qe-rp-customer-view {
	margin-top: 20px;
}

/* =====================================
	Customer Info – Profile Card
	===================================== */

.qe-rp-customer-info {
	background: #ffffff;
	border: 1px solid #dcdcde;
	border-radius: 10px;
	padding: 20px;
	margin: 24px 0;
	border-radius: 6px;
}

/* Title */
.qe-rp-customer-info h2 {
	margin: 0 0 16px;
	font-size: 16px;
	font-weight: 600;
	padding-bottom: 10px;
	border-bottom: 1px solid #e2e4e7;
}

/* Table reset */
.qe-rp-customer-info .form-table {
	margin: 0;
	width: 100%;
	border-collapse: collapse;
}

/* Row layout */
.qe-rp-customer-info .form-table tr {
	display: grid;
	grid-template-columns: 160px 1fr;
	align-items: center;
	padding: 10px 0;
}

/* Label */
#earning-points .form-table th {
	width: 230px;padding: 15px 10px;
}

.qe-rp-category-overrides-table .qe-rp-redeem-body tr td input{width: 100%;}
tbody#qe-rp-redeem-product-overrides-body{background-color: #f6f7f7;}
tbody#qe-rp-redeem-product-overrides-body tr td input{width: 100%;}
#redemption-points table.form-table tr td input:not([type="radio"]),
.toplevel_page_qe-rp-reward-points table.widefat.striped tr td input:not([type="radio"])  {width: 100%;}
.qe-rp-rules-info{
	margin-top: 8px;
	padding-left: 18px;
	list-style: disc;
}


.qe-rp-rules-info li{
	margin-bottom: 4px; font-size: 13px;
}
.mt-10{
	margin-top: 10px !important;
}

.qe-rp-customer-info .form-table th {
	padding: 0;
	font-weight: 600;
	color: #50575e;
	text-align: left;
}

/* Value */
.qe-rp-customer-info .form-table td {
	padding: 0;
	font-size: 14px;
	color: #1d2327;
	word-break: break-word;
}

/* Spacing between rows */
.qe-rp-customer-info .form-table tr + tr {
	border-top: 1px dashed #e2e4e7;
}

/* Responsive */
@media (max-width: 600px) {
	.qe-rp-customer-info .form-table tr {
		grid-template-columns: 1fr;
		gap: 4px;
	}

	.qe-rp-customer-info .form-table th {
		font-size: 12px;
		color: #646970;
	}
}



/* ==============================
	Reward Points Summary – Cards
	============================== */

.qe-rp-points-summary {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 24px;
	margin: 30px 0;
}

/* Card base */
.qe-rp-balance {
	position: relative;
	background: #ffffff;
	border-radius: 10px;
	padding: 22px 24px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.26);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	overflow: hidden;
}

.qe-rp-balance::before {
	content: '';
	position: absolute;
	inset: 0 0 auto 0;
	height: 5px;
	background: var(--qe-rp-accent);
}

/* Hover effect */
.qe-rp-balance:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 26px rgba(0, 0, 0, 0.1);
}

/* Titles */
.qe-rp-balance h3 {
	margin: 0 0 6px;
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #6b7280;
}

.qe-rp-balance h4 {
	margin: 14px 0 6px;
	font-size: 13px;
	font-weight: 600;
	color: #6b7280;
}

/* Currency value */
.qe-rp-currency {
	font-size: 20px;
	font-weight: 700;
	color: #111827;
}

/* Points value */
.qe-rp-points {
	font-size: 30px;
	font-weight: 800;
	line-height: 1;
}

/* ==============================
	Color Variants
	============================== */

.qe-rp-current {
	--qe-rp-accent: linear-gradient(90deg, #0073aa, #00a0d2);
}

.qe-rp-current .qe-rp-points,
.qe-rp-current .qe-rp-currency {
	color: #0073aa;
}

.qe-rp-used {
	--qe-rp-accent: linear-gradient(90deg, #d63638, #ff6a6a);
}

.qe-rp-used .qe-rp-points,
.qe-rp-used .qe-rp-currency {
	color: #d63638;
}

.qe-rp-expired {
	--qe-rp-accent: linear-gradient(90deg, #646970, #9ca3af);
}

.qe-rp-admin-removed {
	--qe-rp-removed: linear-gradient(90deg, #f17508, #e67e22);
}

.qe-rp-expired .qe-rp-points,
.qe-rp-expired .qe-rp-currency {
	color: #4b5563;
}

/* ==============================
	Responsive tweaks
	============================== */

@media (max-width: 782px) {
	.qe-rp-points-summary {
		gap: 16px;
	}

	.qe-rp-points {
		font-size: 26px;
	}
}

/* =====================================
	Points Activity – Filter Panel
	===================================== */

/* Section heading */
.qe-rp-customer-view h3 {
	margin: 32px 0 12px;
	font-size: 16px;
	font-weight: 600;
}

/* Filter wrapper */
.qe-rp-filters {
	background: #ffffff;
	border: 1px solid #dcdcde;
	border-radius: 10px;
	padding: 16px 18px;
	margin-bottom: 20px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

/* Grid layout */
.qe-rp-filter-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
	align-items: end;
}

/* Individual filter */
.qe-rp-filter-group {
	display: flex;
	flex-direction: column;
}

.qe-rp-filter-group select{max-width: 100%;}

.dataTables_wrapper .dataTables_length select{
	padding: 5px 20px 5px 5px;
}


/* Labels */
.qe-rp-filter-group label {
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-bottom: 6px;
	color: #646970;
}

/* Inputs */
.qe-rp-filter-group select,
.qe-rp-filter-group input[type="date"] {
	height: 36px;
	padding: 0 10px;
	border-radius: 6px;
	border: 1px solid #c3c4c7;
	background: #f6f7f7;
	font-size: 13px;
}

/* Focus state */
.qe-rp-filter-group select:focus,
.qe-rp-filter-group input[type="date"]:focus {
	border-color: #2271b1;
	box-shadow: 0 0 0 1px #2271b1;
	outline: none;
}

/* Compact on mobile */
@media (max-width: 600px) {
	.qe-rp-filter-grid {
		grid-template-columns: 1fr;
	}
}


/* DataTable */
.qe-rp-customer-view .dataTables_wrapper {
	margin-top: 15px;
}


/* Container */
.dataTables_length {
	display: inline-flex;
	align-items: center;
	padding: 6px 10px;
	background: linear-gradient(135deg, #f8f9fb, #ffffff);
	border: 1px solid #e3e6eb;
	border-radius: 10px;
	box-shadow: 0 6px 14px rgba(0, 0, 0, 0.04);
	font-size: 14px;
	margin-bottom: 5px;
}

/* Label */
.dataTables_length label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 500;
	color: #444;
	margin: 0;
}

/* Select */
.dataTables_length select {
	padding: 6px 32px 6px 14px;
	font-size: 14px;
	font-weight: 600;
	color: #1d2327;
	background-color: #fff;
	border: 2px solid transparent;
	border-radius: 999px;
	cursor: pointer;

	/* Remove native UI */
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;

	/* Custom arrow */
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='%235a67d8'%3E%3Cpath d='M3 5l4 4 4-4z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 10px center;

	transition: all 0.25s ease;
}

/* Hover */
.dataTables_length select:hover {
	background-color: #f4f6ff;
}

/* Focus */
.dataTables_length select:focus {
	outline: none;
	border-color: #5a67d8;
	box-shadow: 0 0 0 4px rgba(90, 103, 216, 0.15);
}

/* Entries text */
.dataTables_length span,
.dataTables_length label {
	white-space: nowrap;
}



/* Simple modal style */
#qe-rp-manage-points-modal {
	position: fixed;
	z-index: 9999;
	top: 0; left: 0;
	width: 100%; height: 100%;
	background: rgba(0,0,0,0.5);
	display: flex;
	align-items: center;
	justify-content: center;
}
.qe-rp-popup-wrap {
	background: #fff;
	padding: 20px;
	width: 500px;
	border-radius: 6px;
	box-shadow: 0 0 15px rgba(0,0,0,0.3);
	max-height: 90vh;
	overflow-y: auto;
}


.points-earned {
	color: #15803d; font-weight: 600;
}

.points-redeemed {
	color: #b91c1c; font-weight: 600;
}

.woocommerce-error, .woocommerce-info {
	padding: 1em 2em 1em 3.5em;
	margin: 0 0 2em;
	position: relative;
	background-color: #f6f5f8;
	color: #515151;
	border-top: 3px solid #720eec;
	list-style: none outside;
	width: auto;
	word-wrap: break-word;
	font-size: 16px;
}
.woocommerce-error {
	border-top-color: #b81c23;
}

.woocommerce-error::before, .woocommerce-info::before {
	font-family: WooCommerce;
	content: "\e028";
	content: "\e028"/"";
	display: inline-block;
	position: absolute;
	top: 1em;
	left: 1.5em;
}

.woocommerce-error::before {
	content: "\e016";
	color: #b81c23;
}


.woocommerce-reward-points-thankyou {
	background: #ffffff;
	border-radius: 12px;
	padding: 0 24px;
	margin-top: 20px;
	overflow-x: auto;
}

.woocommerce-reward-points-thankyou h3 {
	margin: 0 0 16px;
	font-size: 18px;
	font-weight: 600;
	color: #1f2937;
}

.woocommerce-table--order-points {
	width: 100%;
	border-collapse: collapse;
	background: transparent;
}

.woocommerce-table--order-points th {
	background: #f8f9fa;
	color: #333;
	font-weight: 600;
	padding: 10px 12px;
	text-align: left;
	border-bottom: 2px solid #e9ecef;
	font-size: 14px;
}

.woocommerce-table--order-points td {
	padding: 10px 12px;
	border-bottom: 1px solid #e9ecef;
	font-size: 14px;
}

.woocommerce-table--order-points tbody tr:hover {
	background: #f8f9fa;
}

.woocommerce-table--order-points tbody tr:last-child td {
	border-bottom: none;
}


/* Pending (processing) */
.woocommerce-table--order-points.pending th,
.woocommerce-table--order-points.pending td {
	background: #fff7ed;
	color: #9a3412;
	border-color: #fed7aa;
}

.pending-points-msg {
	text-align: center;
	font-weight: 600;
}

label.membership_user_class{
	cursor: not-allowed;opacity: 0.5;
}

.top-message{
	display: none;
}


.qe-rp-notice.success {
	background-color: #e6ffed;   /* soft green background */
	border: 2px solid #28a745;   /* bold green border */
	color: #155724;              /* dark green text */
	padding: 12px 16px;
	border-radius: 6px;
	font-weight: 600;
	font-size: 14px;
	box-shadow: 0 2px 6px rgba(0,0,0,0.1);
	margin-bottom: 15px;
	position: relative;
}

.qe-rp-notice.success::before {
	content: "✔";                /* checkmark icon */
	color: #28a745;
	font-weight: bold;
	margin-right: 8px;
}


#qe-rp-manage-points-form select{
	margin-bottom: 0;
}

.qe-rp-error{
	color: red; display: block;
}

.qe-rp-main-content .redeem_wrap{
	margin:0px;
}



/* Tooltip container */
.ui-tooltip,
.arrowshape:after {
	background: #000;
	border: 2px solid #000;
}

/* Tooltip content */
.ui-tooltip {
	padding: 10px 20px;
	color: #fff !important;
	border-radius: 20px;
	font-size: 12px !important;
	background: #000 !important;
	width: 200px !important;
	line-height: 1.3 !important;
	letter-spacing: normal;

}

/* Arrow wrapper */
.arrowshape {
	width: 70px;
	height: 16px;
	overflow: hidden;
	position: absolute;
	left: 50%;
	margin-left: -35px;
	bottom: -16px;
}

/* Top arrow */
.arrowshape.top {
	top: -16px;
	bottom: auto;
}

/* Left aligned arrow */
.arrowshape.left {
	left: 20%;
}

/* Arrow shape */
.arrowshape:after {
	content: "";
	position: absolute;
	left: 20px;
	top: -20px;
	width: 20px;
	height: 20px;
	background: #000;
	border: 2px solid #000;
	transform: rotate(45deg);

}

/* Arrow for top position */
.arrowshape.top:after {
	bottom: -20px;
	top: auto;
}

/* .label-with-tooltip span.qe-rp-error {
	position: absolute;
	bottom: -21px;
} */

.input-parent {
	width: 100%;
}

.qe-rp-admin-removed::before {
	content: '';
	position: absolute;
	inset: 0 0 auto 0;
	height: 5px;
	background: var(--qe-rp-removed);
}
.qe-rp-dashboard-main #qe-rp-range { float:left; margin-right: 10px;}


label.qe-form-error{
	color: #d63638;
	font-size: 12px;
	display: block !important;
	margin-top: 4px;
}



/* Disabled inputs */
.qe-disabled-input {
	pointer-events: none;
	background-color: #f5f5f5 !important;
	cursor: not-allowed;
}

/* Switch UI */
.qe-disabled-input + .qe-rp-slider {
	pointer-events: none;
	opacity: 0.7;
}

/* Disable label clicks */
.qe-disabled label {
	pointer-events: none;
}

/* Row setup */
tr.qe-disabled {
	position: relative;
}

/* Blur + fade content */
tr.qe-disabled th,
tr.qe-disabled td,
tr.qe-disabled td label.qe-disabled-label{
	opacity: 0.7;
	pointer-events: none;
}

.qe-enable-column{
	opacity: 1 !important;
}

/* Keep Pro column clickable */
.qe-pro-col {
	pointer-events: auto;
	text-align: right;
	width: 80px;
}

/* Pro button */
.qe-pro-link {
	display: inline-block;
	background: #344054;
	color: #fff;
	font-size: 11px;
	padding: 4px 10px;
	border-radius: 20px;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.3s ease;
}

/* Hover effect */
.qe-pro-link:hover {
	background: #000;
	color: #fff;
}

/* Optional lock icon */
.qe-pro-link::before {
	content: "🔒 ";
}

/* Hide default checkbox (clean UI) */
.qe-rp-dashboard-container label input[type=checkbox]:disabled {
	opacity: 0;
}
tr.qe-disabled td.qe-pro-col {
	text-align: center;
	opacity: 1;
	pointer-events: auto;
}