/**
* Pricing Table Columns
*
* Column layouts for pricing table
*/
.fl-pricing-table:before,
.fl-pricing-table:after {
	display: table;
	content: " ";
}
.fl-pricing-table:after {
	clear: both;
}
.fl-pricing-table {
	display: flex;
	margin-left: auto;
	margin-right: auto;
}
.fl-pricing-table-wrap {
	flex: 1;
}
.fl-pricing-table [class^='fl-pricing-table-col-'] {
	min-height: 1px;
}
.fl-pricing-table .fl-pricing-table-payment-frequency {
	text-align: center;
	margin: auto;
	padding-bottom: 30px;
}
.fl-pricing-table .fl-button-wrap {
	padding-bottom: 20px;
}
.fl-builder-content .fl-pricing-table .fl-pricing-table-column .fl-button-wrap .fl-button:is(a, button) {
	width: auto;
	margin: 0 15px;
}
.fl-pricing-table .second_option-price {
	display: none;
}
.fl-module-pricing-table .fl-builder-switch {
	position: relative;
	display: inline-block;
	vertical-align: middle;
	width: 60px;
	height: 34px;
}
.fl-module-pricing-table .fl-builder-switch .slider i {
	display: none;
}
.fl-module-pricing-table .fl-builder-switch input {
	opacity: 0;
	width: 0;
	height: 0;
}
.fl-module-pricing-table .slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	transition: .4s;
}
.fl-module-pricing-table .fl-builder-switch .slider:before {
	position: absolute;
	content: "";
	height: 26px;
	width: 26px;
	left: 4px;
	bottom: 4px;
	background-color: #fff;
	transition: .4s;
}
.fl-module-pricing-table .fl-builder-switch input:checked + .slider:before {
	transform: translateX(26px);
}

/* Rounded sliders */
.fl-module-pricing-table .fl-builder-switch .slider.round {
	border-radius: 34px;
}
.fl-module-pricing-table .fl-builder-switch .slider.round:before {
	border-radius: 50%;
}

/**
* Pricing Box Spacing
*
* medium, large, and None
*
* Moved to frontend.css.php
*/

/**
* Pricing Boxes
*
* The actual pricing boxes
*/

.fl-pricing-table .fl-pricing-table-column {
	text-align: center;
	position: relative;
}
.fl-pricing-table .fl-pricing-table-inner-wrap {
	position: relative;
}
.fl-pricing-table .fl-pricing-table-column .fl-pricing-table-price {
	padding: 13px 0;
	position: relative;
	z-index: 2;
	letter-spacing: -2px;
}
.fl-pricing-table .fl-pricing-table-column h2 {
	margin: 0;
	padding: 20px;
}
.fl-pricing-table .fl-pricing-table-column .fl-pricing-table-duration {
	font-size: .44em;
	display: inline-block;
	position: relative;
	bottom: 4px;
	letter-spacing: 0px;
	opacity: 0.85;
}
.fl-pricing-table .fl-pricing-table-features {
	margin: 20px 15px;
	list-style-type: none;
	padding: 0;
}
.fl-pricing-table .fl-pricing-table-features li {
	text-align: left;
	padding: 13px 4px;
	list-style-type: none;
}
.fl-pricing-table .fl-pricing-table-features li:last-child {
	border-bottom: 0;
}
.fl-pricing-table .fl-button:is(a, button) {
	margin: 0 15px;
}
.fl-pricing-table .fl-button:is(a, button) .fl-button-text {
	line-height: 18px;
}

/**
* Pricing Box Borders
*
* Large, Medium, Small -- Moved to frontend.css.php in version 2.5.
*
*/

.fl-pricing-table .fl-pricing-table-features .fl-pricing-table-feature-item {
	display: flex;
	flex-direction: row;
	align-items: center;
}
.fl-pricing-table .fl-pricing-table-features .fl-feature-icon,
.fl-pricing-table .fl-pricing-table-features .fl-feature-text,
.fl-pricing-table .fl-pricing-table-features .fl-builder-tooltip {
	display: inline-block;
}
.fl-pricing-table .fl-pricing-table-features .fl-feature-icon {
	text-align: center;
	width: 1.25em;
}
body:not(.rtl) .fl-pricing-table .fl-pricing-table-features .fl-feature-icon {
	padding-right: 2em;
}
body.rtl .fl-pricing-table .fl-pricing-table-features .fl-feature-icon {
	padding-left: 2em;
}
.fl-pricing-table .fl-feature-text {
	margin-right: auto;
}

/* Tooltips */
@keyframes tooltipFadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes tooltipFadeOut {
    0% { opacity: 1; }
    100% { opacity: 0; }
}

