

#elementor-panel-category-magical .elementor-element {
	min-height: 87px;
	position: relative;
}

#elementor-panel-category-magical .elementor-element:before {
    position: absolute;
    right: 6px;
    top: 6px;
    content: "mg";
    opacity: 0.4;
    font-size: 10px;
}
#elementor-panel-category-magical .elementor-element:hover:before {
    color: rgb(196, 1, 1);
}
.elementor-control-mgpl_gopro .elementor-panel-heading-title.elementor-section-title,
.elementor-control-mgpl_gopro i {
    color: red;
}

/* Conditional Display Pro Controls Styling */
.mg-pro-control {
    position: relative;
    opacity: 0.9;
    pointer-events: none;
}

.mg-pro-control .elementor-control-title:after {
    font-family: eicons;
    content: "\e98f";
    color: #ed4b82;
    margin-left: 5px;
    font-size: 14px;
}

.mg-pro-control .elementor-control-input-wrapper:after {
    font-family: eicons;
    content: "\e98f";
    color: #ed4b82;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    font-size: 14px;
    background: rgba(255,255,255,0.7);
    padding: 2px;
    border-radius: 3px;
}

.eicon-lock {
    color: #ed4b82;
    margin-left: 5px;
}

.mg-pro-notice {
    margin-top: 10px;
    pointer-events: auto;
}

.mg-pro-notice a {
    pointer-events: auto;
}
.elementor-control-mg_conditional_display_condition .elementor-control-input-wrapper:after {
    font-family: eicons;
    content: "\e98f";
    color: #ed4b82;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    pointer-events: none;
    background: rgba(255,255,255,0.7);
    padding: 2px;
    border-radius: 3px;
}
/* GSAP Animation Mode Text Buttons */

.elementor-control-mg_gsap_mode label.elementor-choices-label.elementor-control-unit-1.tooltip-target {
    min-width: 80px;
    text-align: center;
}
.mg-gsap-text-icon:before {
    font-family: inherit !important;
    font-style: normal !important;
    font-weight: 500 !important;
    font-size: 12px !important;
}
.mg-gsap-preset-text:before {
    content: "Preset" !important;
}
.mg-gsap-custom-text:before {
    content: "Custom" !important;
}

/* GSAP Editor Notice */
.mg-gsap-editor-notice {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    line-height: 1.4;
}
.mg-gsap-editor-notice i {
    flex-shrink: 0;
    margin-top: 2px;
}
.elementor-control-mg_gsap_editor_notice .elementor-panel-alert {
    margin: 0 0 10px 0;
}

/* GSAP Preview Button Styling */
.elementor-control-mg_gsap_preview_animation .elementor-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: #fff;
    font-weight: 500;
    transition: all 0.3s ease;
}
.elementor-control-mg_gsap_preview_animation .elementor-button:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* GSAP Editor Mode - Ensure animated elements stay visible in editor */
.elementor-editor-active .mg-gsap-animated,
.elementor-editor-preview .mg-gsap-animated {
    visibility: visible !important;
    opacity: 1 !important;
}

/* ===== GSAP Pro Feature Styling ===== */

/* Pro control styling */
.mg-gsap-pro-control {
    position: relative;
    opacity: 0.7;
}

.mg-gsap-pro-control:not(.elementor-control-type-raw_html) {
    pointer-events: none;
}

.mg-gsap-pro-control::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.3);
    z-index: 10;
    pointer-events: none;
}

/* Pro icon on custom mode button */
.mg-gsap-pro-icon::after {
    content: " 🔒";
    font-size: 10px;
}

/* Pro Notice Box */
.mg-gsap-pro-notice-wrapper {
    margin: 0 0 15px 0;
}

.mg-gsap-pro-notice {
    background: linear-gradient(135deg, #f8f4ff 0%, #fff4f8 100%);
    border: 1px solid #e8d4f0;
    border-left: 4px solid #ed4b82;
    border-radius: 4px;
    padding: 15px;
    text-align: center;
}

.mg-gsap-pro-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, #ed4b82 0%, #9b59b6 100%);
    color: #fff;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 10px;
}

.mg-gsap-pro-badge i {
    font-size: 10px;
}

.mg-gsap-pro-notice p {
    margin: 0 0 8px 0;
    font-size: 12px;
    color: #555;
    line-height: 1.4;
}

.mg-gsap-pro-notice p strong {
    color: #333;
    font-size: 13px;
}

.mg-gsap-upgrade-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #ed4b82 0%, #9b59b6 100%) !important;
    border: none !important;
    color: #fff !important;
    padding: 8px 16px !important;
    border-radius: 4px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    margin-top: 5px;
}

.mg-gsap-upgrade-btn:hover {
    background: linear-gradient(135deg, #9b59b6 0%, #ed4b82 100%) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(237, 75, 130, 0.4);
    color: #fff !important;
}

.mg-gsap-upgrade-btn i {
    font-size: 11px;
}

/* Pro label in dropdown options */
.elementor-control-mg_gsap_animation_category option[value="text"]:not(:checked),
.elementor-control-mg_gsap_animation_category option[value="image"]:not(:checked),
.elementor-control-mg_gsap_animation_category option[value="background"]:not(:checked),
.elementor-control-mg_gsap_animation_category option[value="advanced"]:not(:checked) {
    color: #999;
}

/* ===== GSAP Feature Notice (New Feature Announcement) ===== */
#mg-gsap-feature-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 12px 15px;
    margin: 0;
    position: relative;
    animation: mgGsapSlideDown 0.4s ease-out;
}

@keyframes mgGsapSlideDown {
    from { opacity: 0; transform: translateY(-100%); }
    to { opacity: 1; transform: translateY(0); }
}

#mg-gsap-feature-notice .mg-gsap-notice-icon {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

#mg-gsap-feature-notice .mg-gsap-notice-icon i {
    font-size: 18px;
    color: #fff;
}

#mg-gsap-feature-notice .mg-gsap-notice-content {
    flex: 1;
    min-width: 0;
}

#mg-gsap-feature-notice .mg-gsap-notice-content h4 {
    margin: 0 0 2px 0;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
}

#mg-gsap-feature-notice .mg-gsap-notice-content p {
    margin: 0;
    font-size: 11px;
    color: rgba(255,255,255,0.9);
    line-height: 1.3;
}

#mg-gsap-feature-notice .mg-gsap-notice-content strong {
    color: #fff;
}

#mg-gsap-feature-notice .mg-gsap-notice-close {
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    padding: 6px;
    line-height: 1;
    transition: color 0.2s;
    flex-shrink: 0;
}

#mg-gsap-feature-notice .mg-gsap-notice-close:hover {
    color: #fff;
}

#mg-gsap-feature-notice .mg-gsap-notice-close i {
    font-size: 14px;
}