/**
 * c2w Admin Layout Overlay (queen theme)
 * Brings the chance2win-theme c2w-rp-* design system to the queen theme's
 * admin templates (reporting, add-team, printing, site-setting, my-account etc.)
 * Pure CSS — no markup changes required. Single brand color (no palette system).
 */

/* ============================================================
   Design tokens — queen brand red, navy ink
   ============================================================ */
body.woocommerce-account,
body[class*="page-template-"]{
	--rp-primary:#d94441;
	--rp-navy:#0a1f44;
	--rp-paper:#f5f7fb;
	--rp-line:#e5e9f2;
	--rp-muted:#6b7a99;
	--rp-ink:#0a1f44;
	--rp-ink-2:#22335c;
	--rp-card-shadow:0 1px 2px rgba(10,31,68,.04);
	--rp-card-shadow-hover:0 6px 20px rgba(10,31,68,.08);
	--rp-primary-shadow:0 4px 14px rgba(217,68,65,.18);
	--rp-primary-glow:0 0 0 3px rgba(217,68,65,.14);
}

/* Apply admin font + container only inside admin templates */
body.woocommerce-account .container1,
body.page-template-reporting-page .container1,
body.page-template-reporting-page-php .container1,
body.page-template-add-team .container1,
body.page-template-add-team-php .container1,
body.page-template-printing .container1,
body.page-template-printing-php .container1,
body.page-template-site-setting .container1,
body.page-template-site-setting-php .container1,
body.page-template-site-settings .container1,
body.page-template-site-settings-php .container1,
body.page-template-addticketpackages .container1,
body.page-template-addticketpackages-php .container1,
body.page-template-tickets-per-basket .container1,
body.page-template-tickets-per-basket-php .container1,
body.page-template-pick-winner .container1,
body.page-template-pick-winner-php .container1,
body.page-template-add-manual-order .container1,
body.page-template-add-manual-order-php .container1,
body.page-template-selected-winners .container1,
body.page-template-selected-winners-php .container1,
body.page-template-all-winners .container1,
body.page-template-all-winners-php .container1,
body.page-template-charity-dashboard .container1,
body.page-template-charity-dashboard-php .container1,
body.page-template-payment-processor-page .container1,
body.page-template-payment-processor-page-php .container1,
body.page-template-queen-winners .container1,
body.page-template-queen-winners-php .container1,
body.page-template-email-winners .container1,
body.page-template-email-winners-php .container1,
.report-page12,
.report-page12 .container1{
	font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif !important;
	max-width:1280px !important;
	width:100% !important;
	margin:0 auto !important;
	padding:24px !important;
	background:transparent !important;
	box-sizing:border-box !important;
}

/* ============================================================
   Back-to-Dashboard pill
   ============================================================ */
.report-page12 .back-arrow-img,
.container1 > .back-arrow-img,
.ticket-printing-section > .back-arrow-img,
body[class*="page-template-"] .back-arrow-img.c2w-back-dashboard,
body.woocommerce-account .back-arrow-img{
	display:block !important;
	margin:0 0 16px !important;
	padding:0 !important;
	background:transparent !important;
	border:none !important;
	box-shadow:none !important;
}
.report-page12 .back-arrow-img a,
.container1 > .back-arrow-img a,
.ticket-printing-section > .back-arrow-img a,
body[class*="page-template-"] .back-arrow-img.c2w-back-dashboard a,
body.woocommerce-account .back-arrow-img a{
	display:inline-flex !important;
	align-items:center !important;
	gap:8px !important;
	text-decoration:none !important;
	font:600 12.5px/1 -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif !important;
	color:var(--rp-navy) !important;
	background:#fff !important;
	border:1px solid var(--rp-line) !important;
	border-radius:8px !important;
	padding:9px 14px !important;
	transition:background .15s,border-color .15s;
	letter-spacing:0 !important;
	text-transform:none !important;
}
.report-page12 .back-arrow-img a:hover,
.container1 > .back-arrow-img a:hover,
.ticket-printing-section > .back-arrow-img a:hover,
body[class*="page-template-"] .back-arrow-img.c2w-back-dashboard a:hover,
body.woocommerce-account .back-arrow-img a:hover{
	background:var(--rp-paper) !important;
	border-color:#cbd2e0 !important;
}
.report-page12 .back-arrow-img img,
.container1 > .back-arrow-img img,
.ticket-printing-section > .back-arrow-img img,
body[class*="page-template-"] .back-arrow-img.c2w-back-dashboard img,
body.woocommerce-account .back-arrow-img img{
	width:14px !important;
	height:14px !important;
	object-fit:contain !important;
	margin:0 !important;
	display:inline-block !important;
}
.report-page12 .back-arrow-img i.fa,
.container1 > .back-arrow-img i.fa{
	font-size:12px !important;
	color:var(--rp-navy) !important;
}

