@charset "UTF-8";

/* ---------------------------------------------------------------------------
   OneClick WP Hello — Frontend Styles
   Version: 1.0.0
   FontAwesome removed — WhatsApp icon is now inline SVG in the HTML.
   --------------------------------------------------------------------------- */

/* ---------------------------------------------------------------------------
   GDPR checkbox area
   --------------------------------------------------------------------------- */

.wa-hello-gdprchk p {
	font-size: 12px;
	display: inline-block;
	position: relative;
	bottom: 2px;
	opacity: 0.5;
}

.wa-hello-gdprchk input[type="checkbox"] {
	position: relative;
	bottom: 0;
	border: 1px solid #b4b9be;
	background: #fff;
	color: #555;
	clear: none;
	cursor: pointer;
	display: inline-block;
	line-height: 0;
	height: 16px;
	margin: -4px 4px 0 0;
	outline: 0;
	padding: 0 !important;
	text-align: center;
	vertical-align: middle;
	width: 16px;
	min-width: 16px;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
	transition: border-color 0.05s ease-in-out;
}

/* ---------------------------------------------------------------------------
   Disabled button states
   --------------------------------------------------------------------------- */

button.gdpr_wa_button_input:disabled,
button.gdpr_wa_button_input:disabled:hover,
button.gdpr_wa_button_input_nt:disabled,
button.gdpr_wa_button_input_nt:disabled:hover {
	opacity: 0.5 !important;
	cursor: not-allowed;
}

/* ---------------------------------------------------------------------------
   Shortcode button — shared base styles
   --------------------------------------------------------------------------- */

.wa-hello-button,
.gdpr_wa_button_input,
.shortcode_wa_button,
.shortcode_wa_button_nt,
.gdpr_wa_button_input_nt,
.shortcode_gdpr_nt {
	background: #25d366 !important;
	border-radius: 5px !important;
	color: #ffffff !important;
	font-size: 16px !important;
	font-weight: bold !important;
	position: relative !important;
	display: inline-flex !important;
	width: auto !important;
	transition: all 0.3s !important;
	align-items: center !important;
	gap: 8px !important;
	box-shadow: 0 2px 2px 0 rgba(45, 62, 79, 0.3) !important;
	border: none !important;
	cursor: pointer !important;
	text-decoration: none !important;
}

.wa-hello-button,
.gdpr_wa_button_input,
.gdpr_wa_button_input_nt,
.shortcode_gdpr_nt {
	margin: 20px 0;
	padding: 5px 25px !important;
}

/* Button with label text — asymmetric padding is fine (pill shape) */
.shortcode_wa_button {
	padding: 7px 15px !important;
	opacity: 1;
}

/* Icon-only link — equal padding so the element is square and border-radius can form a circle */
.shortcode_wa_button_nt {
	padding: 8px !important;
	opacity: 1;
}

/* SVG icon inside shortcode buttons */
.ocwahello-btn-icon {
	display: inline-flex !important;
	align-items: center !important;
	flex-shrink: 0 !important;
	width: 22px !important;
	height: 22px !important;
}

.ocwahello-btn-icon svg {
	width: 100% !important;
	height: 100% !important;
	fill: #ffffff !important;
}

/* Hover states */
.wa-hello-class:hover,
.wa-hello-button:hover,
.shortcode_wa_button:hover,
.shortcode_wa_button_nt:hover,
.gdpr_wa_button_input:hover,
.gdpr_wa_button_input_nt:hover {
	color: #ffffff !important;
	background: #21bd5b !important;
	transform: translateY(-3px);
	box-shadow: 0 8px 25px -5px rgba(45, 62, 79, 0.3) !important;
	transition: all 300ms ease-in-out !important;
}

/* ---------------------------------------------------------------------------
   Floating button
   --------------------------------------------------------------------------- */

