/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.2
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
/* 	wp dashoard dropdown ul li padding */
/* 	wp dashoard dropdown ul li padding */

/* GetPaid / GeoDirectory checkout — two columns + sticky order summary */
.hello-gp-checkout-row {
	align-items: flex-start;
}

@media (min-width: 992px) {
	.hello-gp-checkout-sidebar-inner {
		position: sticky;
		top: 1rem;
		z-index: 2;
	}
}

.hello-gp-checkout-sidebar .getpaid-payment-form-submit {
	width: 100%;
}

.hello-gp-checkout-main .hello-gp-step-payment .getpaid-gateways {
	margin-top: 0 !important;
}

/* Payment form: collapsible order summary toggle */
.getpaid-checkout-section--order .getpaid-checkout-toggle-icon {
	display: inline-block;
	transition: transform 0.2s ease;
}

.getpaid-checkout-section--order .btn.collapsed .getpaid-checkout-toggle-icon {
	transform: rotate( -90deg );
}

/* Left column: accordion step headings (white, minimal chrome) */
.getpaid-payment-form--checkout-steps .getpaid-step-panel__heading-wrap {
	border: none;
	background: transparent;
}

.getpaid-payment-form--checkout-steps .getpaid-step-panel__heading {
	width: 100%;
	text-align: left;
	padding: 1rem 1.25rem;
	margin: 0;
	background: #fff !important;
	border: none !important;
	border-radius: 0;
	font-weight: 600;
	font-size: 1rem;
	line-height: 1.4;
	color: #1a1a1a;
	cursor: pointer;
	box-shadow: none;
}

.getpaid-payment-form--checkout-steps .getpaid-step-panel__heading:hover:not( :disabled ) {
	background: #fff !important;
}

.getpaid-payment-form--checkout-steps .getpaid-step-panel__heading:disabled,
.getpaid-payment-form--checkout-steps .getpaid-step-panel__heading.is-locked:disabled {
	opacity: 0.45;
	cursor: not-allowed;
	pointer-events: none;
}

.getpaid-payment-form--checkout-steps .getpaid-step-panel__body {
	background: #fff;
}

.getpaid-payment-form--checkout-steps .getpaid-checkout-accordion {
	--bs-accordion-border-width: 0;
	background: transparent;
}

/* Clean white surfaces — no grey boxes / heavy borders on payment form */
.getpaid-payment-form .getpaid-payment-form-items-cart {
	border: none !important;
	background: #fff;
	box-shadow: none;
}

.getpaid-payment-form .getpaid-payment-form-items-cart-header {
	background-color: #fff !important;
	border: none !important;
	border-bottom: 1px solid rgba( 0, 0, 0, 0.07 ) !important;
}

.getpaid-payment-form .getpaid-payment-form-items-cart-item {
	border-color: rgba( 0, 0, 0, 0.07 ) !important;
}

.getpaid-payment-form .getpaid-gateway-description,
.getpaid-payment-form .getpaid-gateway-description.bg-light {
	background-color: #fff !important;
	border: none !important;
}

.getpaid-payment-form .getpaid-discount-field {
	border: none !important;
	background: transparent !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.getpaid-payment-form .getpaid-checkout-section,
.getpaid-payment-form .getpaid-checkout-steps {
	background: #fff;
}

.getpaid-payment-form .getpaid-gateways {
	background: transparent;
}

/* Sticky right column (order summary + pay) while page scrolls */
.getpaid-payment-form-layout__right {
	align-self: flex-start;
	position: sticky;
	top: calc( 1rem + var( --wp-admin--admin-bar--height, 0px ) + env( safe-area-inset-top, 0px ) );
	z-index: 5;
}

@media (min-width: 992px) {
	.getpaid-payment-form-layout__right {
		top: calc( 1.5rem + var( --wp-admin--admin-bar--height, 0px ) + env( safe-area-inset-top, 0px ) );
	}
}

/* Invoice meta — subscription renewal notice */
.getpaid-invoice-subscription-notice {
	margin-top: 1.25rem;
	padding: 1rem 1.15rem;
	border: 1px solid rgba( 0, 0, 0, 0.1 );
	background: #f8f8f8;
	color: #333;
	font-size: 0.95rem;
	line-height: 1.5;
}

.getpaid-invoice-subscription-notice p {
	margin: 0;
}

/* Receipt success message — stacked, readable copy */
.wpinv-receipt .wpinv-receipt-success-alert {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	padding: 1.25rem 1.35rem;
	margin-bottom: 1.5rem;
	line-height: 1.55;
}

.wpinv-receipt .wpinv-receipt-success-alert > i {
	flex: 0 0 auto;
	margin-top: 0.15rem;
	font-size: 1.25rem;
}

.wpinv-receipt .wpinv-receipt-success-message {
	flex: 1 1 auto;
	min-width: 0;
	max-width: 100%;
}

.wpinv-receipt .wpinv-receipt-success-message p {
	display: block;
	width: 100%;
	margin: 0 0 0.85rem;
	font-size: 1rem;
	line-height: 1.55;
}

.wpinv-receipt .wpinv-receipt-success-message p:first-child {
	font-size: 1.1rem;
	font-weight: 600;
	line-height: 1.4;
}

.wpinv-receipt .wpinv-receipt-success-message p:last-child {
	margin-bottom: 0;
}