/* ============================================================
   Page hero (h1.heading + subtitle)
   ============================================================ */
body[class*="page-template-"] h1.heading,
.ticket-printing-section h1.heading,
.report-page12 h1.heading,
.container1 > h1.heading{
	font:800 26px/1.1 -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif !important;
	color:var(--rp-navy) !important;
	text-align:left !important;
	text-transform:none !important;
	letter-spacing:0 !important;
	margin:0 0 6px !important;
	padding:0 !important;
	background:transparent !important;
}
.printing-subtitle,
.reporting-subtitle,
.page-subtitle,
.c2w-rp-subtitle{
	font:400 13px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif !important;
	color:var(--rp-muted) !important;
	margin:0 0 18px !important;
	text-align:left !important;
	padding:0 !important;
	background:transparent !important;
}

/* Undo theme h2 center/capitalize hijack inside admin */
body[class*="page-template-"] .container1 h2,
body[class*="page-template-"] .report-page12 h2,
body.woocommerce-account .woocommerce-MyAccount-content h2{
	text-align:left !important;
	text-transform:none !important;
	letter-spacing:0 !important;
}

/* ============================================================
   Generic admin card / panel
   ============================================================ */
.c2w-rp-card,
.report-page12 .pree-data,
.report-page12 .printing-category,
.report-page12 #printing-div,
.report-page12 #reporting-page,
.container1 .form-card,
.container1 .panel-card{
	background:#fff !important;
	border:1px solid var(--rp-line) !important;
	border-radius:12px !important;
	padding:22px !important;
	box-shadow:var(--rp-card-shadow) !important;
	margin:0 0 18px !important;
}

.printing-paragraph,
.report-page12 p.printing-paragraph,
.container1 p.intro,
.report-page12 p.intro{
	font:500 13px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif !important;
	color:var(--rp-ink-2) !important;
	margin:0 0 16px !important;
	text-align:left !important;
	padding:10px 14px !important;
	background:var(--rp-paper) !important;
	border:1px solid var(--rp-line) !important;
	border-radius:8px !important;
	border-left:3px solid var(--rp-primary) !important;
}

/* ============================================================
   Tab pills (.my-account-grid > .c2w-tab-link)
   ============================================================ */