.floating_button {
	position: fixed !important;
	width: 60px !important;
	height: 60px !important;
	bottom: 20px !important;
	background-color: #25d366 !important;
	color: #ffffff !important;
	border-radius: 50px !important;
	text-align: center !important;
	box-shadow: 0 8px 25px -5px rgba(45, 62, 79, 0.3) !important;
	z-index: 9999999 !important;
	text-decoration: none !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
}

/* SVG icon inside floating button */
.floating_button .ocwahello-float-icon {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 32px !important;
	height: 32px !important;
}

.floating_button .ocwahello-float-icon svg {
	width: 100% !important;
	height: 100% !important;
	fill: #ffffff !important;
}

/* ---------------------------------------------------------------------------
   Floating button style variants
   --------------------------------------------------------------------------- */

/* Pill: icon + label text side-by-side */
.floating_button--pill {
	width: auto !important;
	min-width: 60px !important;
	height: 56px !important;
	border-radius: 40px !important;
	padding: 0 20px 0 14px !important;
	gap: 10px !important;
}

.floating_button--pill .ocwahello-float-icon {
	width: 28px !important;
	height: 28px !important;
	flex-shrink: 0 !important;
}

.ocwahello-float-label {
	font-size: 14px !important;
	font-weight: 600 !important;
	white-space: nowrap !important;
	color: #ffffff !important;
	line-height: 1 !important;
}

/* Rounded square: same size but square corners */
.floating_button--square {
	border-radius: 16px !important;
}

/* ---------------------------------------------------------------------------
   Floating button tooltip
   --------------------------------------------------------------------------- */

.label-container {
	position: fixed !important;
	bottom: 30px !important;
	display: flex !important;
	align-items: center !important;
	visibility: hidden;
	opacity: 0;
	z-index: 9999999 !important;
	transition: visibility 0s, opacity 0.25s ease;
	pointer-events: none;
}

.label-text {
	background: #1a1a1a !important;
	color: #ffffff !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	line-height: 1.3 !important;
	padding: 7px 12px !important;
	border-radius: 6px !important;
	white-space: nowrap;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
	display: block !important;
	vertical-align: unset !important;
}

/* Tooltip caret arrows — pure CSS, no icon font needed */
.label-arrow-left,
.label-arrow-right {
	display: block !important;
	flex-shrink: 0;
	width: 0;
	height: 0;
}

.label-arrow-left {
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
	border-right: 7px solid #1a1a1a;
}

.label-arrow-right {
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
	border-left: 7px solid #1a1a1a;
}

/* Show tooltip on floating button hover */
.floating_button:hover + .label-container,
.ocwahello-floating-wrap:hover .label-container {
	visibility: visible !important;
	opacity: 1;
	pointer-events: auto;
}

/* ---------------------------------------------------------------------------
   Mobile adjustments
   --------------------------------------------------------------------------- */

@media only screen and (max-width: 768px) {
	.floating_button {
		bottom: 10px !important;
	}
}

/* ---------------------------------------------------------------------------
   Share button
   --------------------------------------------------------------------------- */

.ocwahello-share-wrap {
	display: block;
	margin: 12px 0;
}

.ocwahello-share-btn {
	text-decoration: none !important;
	display: inline-flex !important;
}

.ocwahello-share-button {
	background: #25d366 !important;
	border-radius: 5px !important;
	color: #ffffff !important;
	font-size: 16px !important;
	font-weight: bold !important;
	position: relative !important;
	display: inline-flex !important;
	align-items: center !important;
	gap: 8px !important;
	width: auto !important;
	padding: 5px 25px !important;
	border: none !important;
	cursor: pointer !important;
	transition: all 0.3s !important;
	box-shadow: 0 2px 2px 0 rgba(45, 62, 79, 0.3) !important;
}

.ocwahello-share-btn:hover .ocwahello-share-button {
	background: #21bd5b !important;
	transform: translateY(-3px);
	box-shadow: 0 8px 25px -5px rgba(45, 62, 79, 0.3) !important;
	transition: all 300ms ease-in-out !important;
}
