/*
Theme Name:   Hello Elementor Child
Theme URI:    https://elementor.com/
Description:  Hello Elementor Child Theme
Author:       Kishore
Author URI:   https://elementor.com/
Template:     hello-elementor
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  hello-elementor-child
*/

/* ==========================================================================
   Splash Video
   ========================================================================== */

#gc-splash {
	position: fixed;
	inset: 0;
	z-index: 999999;
	background: #000;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: opacity 0.7s ease;
}

#gc-splash-video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#gc-splash-skip {
	position: absolute;
	bottom: 32px;
	right: 24px;
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.45);
	padding: 9px 22px;
	border-radius: 6px;
	font-size: 14px;
	font-family: inherit;
	letter-spacing: 0.5px;
	cursor: pointer;
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	transition: background 0.2s;
}

#gc-splash-skip:hover {
	background: rgba(255, 255, 255, 0.28);
}

/* ==========================================================================
   PWA Install Banner
   ========================================================================== */

#gc-install-banner {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 999998;
	pointer-events: none;
	animation: gcBannerSlideDown 0.28s ease both;
}

#gc-install-banner[hidden] {
	display: none !important;
}

@keyframes gcBannerSlideDown {
	from { transform: translateY(-100%); opacity: 0; }
	to   { transform: translateY(0);     opacity: 1; }
}

.gc-banner-inner {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 10px 10px 14px;
	background: #fff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
	pointer-events: auto;
}

.gc-banner-icon {
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	overflow: hidden;
	background: var(--e-global-color-primary, #111);
	display: flex;
	align-items: center;
	justify-content: center;
}

.gc-banner-icon img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.gc-banner-content {
	flex: 1 1 auto;
	min-width: 0;
}

.gc-banner-title {
	margin: 0 0 1px;
	font-size: 13px;
	font-weight: 700;
	color: #111;
	line-height: 1.2;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.gc-banner-text {
	margin: 0;
	font-size: 11px;
	color: #888;
	line-height: 1.4;
}

.gc-banner-actions {
	display: flex;
	align-items: center;
	gap: 4px;
	flex: 0 0 auto;
}

.gc-banner-btn {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 8px 18px !important;
	border-radius: 999px !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	white-space: nowrap !important;
	text-decoration: none !important;
	cursor: pointer !important;
	border: none !important;
	letter-spacing: 0 !important;
	transition: opacity 0.2s;
}

.gc-banner-btn[hidden] {
	display: none !important;
}

.gc-banner-btn--primary {
	background: var(--e-global-color-primary, #111) !important;
	color: #fff !important;
}

.gc-banner-btn--primary:hover {
	opacity: 0.85 !important;
	color: #fff !important;
}

#gc-banner-close {
	flex: 0 0 auto !important;
	width: 32px !important;
	height: 32px !important;
	padding: 0 !important;
	border: none !important;
	border-radius: 50% !important;
	background: transparent !important;
	color: #aaa !important;
	font-size: 20px !important;
	font-weight: 300 !important;
	line-height: 1 !important;
	cursor: pointer !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	box-shadow: none !important;
}

#gc-banner-close:hover {
	background: #f0f0f0 !important;
	color: #333 !important;
}

/* ==========================================================================
   PWA iOS Instruction Modal
   ========================================================================== */

#gc-ios-modal {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	padding-bottom: max(20px, env(safe-area-inset-bottom));
	background: rgba(0, 0, 0, 0.55);
	-webkit-overflow-scrolling: touch;
}

#gc-ios-modal[hidden] {
	display: none !important;
}

.gc-modal-box {
	background: #fff;
	border-radius: 20px;
	padding: 24px 20px 20px;
	max-width: 320px;
	width: 100%;
	max-height: 90vh;
	max-height: 90dvh;
	overflow-y: auto;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.gc-modal-title {
	margin: 0 0 18px;
	font-size: 17px;
	font-weight: 700;
	color: #111;
	text-align: center;
}

.gc-modal-steps {
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
}

.gc-modal-steps li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 10px 0;
	border-bottom: 1px solid #f2f2f2;
	font-size: 14px;
	line-height: 1.5;
	color: #333;
}

.gc-modal-steps li:last-child {
	border-bottom: none;
}

.gc-modal-num {
	flex: 0 0 24px;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--e-global-color-primary, #111);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 1px;
}

.gc-modal-btn {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100%;
	min-height: 46px;
	border-radius: 12px !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	cursor: pointer;
	text-decoration: none !important;
	border: none !important;
	letter-spacing: 0 !important;
	box-sizing: border-box;
	transition: opacity 0.2s;
}

/* hidden attribute must win over display:flex !important */
.gc-modal-btn[hidden] {
	display: none !important;
}

.gc-modal-btn--primary {
	background: var(--e-global-color-primary, #111) !important;
	color: #fff !important;
	margin-bottom: 10px;
}

.gc-modal-btn--primary:hover {
	opacity: 0.85 !important;
	color: #fff !important;
}

.gc-modal-btn--close {
	background: #f2f2f2 !important;
	color: #555 !important;
	text-align: center;
}

.gc-modal-btn--close:hover {
	background: #e5e5e5 !important;
	color: #111 !important;
}

/* ==========================================================================
   OneSignal Notification Prompt
   ========================================================================== */

#onesignal-slidedown-dialog {
	font-family: inherit !important;
}

#normal-slidedown {
	background: #ffffff !important;
	border-radius: 14px !important;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2) !important;
	padding: 14px 16px !important;
	max-width: 340px !important;
	margin: 0 auto !important;
}

.slidedown-body {
	display: flex !important;
	align-items: center !important;
	gap: 12px !important;
	padding: 0 0 12px !important;
}

.slidedown-body-icon {
	flex: 0 0 36px !important;
	width: 36px !important;
	height: 36px !important;
}

.slidedown-body-icon .default-icon {
	width: 36px !important;
	height: 36px !important;
	filter: brightness(0) saturate(100%) invert(58%) sepia(54%) saturate(600%) hue-rotate(5deg) brightness(85%) contrast(90%) !important;
}

.slidedown-body-message {
	font-size: 12px !important;
	line-height: 1.5 !important;
	color: #333333 !important;
	margin: 0 !important;
}

.slidedown-footer {
	display: flex !important;
	gap: 8px !important;
	justify-content: flex-end !important;
	padding: 0 !important;
	border-top: 1px solid #eeeeee !important;
	padding-top: 12px !important;
}

#onesignal-slidedown-allow-button {
	background: #8B6914 !important;
	color: #fff !important;
	border: none !important;
	border-radius: 999px !important;
	padding: 7px 18px !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	cursor: pointer !important;
	letter-spacing: 0.3px !important;
}

#onesignal-slidedown-allow-button:hover {
	background: #a07a18 !important;
}

#onesignal-slidedown-cancel-button {
	background: transparent !important;
	color: #555 !important;
	border: 1px solid #dddddd !important;
	border-radius: 999px !important;
	padding: 7px 14px !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	cursor: pointer !important;
}

#onesignal-slidedown-cancel-button:hover {
	border-color: #aaaaaa !important;
	color: #333 !important;
}

@media ( max-width: 480px ) {
	#normal-slidedown {
		max-width: 100% !important;
		border-radius: 14px !important;
	}
}