.my-account-grid{
	display:grid !important;
	grid-template-columns:1fr 1fr !important;
	gap:14px !important;
	margin:0 0 18px !important;
}
.my-account-grid > .c2w-tab-link{
	display:block !important;
	text-decoration:none !important;
	background:#fff !important;
	border:1px solid var(--rp-line) !important;
	border-radius:12px !important;
	padding:0 !important;
	position:relative !important;
	overflow:hidden !important;
	box-shadow:var(--rp-card-shadow) !important;
	transition:border-color .15s,box-shadow .15s,transform .15s;
}
.my-account-grid > .c2w-tab-link:hover{
	border-color:#cbd2e0 !important;
	box-shadow:var(--rp-card-shadow-hover) !important;
	transform:translateY(-1px);
}
.my-account-grid > .c2w-tab-link.active{
	border-color:var(--rp-primary) !important;
	box-shadow:0 6px 20px rgba(217,68,65,.15) !important;
}
.my-account-grid > .c2w-tab-link::before{
	content:"" !important;display:block !important;
	position:absolute !important;left:0;right:0;top:0;height:3px !important;
	background:transparent !important;
	transition:background .15s;
}
.my-account-grid > .c2w-tab-link.active::before{background:var(--rp-primary) !important}
.my-account-grid .my-grid-event{
	padding:22px !important;background:transparent !important;border:none !important;border-radius:0 !important;
}
.my-account-grid .my-grid-event > .row{
	display:flex !important;align-items:center !important;gap:14px !important;margin:0 !important;
}
.my-account-grid .icon-Event{
	width:100% !important;flex:1 !important;text-align:left !important;padding:0 !important;
	position:relative !important;
}
.my-account-grid .icon-Event h2{
	font:700 15px/1.2 -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif !important;
	color:var(--rp-navy) !important;
	margin:0 !important;padding:0 !important;
	text-align:left !important;text-transform:none !important;letter-spacing:0 !important;
}
.my-account-grid .icon-Event img.myDIV{
	width:14px !important;height:14px !important;
	vertical-align:middle !important;margin-left:6px !important;opacity:.5 !important;
}
.my-account-grid .icon-Event .hide{
	display:none !important;
	position:absolute !important;top:24px !important;left:0 !important;
	width:max-content !important;max-width:240px !important;z-index:9 !important;
	background:var(--rp-navy) !important;color:#fff !important;
	padding:6px 10px !important;border-radius:6px !important;
	font:500 11px/1.4 -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif !important;
}
.my-account-grid .icon-Event img.myDIV:hover + .hide{display:block !important}

/* ============================================================
   Form layout — .date-input as filter bar
   ============================================================ */
.date-input{
	display:grid !important;
	grid-template-columns:repeat(auto-fit,minmax(170px,1fr)) !important;
	gap:12px !important;
	align-items:end !important;
	margin:0 !important;
	background:transparent !important;
	border:none !important;
	padding:0 !important;
}
.date-input .dates{
	text-align:left !important;
	margin:0 !important;padding:0 !important;background:transparent !important;
	display:flex !important;flex-direction:column !important;gap:6px !important;
	border:none !important;float:none !important;width:auto !important;
}
.date-input .dates label{
	font:600 10px/1 -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif !important;
	text-transform:uppercase !important;letter-spacing:.1em !important;
	color:var(--rp-muted) !important;margin:0 !important;padding:0 !important;
}
.date-input .date-flex{
	position:relative !important;display:block !important;
	background:transparent !important;border:none !important;padding:0 !important;
}
.date-input .date-flex img{display:none !important}
.date-input input[type="date"],
.date-input input[type="text"],
.date-input input[type="number"],
.date-input input[type="email"],
.date-input select,
.date-input textarea{
	appearance:none !important;-webkit-appearance:none !important;
	background:var(--rp-paper) !important;
	border:1px solid var(--rp-line) !important;
	border-radius:8px !important;
	padding:9px 12px !important;
	font:500 13px/1.2 -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif !important;
	color:var(--rp-ink) !important;
	width:100% !important;min-height:38px !important;
	margin:0 !important;box-shadow:none !important;
}
.date-input select{
	background-image:linear-gradient(45deg,transparent 50%,var(--rp-muted) 50%),linear-gradient(135deg,var(--rp-muted) 50%,transparent 50%) !important;
	background-position:calc(100% - 16px) 50%,calc(100% - 11px) 50% !important;
	background-size:5px 5px,5px 5px !important;
	background-repeat:no-repeat !important;
	padding-right:32px !important;
}
.date-input input:focus,.date-input select:focus,.date-input textarea:focus{
	outline:none !important;
	border-color:var(--rp-primary) !important;
	box-shadow:var(--rp-primary-glow) !important;
}

/* Primary button inside admin form rows */
.date-input button,
.date-input .tablinks,
.report-page12 .button-shadow,
.container1 .c2w-btn-primary{
	appearance:none !important;
	background:var(--rp-primary) !important;
	color:#fff !important;
	border:1px solid var(--rp-primary) !important;
	border-radius:8px !important;
	padding:10px 16px !important;
	font:600 12.5px/1 -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif !important;
	cursor:pointer !important;
	letter-spacing:.02em !important;
	min-height:38px !important;
	box-shadow:var(--rp-primary-shadow) !important;
	width:100% !important;
	text-transform:none !important;
	margin:0 !important;
}
.date-input button:hover,
.date-input .tablinks:hover,
.report-page12 .button-shadow:hover{filter:brightness(.95)}

