/* Elementor-specific front-end compatibility styles */

/* General styling for protected content */
.fmm-restricted-content {
    position: relative;
    border: 1px solid #e5e5e5;
    background-color: #f7f7f7;
    padding: 20px;
    margin-bottom: 20px;
}

.fmm-restricted-content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.fmm-restricted-message {
    padding: 30px 20px;
    background-color: #ffffff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.fmm-message-content {
    margin-bottom: 15px;
}

.fmm-message-content p {
    margin-bottom: 15px;
    font-size: 16px;
    color: #555;
}

.fmm-upgrade-button-wrapper {
    margin-top: 20px;
}

.fmm-upgrade-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #0073aa;
    color: #ffffff !important;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.fmm-upgrade-button:hover {
    background-color: #005a87;
    text-decoration: none;
    color: #ffffff !important;
}

/* Specific fixes for Elementor widgets */
.elementor-widget.fmm-restricted-widget {
    position: relative;
}

/* Fix for columns inside restricted sections */
.fmm-restricted-content .elementor-column {
    width: 100% !important;
}

/* Ensure upgrade button works well with all themes */
.fmm-upgrade-button:focus {
    outline: none;
    color: #ffffff !important;
}

/* Make sure the restriction message is properly centered and has good spacing */
.elementor-section.fmm-restricted-content {
    padding: 40px 20px;
}

/* Fix for Elementor containers */
.elementor-container.fmm-restricted-content {
    padding: 20px;
}

/* Ensure proper overlay handling */
.fmm-restricted-content > .elementor-background-overlay {
    opacity: 0.1 !important;
}

/* Default styles to ensure proper display */
.elementor-widget.fmm-elementor-widget {
  /* Default styles to ensure proper display */
}