.fl-pricing-table .fl-builder-tooltip-icon {
	color: #999;
	cursor: pointer;
	padding: 5px;
	vertical-align: middle;
	position: static;
}
.fl-pricing-table .fl-builder-tooltip-text, 
.fl-pricing-table .fl-builder-tooltip-legacy .fl-builder-tooltip-text {
	box-sizing: border-box;
	background: #fff;
	border: 1px solid #ccc;
	box-shadow: 0 0 5px #ccc;
	display: none;
	position: absolute;
	padding: 10px 13px;
	font-weight: normal;
	z-index: 1000;
	border-radius: 4px;
	width: 100%;
	left: 0;
}

.fl-pricing-table .fl-builder-tooltip-legacy .fl-builder-tooltip-text {
	transition: opacity 0.6s ease, visibility 0s linear 0.6s;
}

.fl-pricing-table .fl-builder-tooltip-legacy .fl-builder-tooltip-text[style*="display: block"] {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.6s ease;
    animation: tooltipFadeIn 0.6s ease forwards;
}

.fl-pricing-table .fl-builder-tooltip-legacy .fl-builder-tooltip-text[style*="display: none"] {
    opacity: 0;
    visibility: hidden;
    animation: tooltipFadeOut 0.6s ease forwards;
}


/* Tooltip style: Modern */
@keyframes tooltipModernPopIn {
  0% {
    transform: translateX(-50%) translateY(14px) scale(0.92);
  }
  40% {
    transform: translateX(-50%) translateY(-6px) scale(1.06);
  }
  70% {
    transform: translateX(-50%) translateY(2px) scale(0.99);
  }
  100% {
    transform: translateX(-50%) translateY(0) scale(1);
  }
}


@keyframes tooltipModernPopOut {
  0% {
    transform: translateX(-50%) translateY(0) scale(1);
  }
  100% {
    transform: translateX(-50%) translateY(10px) scale(0.95);
  }
}


@keyframes tooltipModernCaretIn {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(6px);
  }
  60% {
    opacity: 1;
    transform: translateX(-50%) translateY(-2px);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}


.fl-pricing-table .fl-builder-tooltip-dark {
	position: relative;
	display: inline-block;
}

.fl-pricing-table .fl-builder-tooltip-dark .fl-builder-tooltip-text {
	top: auto;
	bottom: 100%;
	background: rgba(31, 41, 55, 0.8);  
	width: max-content !important;     
	color: #fff;      
	border: 1px solid rgba(255,255,255,0.06); 
	box-shadow: 0 8px 20px rgba(0,0,0,0.25); 
	border-radius: 8px !important;
	left: 50% !important;
    transform: translateX(-50%);
}

.fl-pricing-table .fl-builder-tooltip-dark .fl-builder-tooltip-text::after {
    content: "";
    position: absolute;
    left: 52%;
    bottom: -5px;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid var(--tooltip-bg, rgba(31,41,55,0.9));
}

.fl-pricing-table .fl-builder-tooltip-dark .fl-builder-tooltip-text[style*="display: block"] {
  animation: tooltipModernPopIn 360ms cubic-bezier(.2,1.0,.32,1.02) both;
  pointer-events: auto;
}
.fl-pricing-table .fl-builder-tooltip-dark .fl-builder-tooltip-text[style*="display: block"]::after {
  animation: tooltipModernCaretIn 320ms cubic-bezier(.2,1.0,.32,1.02) both;
}

/* Tooltip style: Light */
.fl-pricing-table .fl-builder-tooltip-light {
    position: relative;
    display: inline-block;
}

.fl-pricing-table .fl-builder-tooltip-light .fl-builder-tooltip-text::before {
    display: block;
    font-weight: 100;
    font-size: 20px;
    margin: 0 0 5px 0;
    line-height: 1.2;
    color: inherit; 
}

.fl-pricing-table .fl-builder-tooltip-light .fl-builder-tooltip-text {
    position: absolute;
    bottom: calc(100% + 8px); 
    left: 50%;
    transform: translateX(-50%) translateY(8px); 
    background: #ffffff;
    color: #111;
	font-size: 12px;
    padding: 10px 12px;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border: none;
    min-width: 140px;
    max-width: 240px;
    white-space: normal;
    z-index: 9999;
}

.fl-pricing-table .fl-builder-tooltip-light .fl-builder-tooltip-text[style*="display: block"] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
    transition-delay: 0s;
}

.fl-pricing-table .fl-builder-tooltip-light .fl-builder-tooltip-text::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -7px;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 7px solid var(--tooltip-bg, #ffffff);
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.fl-pricing-table .fl-builder-tooltip-light .fl-builder-tooltip-text.show::after,
.fl-pricing-table .fl-builder-tooltip-light .fl-builder-tooltip-text[style*="display: block"]::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