/* ============================================================
   WooCommerce My Account chrome
   ============================================================ */
body.woocommerce-account .woocommerce{
	max-width:1280px !important;
	margin:0 auto !important;
	padding:24px !important;
	font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif !important;
	display:grid !important;
	grid-template-columns:240px 1fr !important;
	gap:20px !important;
	align-items:start !important;
}

/* Sidebar nav */
body.woocommerce-account nav.woocommerce-MyAccount-navigation{
	float:none !important;
	width:100% !important;
	margin:0 !important;padding:0 !important;
	background:#fff !important;
	border:1px solid var(--rp-line) !important;
	border-radius:12px !important;
	box-shadow:var(--rp-card-shadow) !important;
	overflow:hidden !important;
}
body.woocommerce-account nav.woocommerce-MyAccount-navigation ul{
	list-style:none !important;margin:0 !important;padding:8px !important;
}
body.woocommerce-account nav.woocommerce-MyAccount-navigation ul li{
	width:100% !important;margin:0 !important;border:none !important;position:relative;
}
body.woocommerce-account nav.woocommerce-MyAccount-navigation li a{
	display:flex !important;align-items:center !important;gap:8px !important;
	padding:10px 12px !important;
	margin:2px 0 !important;
	border:1px solid transparent !important;
	border-radius:8px !important;
	font:600 13px/1.2 -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif !important;
	color:var(--rp-ink-2) !important;
	text-decoration:none !important;
	letter-spacing:0 !important;
	text-transform:capitalize !important;
	background:transparent !important;
	transition:background .15s,border-color .15s,color .15s;
}
body.woocommerce-account nav.woocommerce-MyAccount-navigation li a::before{
	content:none !important;
	display:none !important;
}
body.woocommerce-account nav.woocommerce-MyAccount-navigation li a:hover{
	background:var(--rp-paper) !important;
	border-color:var(--rp-line) !important;
	color:var(--rp-navy) !important;
}
body.woocommerce-account nav.woocommerce-MyAccount-navigation li.is-active a{
	background:var(--rp-primary) !important;
	border-color:var(--rp-primary) !important;
	color:#fff !important;
	box-shadow:var(--rp-primary-shadow) !important;
}

/* Content panel */
body.woocommerce-account .woocommerce-MyAccount-content{
	float:none !important;
	width:100% !important;
	background:#fff !important;
	border:1px solid var(--rp-line) !important;
	border-radius:12px !important;
	box-shadow:var(--rp-card-shadow) !important;
	padding:24px !important;
	margin:0 !important;
}
body.woocommerce-account .woocommerce-MyAccount-content > p{
	color:var(--rp-ink-2) !important;
	font:400 14px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif !important;
}
body.woocommerce-account .woocommerce-MyAccount-content h2,
body.woocommerce-account .woocommerce-MyAccount-content h3{
	font:700 18px/1.2 -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif !important;
	color:var(--rp-navy) !important;
	text-align:left !important;
	text-transform:none !important;
	letter-spacing:0 !important;
	margin:0 0 14px !important;
}

/* Orders / address / downloads tables */
body.woocommerce-account table.shop_table,
body.woocommerce-account table.woocommerce-orders-table,
body.woocommerce-account table.account-orders-table{
	width:100% !important;
	border-collapse:separate !important;
	border-spacing:0 !important;
	border:1px solid var(--rp-line) !important;
	border-radius:10px !important;
	overflow:hidden !important;
	font:500 13px/1.4 -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif !important;
	margin:0 0 18px !important;
}
body.woocommerce-account table.shop_table thead th{
	background:var(--rp-paper) !important;
	color:var(--rp-muted) !important;
	font:600 11px/1.2 -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif !important;
	text-transform:uppercase !important;
	letter-spacing:.1em !important;
	padding:12px 14px !important;
	border:none !important;
	border-bottom:1px solid var(--rp-line) !important;
	text-align:left !important;
}
body.woocommerce-account table.shop_table tbody td,
body.woocommerce-account table.shop_table tbody th{
	padding:12px 14px !important;
	border:none !important;
	border-bottom:1px solid var(--rp-line) !important;
	color:var(--rp-ink) !important;
	background:#fff !important;
	font-weight:500 !important;
}
body.woocommerce-account table.shop_table tbody tr:last-child td,
body.woocommerce-account table.shop_table tbody tr:last-child th{border-bottom:none !important}

