/* MP Push Notification Frontend Styles - Isolated to prevent conflicts */

/* Reset and namespace all styles */
.mp-push-widget,
.mp-push-widget *,
#mp-push-debug-widget,
#mp-push-debug-widget * {
    box-sizing: border-box !important;
}

/* Debug Widget - Completely isolated */
#mp-push-debug-widget {
    position: fixed !important;
    top: 32px !important;
    right: 20px !important;
    background: #ffffff !important;
    border: 2px solid #0073aa !important;
    padding: 15px !important;
    border-radius: 8px !important;
    z-index: 999999 !important;
    max-width: 350px !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 13px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2) !important;
    line-height: 1.4 !important;
    color: #333 !important;
}

#mp-push-debug-widget div {
    margin-bottom: 10px !important;
}

#mp-push-debug-widget strong {
    font-weight: bold !important;
    display: inline !important;
}

#mp-push-debug-widget button {
    background: #666 !important;
    color: white !important;
    border: none !important;
    padding: 8px 12px !important;
    border-radius: 4px !important;
    font-size: 12px !important;
    cursor: pointer !important;
    margin-right: 5px !important;
    display: inline-block !important;
}

#mp-push-debug-widget a {
    background: #0073aa !important;
    color: white !important;
    text-decoration: none !important;
    padding: 8px 12px !important;
    border-radius: 4px !important;
    font-size: 12px !important;
    margin-right: 5px !important;
    display: inline-block !important;
}

/* Simple subscription button - no conflicts */
.mp-push-subscribe-btn {
    background: #0073aa !important;
    color: white !important;
    padding: 10px 16px !important;
    border: none !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    cursor: pointer !important;
    text-decoration: none !important;
    display: inline-block !important;
    font-family: inherit !important;
    line-height: 1.2 !important;
}

.mp-push-subscribe-btn:hover {
    background: #005a87 !important;
    color: white !important;
    text-decoration: none !important;
}

.mp-push-subscribe-btn.subscribed {
    background: #46b450 !important;
}

/* Basic widget container */
.mp-push-widget {
    background: #f9f9f9 !important;
    border: 1px solid #ddd !important;
    padding: 15px !important;
    margin: 15px 0 !important;
    border-radius: 4px !important;
    text-align: center !important;
    font-family: inherit !important;
}

/* Toast notifications */
.mp-push-toast {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    background: #333 !important;
    color: white !important;
    padding: 12px 16px !important;
    border-radius: 4px !important;
    z-index: 999998 !important;
    font-size: 14px !important;
    max-width: 300px !important;
}

.mp-push-toast.success {
    background: #46b450 !important;
}

.mp-push-toast.error {
    background: #dc3232 !important;
}

/* Permission modal */
.mp-push-permission-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0,0,0,0.5) !important;
    z-index: 999997 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.mp-push-permission-content {
    background: white !important;
    padding: 30px !important;
    border-radius: 8px !important;
    max-width: 400px !important;
    text-align: center !important;
    margin: 20px !important;
}

.mp-push-permission-btn {
    padding: 10px 20px !important;
    margin: 5px !important;
    border: none !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    font-size: 14px !important;
}

.mp-push-permission-btn.allow {
    background: #0073aa !important;
    color: white !important;
}

.mp-push-permission-btn.deny {
    background: #666 !important;
    color: white !important;
}
