/*
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 */

/* Constrain popup form elements within the dialog on large screens */
#elementor-popup-modal-9418 .dialog-message {
    overflow:visible;
}
.custom-select-trigger {
	border-radius: 35px !important;
	background: #ffffff;
}
#planForm .container {
    max-width: 100%;
}

#planForm select,
#planForm input,
#planForm .form-control,
#planForm .form-select {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

#planForm .form-control {
    border-radius: 35px !important;
 
}

/* Custom Select Dropdown - replaces native select to stay inside popup */
.custom-select-wrap {
    position: relative;
    width: 100%;
}

.custom-select-wrap select {
    display: none !important;
}

.custom-select-trigger {
    cursor: pointer;
    user-select: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    padding-right: 2.25rem !important;
}

.custom-select-trigger.placeholder {
    color: #6c757d;
}

.custom-select-dropdown {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1060;
    background: #fff;
    border: 1px solid #ced4da;
    border-top: none;
    border-radius: 0 0 20px 20px;
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 350px;
    overflow-y: auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.custom-select-wrap.open .custom-select-trigger {
    border-radius: 35px 35px 0 0 !important;
}

.custom-select-wrap.open .custom-select-dropdown {
    display: block !important;
}

.custom-select-option {
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    font-size: 1rem;
}

.custom-select-option:hover {
    background-color: #f0f0f0;
}

.custom-select-option.active {
    background-color: #0d6efd;
    color: #fff;
}

.custom-select-option.disabled {
    display: none;
}

/* Success Popup 5933 - custom overlay */
#success-popup-5933 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
}

#success-popup-5933 .success-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
}

#success-popup-5933 .success-popup-content {
    position: relative;
    background: #F4F4F4;
    border-radius: 20px;
    padding: 60px 50px;
    max-width: 600px;
    width: 90%;
    box-shadow: 2px 8px 23px 3px rgba(0, 0, 0, 0.2);
    text-align: center;
}

#success-popup-5933 .success-popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    color: #333;
    text-decoration: none;
    line-height: 1;
}

#success-popup-5933 .success-popup-close:hover {
    color: #000;
}

/* ── Mobile burger ↔ X transform ── */

/* Keep toggle on top of slide-out panel */
.jet-mobile-menu__toggle {
    position: relative;
    z-index: 1001;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

/* Hide the default SVG icon inside toggle-icon */
.jet-mobile-menu__toggle-icon svg {
    display: none !important;
}

/* Top and bottom lines via pseudo-elements */
.jet-mobile-menu__toggle::before,
.jet-mobile-menu__toggle::after {
    content: '';
    display: block;
    position: absolute;
    left: 3px;
    right: 3px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: top 0.3s ease, bottom 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}
.jet-mobile-menu__toggle::before { top: 7px; }
.jet-mobile-menu__toggle::after  { bottom: 7px; }

/* Middle line — repurpose the existing toggle-icon div */
.jet-mobile-menu__toggle-icon {
    position: absolute !important;
    left: 3px;
    right: 3px;
    top: 50%;
    transform: translateY(-50%);
    height: 2px !important;
    width: auto !important;
    background: #fff;
    border-radius: 2px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* X state — when menu is open */
.jet-mobile-menu__toggle[aria-expanded="true"]::before {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}
.jet-mobile-menu__toggle[aria-expanded="true"]::after {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}
.jet-mobile-menu__toggle[aria-expanded="true"] .jet-mobile-menu__toggle-icon {
    opacity: 0;
    transform: translateY(-50%) scaleX(0);
}

/* Slide-out drawer: full height from top */
.jet-mobile-menu__container {
    top: 0 !important;
    height: 100vh !important;
    height: 100dvh !important;
}

/* Hide the old circle-X close button inside the panel */
.jet-mobile-menu__controls .jet-mobile-menu__back,
div.jet-mobile-menu__back {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    visibility: hidden !important;
}
/* Also target the SVG directly in case inline styles override */
.jet-mobile-menu__back svg.subcribe-close {
    display: none !important;
}