/* Buttons inside woo content */
body.woocommerce-account .woocommerce-MyAccount-content .button,
body.woocommerce-account .woocommerce-MyAccount-content button[type="submit"],
body.woocommerce-account .woocommerce-MyAccount-content input[type="submit"]{
	appearance:none !important;
	background:var(--rp-primary) !important;
	color:#fff !important;
	border:1px solid var(--rp-primary) !important;
	border-radius:8px !important;
	padding:10px 16px !important;
	font:600 12.5px/1 -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif !important;
	cursor:pointer !important;
	letter-spacing:.02em !important;
	min-height:38px !important;
	text-transform:none !important;
	box-shadow:var(--rp-primary-shadow) !important;
	text-decoration:none !important;
	display:inline-flex !important;
	align-items:center !important;
	justify-content:center !important;
	gap:6px !important;
}
body.woocommerce-account .woocommerce-MyAccount-content .button:hover,
body.woocommerce-account .woocommerce-MyAccount-content button[type="submit"]:hover,
body.woocommerce-account .woocommerce-MyAccount-content input[type="submit"]:hover{
	filter:brightness(.95);
	color:#fff !important;
}
body.woocommerce-account .woocommerce-MyAccount-content a.button.view{
	background:#fff !important;
	color:var(--rp-navy) !important;
	border:1px solid var(--rp-line) !important;
	box-shadow:none !important;
}
body.woocommerce-account .woocommerce-MyAccount-content a.button.view:hover{
	background:var(--rp-paper) !important;
	color:var(--rp-navy) !important;
}

/* Form fields inside woo content */
body.woocommerce-account .woocommerce-MyAccount-content input[type="text"],
body.woocommerce-account .woocommerce-MyAccount-content input[type="email"],
body.woocommerce-account .woocommerce-MyAccount-content input[type="tel"],
body.woocommerce-account .woocommerce-MyAccount-content input[type="password"],
body.woocommerce-account .woocommerce-MyAccount-content input[type="number"],
body.woocommerce-account .woocommerce-MyAccount-content textarea,
body.woocommerce-account .woocommerce-MyAccount-content select{
	appearance:none !important;-webkit-appearance:none !important;
	background:var(--rp-paper) !important;
	border:1px solid var(--rp-line) !important;
	border-radius:8px !important;
	padding:10px 12px !important;
	font:500 13px/1.4 -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif !important;
	color:var(--rp-ink) !important;
	width:100% !important;min-height:40px !important;
	box-shadow:none !important;
}
body.woocommerce-account .woocommerce-MyAccount-content label{
	font:600 12px/1.4 -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif !important;
	color:var(--rp-ink-2) !important;
	margin:0 0 6px !important;
	display:block !important;
}
body.woocommerce-account .woocommerce-MyAccount-content fieldset{
	border:1px solid var(--rp-line) !important;
	border-radius:10px !important;
	padding:18px !important;
	margin:0 0 18px !important;
	background:#fff !important;
}
body.woocommerce-account .woocommerce-MyAccount-content fieldset legend{
	font:700 14px/1.2 -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif !important;
	color:var(--rp-navy) !important;
	padding:0 8px !important;
}

/* Pagination */
body.woocommerce-account .woocommerce-pagination a{
	background:#fff !important;
	color:var(--rp-navy) !important;
	border:1px solid var(--rp-line) !important;
	border-radius:8px !important;
	padding:8px 14px !important;
	font:600 12px/1 -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif !important;
	text-decoration:none !important;
	margin:0 4px !important;
}
body.woocommerce-account .woocommerce-pagination a:hover{
	background:var(--rp-paper) !important;border-color:#cbd2e0 !important;
}

/* Notices */
body.woocommerce-account .woocommerce-info,
body.woocommerce-account .woocommerce-message,
body.woocommerce-account .woocommerce-error{
	background:#fff !important;
	color:var(--rp-ink) !important;
	border:1px solid var(--rp-line) !important;
	border-left:3px solid var(--rp-primary) !important;
	border-radius:8px !important;
	padding:12px 16px !important;
	margin:0 0 16px !important;
	font:500 13px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif !important;
	box-shadow:var(--rp-card-shadow) !important;
}
body.woocommerce-account .woocommerce-message{border-left-color:#0f9d58 !important}
body.woocommerce-account .woocommerce-error{border-left-color:#b91c1c !important}

/* ============================================================
   Option B fallback — admin pages whose markup uses .container
   instead of .container1 still get the chrome treatment.
   Scoped tightly to admin page-template body classes so we don't
   leak into shop / checkout / public pages.
   ============================================================ */
body.page-template-pick-winner .container,
body.page-template-pick-winner-php .container,
body.page-template-payment-processor-page .container,
body.page-template-payment-processor-page-php .container,
body.page-template-addticketpackages .container,
body.page-template-addticketpackages-php .container,
body.page-template-tickets-per-basket .container,
body.page-template-tickets-per-basket-php .container,
body.page-template-tickets-per-basket .section,
body.page-template-tickets-per-basket-php .section,
body.page-template-my-cards .container,
body.page-template-my-cards-php .container,
body.page-template-draw-cards .container,
body.page-template-draw-cards-php .container,
body.page-template-all-winners .container,
body.page-template-all-winners-php .container{
	font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif !important;
	max-width:1280px !important;
	width:100% !important;
	margin:0 auto !important;
	padding:24px !important;
	background:transparent !important;
	box-sizing:border-box !important;
}

/* Generic h1 hero — when a template forgot to add class="heading" */
body[class*="page-template-"] .container1 > h1:first-of-type,
body[class*="page-template-"] .container1 > h1:first-child,
body[class*="page-template-"] .report-page12 > h1:first-of-type,
body[class*="page-template-"] .report-page12 > h1:first-child,
body.page-template-pick-winner .container > h1:first-of-type,
body.page-template-payment-processor-page .container > h1:first-of-type,
body.page-template-addticketpackages .container > h1:first-of-type,
body.page-template-tickets-per-basket .container > h1:first-of-type,
body.page-template-my-cards .container > h1:first-of-type,
body.page-template-all-winners .container > h1:first-of-type,
body.page-template-tickets-per-basket h1.rtg-title-main,
body.page-template-tickets-per-basket-php h1.rtg-title-main,
body.page-template-tickets-per-basket h1.rtg-title.text-center,
body.page-template-tickets-per-basket-php h1.rtg-title.text-center{
	font:800 26px/1.1 -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif !important;
	color:var(--rp-navy) !important;
	text-align:left !important;
	text-transform:none !important;
	letter-spacing:0 !important;
	margin:0 0 18px !important;
	padding:0 !important;
	background:transparent !important;
}

body[class*="page-template-"] .container1 > h1.rtg-title-main,
body[class*="page-template-"] .container1 > h1.rtg-title,
body[class*="page-template-"] .container1 > h1.heading-title,
body[class*="page-template-"] .container > h1.rtg-title-main,
body[class*="page-template-"] .container > h1.rtg-title,
body[class*="page-template-"] .container > h1.heading-title,
body[class*="page-template-"] .container .center-title h1.rtg-title-main,
body[class*="page-template-"] .container .center-title h1.rtg-title,
body[class*="page-template-"] .container1 .center-title h1.rtg-title-main,
body[class*="page-template-"] .container1 .center-title h1.rtg-title{
	font:800 26px/1.1 -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif !important;
	color:var(--rp-navy) !important;
	text-align:left !important;
	text-transform:none !important;
	letter-spacing:0 !important;
	margin:0 0 18px !important;
	padding:0 !important;
	background:transparent !important;
}
body[class*="page-template-"] .container .center-title,
body[class*="page-template-"] .container1 .center-title{
	text-align:left !important;
}

/* ============================================================
   Responsive
   ============================================================ */
@media(max-width:1024px){
	body.woocommerce-account .woocommerce{
		grid-template-columns:1fr !important;
		gap:14px !important;
		padding:18px !important;
	}
	.my-account-grid{grid-template-columns:1fr !important}
}
@media(max-width:768px){
	.report-page12,
	.report-page12 .container1,
	body[class*="page-template-"] .container1{
		padding:16px !important;
	}
	body[class*="page-template-"] h1.heading,
	.ticket-printing-section h1.heading{font-size:22px !important}
	.date-input{grid-template-columns:1fr !important}

	body.woocommerce-account table.shop_table,
	body.woocommerce-account table.shop_table tbody,
	body.woocommerce-account table.shop_table tbody tr,
	body.woocommerce-account table.shop_table tbody td{
		display:block !important;width:100% !important;
	}
	body.woocommerce-account table.shop_table thead{display:none !important}
	body.woocommerce-account table.shop_table tbody tr{
		border:1px solid var(--rp-line) !important;
		border-radius:10px !important;
		margin-bottom:10px !important;
		padding:10px !important;
		background:#fff !important;
	}
	body.woocommerce-account table.shop_table tbody td{
		border:none !important;
		padding:6px 0 !important;
		display:flex !important;justify-content:space-between !important;gap:12px !important;
	}
	body.woocommerce-account table.shop_table tbody td::before{
		content:attr(data-title) !important;
		font:600 11px/1 -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif !important;
		text-transform:uppercase !important;letter-spacing:.1em !important;
		color:var(--rp-muted) !important;
	}
}
@media(max-width:560px){
	body.woocommerce-account .woocommerce-MyAccount-content{padding:18px !important}
	body[class*="page-template-"] h1.heading{font-size:20px !important}
}

/* ============================================================
   My Cards page — mobile responsive
   ============================================================ */
@media(max-width:768px){
	/* Stack the 3 columns vertically; kill the 60% width constraint */
	body.page-template-my-cards .adim9.allfieldsets,
	body.page-template-my-cards-php .adim9.allfieldsets{
		width:100% !important;
		flex-direction:column !important;
		gap:20px !important;
	}
	body.page-template-my-cards .shuffle-card-sec,
	body.page-template-my-cards-php .shuffle-card-sec,
	body.page-template-my-cards .start-card-sec,
	body.page-template-my-cards-php .start-card-sec,
	body.page-template-my-cards .drawn-cards,
	body.page-template-my-cards-php .drawn-cards{
		width:100% !important;
	}
	/* Let the description box grow — remove fixed height that caused overflow */
	body.page-template-my-cards .heading-text-inner,
	body.page-template-my-cards-php .heading-text-inner{
		height:auto !important;
		min-height:0 !important;
	}
	/* Scale down the card images */
	body.page-template-my-cards .shuffle-card-sec img,
	body.page-template-my-cards-php .shuffle-card-sec img,
	body.page-template-my-cards .start-card-sec img,
	body.page-template-my-cards-php .start-card-sec img,
	body.page-template-my-cards .drawn-cards img,
	body.page-template-my-cards-php .drawn-cards img{
		width:60% !important;
		max-width:220px !important;
	}
	/* Full-width buttons so they never overflow */
	body.page-template-my-cards .shuffle-card-sec .bu1,
	body.page-template-my-cards-php .shuffle-card-sec .bu1,
	body.page-template-my-cards .start-card-sec .bu1,
	body.page-template-my-cards-php .start-card-sec .bu1,
	body.page-template-my-cards .drawn-cards .bu1,
	body.page-template-my-cards-php .drawn-cards .bu1{
		display:block !important;
		width:100% !important;
		font-size:16px !important;
		box-sizing:border-box !important;
		text-align:center !important;
	}
}
